Rohit Grover
576c2fa65e
add failed to accommodate.
9 years ago
Rohit Grover
e5145420ba
add a comment header for setupService
9 years ago
Rohit Grover
077bbb23f7
add a static setupService to create a singleton URIBeaconService object.
9 years ago
Rohit Grover
a148eacb88
minor cosmetic change
9 years ago
Rohit Grover
19400a1122
add TxPowerLevelsChar
9 years ago
Rohit Grover
8b1e9e9581
add APIs to set power modes.
9 years ago
Rohit Grover
27b5712479
minor cosmetic changes.
9 years ago
Rohit Grover
eb77b38a11
add enums for TXPowerModes_t
9 years ago
Rohit Grover
35d665a4e0
reanme to effectivePower.
...
Also switch to int8_t for power. (oops)
9 years ago
Rohit Grover
d45e2b3166
add comment block for setFlags.
9 years ago
Rohit Grover
4f8178b02f
add a comment block for the constructor.
9 years ago
Rohit Grover
3572c9c47f
add a beaconPeriod parameter for the constructor
9 years ago
Rohit Grover
e5ccaa669c
minor typo
9 years ago
Rohit Grover
2138c544d1
mark OndataWritten() as protected
9 years ago
Rohit Grover
fa14fe1c46
remove some un-necessary header files from BLEDevice.h
9 years ago
Rohit Grover
178df43c3f
add beaconPeriodCharacteristic
9 years ago
Rohit Grover
bdccaff73a
adding a few comments.
9 years ago
Rohit Grover
97b23858bf
add flags characteristic to GATT server.
9 years ago
Rohit Grover
f582743345
restore uriData characteristic upon receiving a write if locked.
9 years ago
Rohit Grover
18ffab58d1
preparing for txPower characteristic
9 years ago
Rohit Grover
1df22179e9
initialize beaconPeriod to 1000ms automatically
9 years ago
Rohit Grover
d1bc90fa0b
trivial cosmetic change.
9 years ago
Rohit Grover
6d5a5e36b6
add support for onDataWritten for the URIValue characteristic.
9 years ago
Rohit Grover
4708c024fa
add a couple of characteristics
9 years ago
Rohit Grover
29a046faa8
extracted a setup().
9 years ago
Rohit Grover
fc8788b540
MAX_SIZEOF_SERVICE_DATA_PAYLOAD to 27
9 years ago
Rohit Grover
4eb693065c
remove un-necessary comment.
9 years ago
Rohit Grover
2cef97c117
rename to MAX_SIZEOF_SERVICE_DATA_PAYLOAD
9 years ago
Rohit Grover
e387fac6c2
remove legacy commented code from battery service.
9 years ago
Rohit Grover
84c99e724c
remove un-necessary comment block.
9 years ago
Rohit Grover
5e083c2fce
use ble.setTxPower()
9 years ago
Rohit Grover
07b87a6412
add default arguments to the constructor for URIBeacon; and minor renames.
9 years ago
Rohit Grover
2586b27aaf
add copyURLCheckingForSuffixes()
9 years ago
Rohit Grover
3ea0f708fd
add encodePrefix()
9 years ago
Rohit Grover
74849dd90b
fleshed out encodeURIData to detect prefixes.
9 years ago
Rohit Grover
dca3451587
initial commit for URIBeacon Service.
9 years ago
Rohit Grover
e8e3a7aa2b
add Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS()
9 years ago
Rohit Grover
80f4417363
Release 0.2.4
...
=============
Features
~~~~~~~~
* Introduce GattServer::initializeGattDatabase(). This populates the GATT
server with added services.
* Add helper funcs: Gap::MSEC_TO_GAP_DURATION_UNITS() to ease setting up of
connection parameters.
* Enhance connectionEventCallback() to take in peer addr information.
* Minor cleanup of a few public API classes and removal of unnecessary header-file includes.
Bugfixes
~~~~~~~~
* Increase GAP_ADV_PARAMS_INTERVAL_MAX to 0x4000. This addresses mbedmicro/BLE_API/issues/2.
Compatibility
~~~~~~~~~~~~~
One new API has been added (GattServer::initializeGattDatabase()) and
Gap::ConnectionEventCallback_t has been extended. Applications depending on
these should be updated.
9 years ago
Rohit Grover
3d8441e204
minor cleanup of public API classes.
9 years ago
Rohit Grover
d0dbe29f35
minor white space diffs
9 years ago
Rohit Grover
4234515948
Minor re-organization of member functions and their access privileges.
...
Make most APIs private, and accessible only to BLEDevice.
Add a private copy constructor and assignment operator.
9 years ago
Rohit Grover
a795389b7d
remove un-necessary header files from Gap.h
9 years ago
Rohit Grover
5b8a2fb5fe
making APIs within GattServer private; but adding friend BLEDevice.
9 years ago
Rohit Grover
d93ad344b3
Merge pull request #5 from xiongyihui/master
...
make the library less dependent on the mbed.h header
9 years ago
Rohit Grover
505deafd7c
white space diffs.
9 years ago
Rohit Grover
ae371eaf9d
add a missing header include.
9 years ago
Rohit Grover
0ee78c2c46
bringing in minor improvements from CSR's BLEDevice.h
9 years ago
Rohit Grover
503f8d5297
introduce GattServer::initializeGattDatabase()
9 years ago
Yihui Xiong
814fa47061
Update UARTService.h
9 years ago
Rohit Grover
d9fecf9209
add helper funcs: MSEC_TO_GAP_DURATION_UNITS
9 years ago