Rohit Grover
|
0c36eed3be
|
merge GattCharacteristic.cpp into the .hpp file
|
9 years ago |
Rohit Grover
|
79da06fc34
|
remove duplication in the constructor for GattCharacteristic
|
9 years ago |
Rohit Grover
|
ff353f7e02
|
reverting to BLEDevice (from BLEPeripheral)
|
9 years ago |
Rohit Grover
|
ff67cda3b8
|
rename BLEDevice to BLEPeripheral
|
9 years ago |
Rohit Grover
|
b9bb38f054
|
updating comment header for waitForEvent()
|
9 years ago |
Rohit Grover
|
efa48841c5
|
add waitForEvent() to BLE_API
|
9 years ago |
Rohit Grover
|
df364c1833
|
slowly switching to astyle code formatting as recommended by the team
|
9 years ago |
Rohit Grover
|
72b9fd2c77
|
slowly switching to astyle code formatting as recommended by the team
|
9 years ago |
Rohit Grover
|
820e159489
|
white space changes to move away from 80-column rule
|
9 years ago |
Rohit Grover
|
d67d20c55e
|
add updateCharacteristicValue()
|
9 years ago |
Rohit Grover
|
435e999162
|
add support for accessing GAP's state
|
9 years ago |
Rohit Grover
|
d9b07e95ef
|
add BLEDevice::addService()
|
9 years ago |
Rohit Grover
|
5a7e159b7b
|
white space diffs; bringing comments on the same line as declarations
|
9 years ago |
Rohit Grover
|
e013eff2f0
|
make GattService members private; add accessors
|
9 years ago |
Rohit Grover
|
0307439450
|
simplified GattService constructor to take a UUID directly
This removes the duplicate constructors taking differing forms of UUID.
|
9 years ago |
Rohit Grover
|
34dc30209f
|
white space diffs
|
9 years ago |
Rohit Grover
|
e98f1e8b49
|
switch to using LongUUID_t and ShortUUID_t
|
9 years ago |
Rohit Grover
|
d5e2df438b
|
replace 16 with UUID::LENGTH_OF_LONG_UUID
|
9 years ago |
Rohit Grover
|
978bddfd7c
|
white space diffs
|
9 years ago |
Rohit Grover
|
ecac50aea0
|
adding BLEDevice APIs for GATTServer callbacks
|
9 years ago |
Rohit Grover
|
0c91cc32bf
|
add Gap Callbacks
|
9 years ago |
Rohit Grover
|
e01f6f5daf
|
long UUIDs tested; work fine. there was a minor need for byte-swapping
|
9 years ago |
Rohit Grover
|
9c2849d88e
|
rename "value" member of UUID as shortUUID
|
9 years ago |
Rohit Grover
|
abed1b0557
|
UUID constructors should zero out relative part of baseUUID
|
9 years ago |
Rohit Grover
|
6e1746fdba
|
GapAdvertisingData::addData() should use > for bounds checking of payload
|
9 years ago |
Rohit Grover
|
28c1ca8830
|
use initializer list for constructor of GapAdvertisingData
|
9 years ago |
Rohit Grover
|
c1044da0ec
|
make members of GattCharacteristic private
|
9 years ago |
Rohit Grover
|
a7e64ea461
|
make members of UUID private; add accessors()
|
9 years ago |
Rohit Grover
|
95af932316
|
remove comment about TODO for 128bit characteristic uuids
|
9 years ago |
Rohit Grover
|
97e78fc44a
|
constructor for GattService should take a constant
|
9 years ago |
Rohit Grover
|
76ac2a5291
|
remove need for UUID::update()
|
9 years ago |
Rohit Grover
|
e1ae67ab8c
|
GattCharacteristic now uses UUID instead of uint16_t
|
9 years ago |
Rohit Grover
|
73e104a011
|
use initializer list in the constructor for GattCharacteristic
|
9 years ago |
Rohit Grover
|
efee45e600
|
define LENGTH_OF_LONG_UUID as a constant
|
9 years ago |
Rohit Grover
|
f7e4300039
|
simplify the api for accumulating advertising payload
|
9 years ago |
Rohit Grover
|
b347ecd31f
|
mark BLEDevice::setAdvertisingData() as deprecated
|
9 years ago |
Rohit Grover
|
05a4e99f5d
|
adding const to the "data" member of GapAdvertisingData::addData()
|
9 years ago |
Rohit Grover
|
ac72488c70
|
simplification of the API used to setup GAP advertising
|
9 years ago |
Rohit Grover
|
6b06ea38c1
|
minor improvement to the API
|
9 years ago |
Rohit Grover
|
bed1843e86
|
fix a documentation error regarding advertising interval
|
9 years ago |
Rohit Grover
|
440699c764
|
white space cleanup
|
9 years ago |
Rohit Grover
|
c1a43c52ad
|
add const to parameter accepted by startAdvertising()
|
9 years ago |
Rohit Grover
|
4480ea28e7
|
Use composition to hide the transport functionality behind an interface object.
The underlying target BLE library must implement the function which creates this object.
|
9 years ago |
Rohit Grover
|
c4e1f43b1a
|
adding use of consts for GAP related apis
|
9 years ago |
Rohit Grover
|
abfb51ae4b
|
white space diffs
|
9 years ago |
Rohit Grover
|
3541e6ff6f
|
add consts to the declaration of BLEDevice::setAddress()
|
9 years ago |
Rohit Grover
|
789bd6f6c0
|
add a trivial comment header block for setAddress
|
9 years ago |
Rohit Grover
|
417f2f58c2
|
move the inline definitions for GAP API out of the BLEDevice class
|
9 years ago |
Rohit Grover
|
8380959a31
|
enhancing the interface for BLEDevice to absorb GAP API.
This will allow applications to avoid having to call getGAP() or
similar before operating on underlying services.
|
9 years ago |
Rohit Grover
|
a9cf898a4b
|
white space diffs; generated using uncrustify
|
9 years ago |