Rohit Grover
|
6694c00b40
|
Merge branch 'uribeacon' into develop
|
2014-11-28 13:57:03 +00:00 |
Rohit Grover
|
49103aff55
|
minor change to a check.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
617a754082
|
rename to configuredSuccessfully()
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
3536e5a2b2
|
moving back to the constructor. This brings it in line with other services.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
1a0593dc7c
|
switch to useTxPowerLevel()
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
5cd5f364ea
|
minor cosmetic use of reinterpret_cast.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
584e149985
|
enable resetCharacteristic.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
149a413573
|
some more variable renames.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
f79f6b8ba7
|
variable renames.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
fdfc899372
|
add a comment header.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
1ef561977e
|
minor re-ordering of methods.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
b4e8ed204f
|
rename setup as configure()
and setupService() as setup()
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
09a38f1e57
|
comment headers and minor white space diffs.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
576c2fa65e
|
add failed to accommodate.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
e5145420ba
|
add a comment header for setupService
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
077bbb23f7
|
add a static setupService to create a singleton URIBeaconService object.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
a148eacb88
|
minor cosmetic change
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
19400a1122
|
add TxPowerLevelsChar
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
8b1e9e9581
|
add APIs to set power modes.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
27b5712479
|
minor cosmetic changes.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
eb77b38a11
|
add enums for TXPowerModes_t
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
35d665a4e0
|
reanme to effectivePower.
Also switch to int8_t for power. (oops)
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
d45e2b3166
|
add comment block for setFlags.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
4f8178b02f
|
add a comment block for the constructor.
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
3572c9c47f
|
add a beaconPeriod parameter for the constructor
|
2014-11-28 13:57:02 +00:00 |
Rohit Grover
|
e5ccaa669c
|
minor typo
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
2138c544d1
|
mark OndataWritten() as protected
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
fa14fe1c46
|
remove some un-necessary header files from BLEDevice.h
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
178df43c3f
|
add beaconPeriodCharacteristic
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
bdccaff73a
|
adding a few comments.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
97b23858bf
|
add flags characteristic to GATT server.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
f582743345
|
restore uriData characteristic upon receiving a write if locked.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
18ffab58d1
|
preparing for txPower characteristic
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
1df22179e9
|
initialize beaconPeriod to 1000ms automatically
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
d1bc90fa0b
|
trivial cosmetic change.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
6d5a5e36b6
|
add support for onDataWritten for the URIValue characteristic.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
4708c024fa
|
add a couple of characteristics
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
29a046faa8
|
extracted a setup().
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
fc8788b540
|
MAX_SIZEOF_SERVICE_DATA_PAYLOAD to 27
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
4eb693065c
|
remove un-necessary comment.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
2cef97c117
|
rename to MAX_SIZEOF_SERVICE_DATA_PAYLOAD
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
e387fac6c2
|
remove legacy commented code from battery service.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
84c99e724c
|
remove un-necessary comment block.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
5e083c2fce
|
use ble.setTxPower()
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
07b87a6412
|
add default arguments to the constructor for URIBeacon; and minor renames.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
2586b27aaf
|
add copyURLCheckingForSuffixes()
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
3ea0f708fd
|
add encodePrefix()
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
74849dd90b
|
fleshed out encodeURIData to detect prefixes.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
dca3451587
|
initial commit for URIBeacon Service.
|
2014-11-28 13:57:01 +00:00 |
Rohit Grover
|
e8e3a7aa2b
|
add Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS()
|
2014-11-28 13:56:11 +00:00 |