Commit graph

617 commits

Author SHA1 Message Date
Rohit Grover
77c592a9a9 Move certain UUID related declarations within the UUID namespace. 2015-06-08 09:47:28 +01:00
Rohit Grover
abb753428b add GattAttribute::INVALID_HANDLE 2015-06-08 09:38:57 +01:00
Rohit Grover
db326a1c70 replaced more deprecated uses of Gap::address_t 2015-06-08 09:36:04 +01:00
Rohit Grover
2ae75d427d minor change to comment header for launchServiceDiscovery() 2015-06-08 07:23:11 +01:00
Rohit Grover
03c8740344 we now have a working GattClient::write() 2015-06-05 13:30:01 +01:00
Rohit Grover
5f0668ee2c rename GattCharacteristicCallbackParams.h -> GattCallbackParamTypes.h 2015-06-05 11:23:07 +01:00
Rohit Grover
c01f76cfbe cleanup around GattCallbackParamTypes 2015-06-05 11:13:31 +01:00
Rohit Grover
49c495d36f get rid of 'op' from GattCharacteristicReadCBParams 2015-06-05 10:50:23 +01:00
Rohit Grover
06deb96559 GattClient now reuses GattCharacteristicReadCBParams 2015-06-05 10:46:09 +01:00
Rohit Grover
c9d1588dea white space diffs. 2015-06-05 10:41:16 +01:00
Rohit Grover
248c63d793 GattCharacteristicReadCBParams::len isn't a pointer. And data is const. 2015-06-05 10:40:49 +01:00
Rohit Grover
c0eb59b498 oops. ReadCallback_t has moved into GattClient. 2015-06-05 10:12:57 +01:00
Rohit Grover
49ec8f8bc2 Add GattClient::WriteResponse* 2015-06-05 09:56:21 +01:00
Rohit Grover
d250191883 remove extraneous header include. 2015-06-05 09:55:16 +01:00
Rohit Grover
ee29ce32ef minor sanity check for DiscoveredCharacteristic::writeWoResponse() 2015-06-05 09:21:24 +01:00
Rohit Grover
1a9e68e197 ReadCallback_t moves into GattClient. 2015-06-05 09:20:41 +01:00
Rohit Grover
037ea9c6a7 use forward declarations. 2015-06-05 09:16:23 +01:00
Rohit Grover
92f61ed875 fix API header for writeWoResponse() 2015-06-05 08:20:48 +01:00
Rohit Grover
a7cf062930 add a sanity check to DiscoveredCharacteristic::read(). 2015-06-05 08:04:19 +01:00
Rohit Grover
a7c6dc1ac7 one massive commit to move towards GattClient. 2015-06-05 08:04:19 +01:00
Rohit Grover
2d692522a1 update URIBeaconConfigService to account for changes to UUID.h 2015-06-05 08:04:19 +01:00
Rohit Grover
2b27daba1f add read() to GattClient 2015-06-05 08:04:19 +01:00
Rohit Grover
59ce342f34 remove an extraneous printf() 2015-06-05 08:04:19 +01:00
Rohit Grover
2acb939c45 add a gattc pointer to DiscoveredCharacteristic. 2015-06-05 08:04:19 +01:00
Rohit Grover
2dbe62da9e minor re-organization of methods 2015-06-05 08:04:19 +01:00
Rohit Grover
bab5a28166 add missing include for UUID.h 2015-06-05 08:04:19 +01:00
Rohit Grover
e106a95137 introduce abstract class for GattClient 2015-06-05 08:04:19 +01:00
Rohit Grover
e0bb4b9a95 add missing includes to BLEDeviceInstanceBase.h 2015-06-05 08:04:19 +01:00
Rohit Grover
0329541d84 DiscoveredCharacteristic doesn't have virtual functions any more. 2015-06-05 08:04:19 +01:00
Rohit Grover
ecdb5f5121 Add comments to explain memory lifetimes for the discovered objects within discovery callbacks. 2015-06-05 08:04:19 +01:00
Rohit Grover
0390ccc1ea DiscoveredCharacteristic: expand comment header for read() and writeWoResponse() to include NOT_PERMITTED. 2015-06-05 08:04:19 +01:00
Rohit Grover
d6f9d841c9 simplify the declaration of DiscoveredCharacteristic::Properties_t 2015-06-05 08:04:19 +01:00
Rohit Grover
b4ab8eaff7 simplify declaration of ble_error_t in blecommon.h 2015-06-05 08:04:19 +01:00
Rohit Grover
6c94ed6639 add include of stdint.h to UUID.h 2015-06-05 08:04:19 +01:00
Rohit Grover
dc4ad0a972 expand on the comment for ServiceDiscovery::launch 2015-06-05 08:04:19 +01:00
Rohit Grover
4ab43fb768 introduce DiscoveredCharacteristic::writeWoResponse() 2015-06-05 08:04:19 +01:00
Rohit Grover
ff8ff267b3 define operator!= for UUID 2015-06-05 08:04:19 +01:00
Rohit Grover
1ccaaa5a44 document headers for the serviceDiscovery API. 2015-06-05 08:04:19 +01:00
Rohit Grover
9849c09adb DiscoveredService callback now takes a pointer instead of a reference. 2015-06-05 08:04:19 +01:00
Rohit Grover
7cf2bbb43a DiscoveredCharacteristic::read() should be a const member function. 2015-06-05 08:04:19 +01:00
Rohit Grover
aedbcb6bfa CharacteristicCallback_t should take a pointer instead of a reference 2015-06-05 08:04:19 +01:00
Rohit Grover
a5eeb92a05 allow for DiscoveredCharacteristic::setup() be in the derived class 2015-06-05 08:04:19 +01:00
Rohit Grover
9f54d528a6 add some comment headers 2015-06-05 08:04:19 +01:00
Rohit Grover
71d6414370 expand on the comment header for read() 2015-06-05 08:04:19 +01:00
Rohit Grover
069e81b371 DiscoveredCharacteristic::read() should return ble_error_t 2015-06-05 08:04:19 +01:00
Rohit Grover
e90c2ac862 introduce DiscoveredCharacteristic::read() 2015-06-05 08:04:19 +01:00
Rohit Grover
e8850be6cb split out DiscoveredService and DiscoveredCharacteristic from ServiceDiscovery. 2015-06-05 08:04:19 +01:00
Rohit Grover
b4ccb331b8 introduce ReadResponse_t to DiscoveredCharacteristic 2015-06-05 08:04:19 +01:00
Rohit Grover
890035c62f minor change: add an explicit public accessor. 2015-06-05 08:04:19 +01:00
Rohit Grover
f13fe428de add variants for DiscoveredCharacteristic::setup() 2015-06-05 08:04:19 +01:00