Commit Graph

489 Commits (a091922f1093525fc2b62e7bfb8484e40e9b063c)

Author SHA1 Message Date
Rohit Grover 62f199e9fc remove un-necessary braces. 2015-06-04 09:25:02 +01:00
Rohit Grover c8d8d1053a add DiscoveredCharacteristic::Properties_t 2015-06-04 09:25:02 +01:00
Rohit Grover 1aef33c9a8 account for the limitation on the number of [SC] we can handle at a time within setupDiscovered*() 2015-06-04 09:25:02 +01:00
Rohit Grover a5b5af4b92 remove incorrect comments. 2015-06-04 09:25:02 +01:00
Rohit Grover c5bc9f8399 highlight the locations where the callbacks will go. 2015-06-04 09:25:02 +01:00
Rohit Grover 9d9a5b783e white space diff. 2015-06-04 09:25:02 +01:00
Rohit Grover 51481b0833 merge default cases within gattc_event_handler 2015-06-04 09:25:02 +01:00
Rohit Grover 442ce24781 remove some debugging printfs. 2015-06-04 09:25:02 +01:00
Rohit Grover 288e38d9b7 make better use of resetDiscoveredServices; add resetDiscoveredCharacteristics() 2015-06-04 09:25:02 +01:00
Rohit Grover 7be2b555ca no need for constructor for DiscoveredService/Characteristic 2015-06-04 09:25:02 +01:00
Rohit Grover 9f37001adc add DiscoveryStatus::setupDiscovered[SC]() 2015-06-04 09:25:02 +01:00
Rohit Grover d1896c93a8 remove debug printfs 2015-06-04 09:25:02 +01:00
Rohit Grover 255d010a9f move progress[SC]Discovery into DiscoveryStatus 2015-06-04 09:25:02 +01:00
Rohit Grover cd85335b9d rename DiscoveryStatus_t to DiscoveryStatus 2015-06-04 09:25:02 +01:00
Rohit Grover 27e204abf5 add forward declarations for launch*() 2015-06-04 09:25:02 +01:00
Rohit Grover 53f5a78a94 remove an un-necessary debug printf() 2015-06-04 09:25:02 +01:00
Rohit Grover a1cc1b1ee6 algo for progression of characterisitics now mirrors that for services. 2015-06-04 09:25:02 +01:00
Rohit Grover 9972c80319 make use of DiscoveredCharacteristic::setup() 2015-06-04 09:25:02 +01:00
Rohit Grover 371b8490a4 add a comment. 2015-06-04 09:25:02 +01:00
Rohit Grover d8e4f85a27 add 'characteristics' to discoveryStatus 2015-06-04 09:25:02 +01:00
Rohit Grover 4703c1d2b8 begin to work on DiscoveredCharacteristic 2015-06-04 09:25:02 +01:00
Rohit Grover 9d1ddc3601 add some helper functions to DiscoveryStatus 2015-06-04 09:25:02 +01:00
Rohit Grover fb7a99293a delete debugging printf blocks. 2015-06-04 09:25:02 +01:00
Rohit Grover 1bf9081e58 now have a working service discovery, which needs refactoring. 2015-06-04 09:25:02 +01:00
Rohit Grover 1ffbf3e2eb initial working service discovery (with a lot of debugging printfs) 2015-06-04 09:25:02 +01:00
Rohit Grover f135020de9 launchCharacteristicDiscovery now calls sd_ble_gattc_characteristics_discover() 2015-06-04 09:25:02 +01:00
Rohit Grover 0796184cce introduce DiscoveredCharacteristic 2015-06-04 09:25:02 +01:00
Rohit Grover e46987f4a6 add charCount to DiscoveryStatus 2015-06-04 09:25:02 +01:00
Rohit Grover d97797e7b0 white space diffs. 2015-06-04 09:25:02 +01:00
Rohit Grover 9110e88fff rename to DiscoveryStatus_t 2015-06-04 09:25:01 +01:00
Rohit Grover 183cba0ac3 more white space diffs. 2015-06-04 09:25:01 +01:00
Rohit Grover d5800e8e96 white space diffs. 2015-06-04 09:25:01 +01:00
Rohit Grover 99bbcb9440 introduce currCharInd 2015-06-04 09:25:01 +01:00
Rohit Grover 507e6bc8ea better initialization for discoveryStatus from launchServiceDiscovery() 2015-06-04 09:25:01 +01:00
Rohit Grover 2007fdac82 add signature for lauchCharacteristicDiscovery() 2015-06-04 09:25:01 +01:00
Rohit Grover 63fea62c5f white space diffs. 2015-06-04 09:25:01 +01:00
Rohit Grover c852be8ec5 add state variable for charDiscoveryInProgress 2015-06-04 09:25:01 +01:00
Rohit Grover 32c473cc13 better use of serviceDiscoveryInProgress 2015-06-04 09:25:01 +01:00
Rohit Grover ba892539cb white space diffs. 2015-06-04 09:25:01 +01:00
Rohit Grover 6ed0c77daf rename a status field to serviceDiscoveryInProgress. 2015-06-04 09:25:01 +01:00
Rohit Grover 7f4a08f44f make continuation of service discovery slightly smarter. 2015-06-04 09:25:01 +01:00
Rohit Grover de7195fb61 add class for DiscoveredService; and maintain a discoveryStatus structure. 2015-06-04 09:25:01 +01:00
Rohit Grover 5f5027e26d separate out gatt-client functionality into btle_gattc.cpp
presently have event handler and lauchServiceDiscovery()
2015-06-04 09:25:01 +01:00
Rohit Grover ba73fee202 intermediate checkin while attempting characteristic discovery 2015-06-04 09:25:01 +01:00
Rohit Grover 096071c25e able to discover primary services. 2015-06-04 09:25:01 +01:00
Rohit Grover 7cbfcf8b9b intermediate checkin for discovery procedure. 2015-06-04 09:25:01 +01:00
Rohit Grover 9894ceefa1 update from s130 production release 2015-06-04 09:25:01 +01:00
Rohit Grover 9b4e3f115d update to S130 alpha 2015-06-04 09:25:01 +01:00
Rohit Grover b13ba62451 update from s130 production release 2015-06-04 09:25:01 +01:00
Rohit Grover 9a9b93034b update to S130 alpha 2015-06-04 09:25:01 +01:00