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 |
|
Rohit Grover
|
97e78fc44a
|
constructor for GattService should take a constant
|
2014-05-29 08:17:36 +01:00 |
|
Rohit Grover
|
76ac2a5291
|
remove need for UUID::update()
|
2014-05-29 08:16:31 +01:00 |
|
Rohit Grover
|
e1ae67ab8c
|
GattCharacteristic now uses UUID instead of uint16_t
|
2014-05-28 17:24:30 +01:00 |
|
Rohit Grover
|
73e104a011
|
use initializer list in the constructor for GattCharacteristic
|
2014-05-28 16:52:09 +01:00 |
|
Rohit Grover
|
efee45e600
|
define LENGTH_OF_LONG_UUID as a constant
|
2014-05-28 15:25:55 +01:00 |
|
Rohit Grover
|
f7e4300039
|
simplify the api for accumulating advertising payload
|
2014-05-23 17:45:16 +01:00 |
|
Rohit Grover
|
b347ecd31f
|
mark BLEDevice::setAdvertisingData() as deprecated
|
2014-05-23 17:28:44 +01:00 |
|
Rohit Grover
|
05a4e99f5d
|
adding const to the "data" member of GapAdvertisingData::addData()
|
2014-05-23 17:05:53 +01:00 |
|
Rohit Grover
|
ac72488c70
|
simplification of the API used to setup GAP advertising
|
2014-05-23 15:21:47 +01:00 |
|
Rohit Grover
|
6b06ea38c1
|
minor improvement to the API
|
2014-05-23 15:21:16 +01:00 |
|