Rohit Grover
|
fd4b9e57cb
|
connection and disconnection callbacks need to take a connection handle
|
2014-07-10 12:12:06 +01:00 |
|
Rohit Grover
|
8c0e55c918
|
add accumulateScanResponse() to BLEDevice.h
|
2014-07-09 09:08:53 +01:00 |
|
Rohit Grover
|
ddfdb06026
|
move the declaration of setAdvertisingPayload within BLEDevice.h
|
2014-07-09 09:07:37 +01:00 |
|
Rohit Grover
|
e6f85b5495
|
minor rename of a class variable to help readability
|
2014-07-08 11:12:19 +01:00 |
|
Rohit Grover
|
1d1a471636
|
accumulateAdvertisingPayload(flags) should allow for combinations of flags
|
2014-07-04 11:27:20 +01:00 |
|
Rohit Grover
|
33da94e934
|
switch onDataSent() to become independent of attribute handle
|
2014-07-03 09:59:53 +01:00 |
|
Rohit Grover
|
e69eff0a2d
|
add SetAdvertisingPayload() to allow applications to dynamically update the advertising payload
|
2014-07-03 09:57:05 +01:00 |
|
Rohit Grover
|
46ec9f1365
|
undoing the negative effects of a previous use of uncrustify
|
2014-07-02 09:08:48 +01:00 |
|
Rohit Grover
|
a0b9857682
|
GapAdvertisingData::addFlags() should take a uint8_t bitmask instead of a 'Flags'
|
2014-06-19 14:09:37 +01:00 |
|
Rohit Grover
|
f80ce69ccb
|
add comment headers to the commonly used functions of BLE_API
|
2014-06-13 13:07:46 +01:00 |
|
Rohit Grover
|
906d8cc00d
|
add BLEDevice::readCharacteristicValue()
|
2014-06-13 11:22:03 +01:00 |
|
Rohit Grover
|
36bc3dc050
|
merging a cherry pick for improving constructor for GattCharacteristic
|
2014-06-11 15:03:35 +01:00 |
|
Rohit Grover
|
c4099f2946
|
GattService constructor now takes a statically initialized array of pointers to Characteristics
|
2014-06-11 14:42:08 +01:00 |
|
Rohit Grover
|
e4f916a198
|
use const reference in constructor for GattService
|
2014-06-11 14:14:04 +01:00 |
|
Rohit Grover
|
a052a39065
|
white space diffs to align formatting with our coding standards
|
2014-06-11 14:12:14 +01:00 |
|
Rohit Grover
|
3f065486fe
|
white space diffs
|
2014-06-11 13:54:00 +01:00 |
|
Rohit Grover
|
a0bd121a73
|
add accessor for GattCharacteristic::_value
|
2014-06-11 13:53:16 +01:00 |
|
Rohit Grover
|
e41d5ce9cd
|
introduce GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NONE
|
2014-06-11 13:52:40 +01:00 |
|
Rohit Grover
|
95aacbbb53
|
improve the constructor for GattCharacteristic to make better use of default arguments
|
2014-06-11 10:32:08 +01:00 |
|
Rohit Grover
|
cdbe0ff5ee
|
introduce _value as a member for GattCharacteristic
|
2014-06-11 10:12:54 +01:00 |
|
Rohit Grover
|
37d26efc99
|
rename GattCharacteristic::minLength to ::initialLength
|
2014-06-11 08:39:01 +01:00 |
|
Rohit Grover
|
0c36eed3be
|
merge GattCharacteristic.cpp into the .hpp file
|
2014-06-11 08:32:18 +01:00 |
|
Rohit Grover
|
79da06fc34
|
remove duplication in the constructor for GattCharacteristic
|
2014-06-11 08:28:14 +01:00 |
|
Rohit Grover
|
ff353f7e02
|
reverting to BLEDevice (from BLEPeripheral)
|
2014-06-10 13:14:16 +01:00 |
|
Rohit Grover
|
ff67cda3b8
|
rename BLEDevice to BLEPeripheral
|
2014-06-10 09:34:17 +01:00 |
|
Rohit Grover
|
b9bb38f054
|
updating comment header for waitForEvent()
|
2014-06-10 09:26:32 +01:00 |
|
Rohit Grover
|
efa48841c5
|
add waitForEvent() to BLE_API
|
2014-06-10 08:55:33 +01:00 |
|
Rohit Grover
|
df364c1833
|
slowly switching to astyle code formatting as recommended by the team
|
2014-06-09 08:34:47 +01:00 |
|
Rohit Grover
|
72b9fd2c77
|
slowly switching to astyle code formatting as recommended by the team
|
2014-06-09 08:29:22 +01:00 |
|
Rohit Grover
|
820e159489
|
white space changes to move away from 80-column rule
|
2014-06-06 14:14:46 +01:00 |
|
Rohit Grover
|
d67d20c55e
|
add updateCharacteristicValue()
|
2014-06-06 11:30:56 +01:00 |
|
Rohit Grover
|
435e999162
|
add support for accessing GAP's state
|
2014-06-06 11:17:37 +01:00 |
|
Rohit Grover
|
d9b07e95ef
|
add BLEDevice::addService()
|
2014-06-06 11:08:32 +01:00 |
|
Rohit Grover
|
5a7e159b7b
|
white space diffs; bringing comments on the same line as declarations
|
2014-06-05 15:24:22 +01:00 |
|
Rohit Grover
|
e013eff2f0
|
make GattService members private; add accessors
|
2014-06-05 11:38:21 +01:00 |
|
Rohit Grover
|
0307439450
|
simplified GattService constructor to take a UUID directly
This removes the duplicate constructors taking differing forms of UUID.
|
2014-06-05 10:36:50 +01:00 |
|
Rohit Grover
|
34dc30209f
|
white space diffs
|
2014-06-05 08:52:20 +01:00 |
|
Rohit Grover
|
e98f1e8b49
|
switch to using LongUUID_t and ShortUUID_t
|
2014-06-05 08:48:51 +01:00 |
|
Rohit Grover
|
d5e2df438b
|
replace 16 with UUID::LENGTH_OF_LONG_UUID
|
2014-06-05 08:22:59 +01:00 |
|
Rohit Grover
|
978bddfd7c
|
white space diffs
|
2014-06-04 10:48:27 +01:00 |
|
Rohit Grover
|
ecac50aea0
|
adding BLEDevice APIs for GATTServer callbacks
|
2014-06-04 10:06:19 +01:00 |
|
Rohit Grover
|
0c91cc32bf
|
add Gap Callbacks
|
2014-06-04 09:36:31 +01:00 |
|
Rohit Grover
|
e01f6f5daf
|
long UUIDs tested; work fine. there was a minor need for byte-swapping
|
2014-06-02 14:58:56 +01:00 |
|
Rohit Grover
|
9c2849d88e
|
rename "value" member of UUID as shortUUID
|
2014-05-30 10:48:48 +01:00 |
|
Rohit Grover
|
abed1b0557
|
UUID constructors should zero out relative part of baseUUID
|
2014-05-30 09:58:35 +01:00 |
|
Rohit Grover
|
6e1746fdba
|
GapAdvertisingData::addData() should use > for bounds checking of payload
|
2014-05-29 16:21:46 +01:00 |
|
Rohit Grover
|
28c1ca8830
|
use initializer list for constructor of GapAdvertisingData
|
2014-05-29 14:57:15 +01:00 |
|
Rohit Grover
|
c1044da0ec
|
make members of GattCharacteristic private
|
2014-05-29 09:50:47 +01:00 |
|
Rohit Grover
|
a7e64ea461
|
make members of UUID private; add accessors()
|
2014-05-29 08:57:57 +01:00 |
|
Rohit Grover
|
95af932316
|
remove comment about TODO for 128bit characteristic uuids
|
2014-05-29 08:28:02 +01:00 |
|