Commit Graph

489 Commits (a091922f1093525fc2b62e7bfb8484e40e9b063c)

Author SHA1 Message Date
Rohit Grover ce514155d3 use GattCharacteristicReadCBParams 2015-06-05 10:46:41 +01:00
Rohit Grover c182fef4bb accommodate GattClient::WriteOp_t 2015-06-05 09:58:17 +01:00
Rohit Grover f49e3469ae setup save of GattClient pointer in DiscoveredClient 2015-06-05 09:26:41 +01:00
Rohit Grover 5a4e62f169 one massive commit to integrate with GattClient.
DiscoveredCharacteristic still needs to setup gattc pointers.
2015-06-04 14:44:44 +01:00
Rohit Grover 093cc129bb nRFDiscovery is now a part of the nRFGattClient object. 2015-06-04 09:25:04 +01:00
Rohit Grover 168eed4ee4 nRFDiscoveredCharacteristic::setup() takes a GattClient poitner 2015-06-04 09:25:04 +01:00
Rohit Grover 9d50304018 add read() to nRFGattClient. 2015-06-04 09:25:04 +01:00
Rohit Grover 0cc48daf77 introduce implementation for nRF51GattClient 2015-06-04 09:25:04 +01:00
Rohit Grover 1fc421bad1 intermediate checkin as nRFDiscoveredCharacteristic moves into GattClient implementation. 2015-06-04 09:25:04 +01:00
Rohit Grover d708c588ee handle NOT_PERMITTED for read() and writeWoResponse() 2015-06-04 09:25:04 +01:00
Rohit Grover 4ec5b9443b nRFDiscoveredCharacteristic: handle setup of properties correctly. 2015-06-04 09:25:04 +01:00
Rohit Grover 7cf266a318 introduce nRFDiscoveredCharacteristic::writeWoResponse() 2015-06-04 09:25:04 +01:00
Rohit Grover c874aa4327 remove un-necessary printf() 2015-06-04 09:25:04 +01:00
Rohit Grover 395446dbe4 serviceCallback should be called only if characteristic UUID filter is wildcard. 2015-06-04 09:25:04 +01:00
Rohit Grover 3c323d4bee characteristic callback should only be called for a matching char if service-UUID filter is set. 2015-06-04 09:25:04 +01:00
Rohit Grover 91c7c03ed4 DiscoveredServiceCallback() now takes a pointer instead of a reference. 2015-06-04 09:25:04 +01:00
Rohit Grover e3c989a079 handle the read response event. :) 2015-06-04 09:25:04 +01:00
Rohit Grover 83daae7c85 DiscoveredCharacteristicCallback now takes a pointer instead of a reference 2015-06-04 09:25:04 +01:00
Rohit Grover 3630fb0c8d remove printfs from nRFDiscoveredCharacteristic::read() 2015-06-04 09:25:04 +01:00
Rohit Grover 4730615cb2 don't memset(0) the discovered Characteristics or Services in reset*(); that destroys the pointer to virtual tables 2015-06-04 09:25:04 +01:00
Rohit Grover 771213d522 split out nRFDiscoveredCharacteristic.h from btle_discovery.h 2015-06-04 09:25:04 +01:00
Rohit Grover 59db8674f2 provide a definition for DiscoveredCharacteristic::onDataReadCallback 2015-06-04 09:25:04 +01:00
Rohit Grover 1687cf1bb8 white space diffs. 2015-06-04 09:25:04 +01:00
Rohit Grover 2e38bb80b6 flesh out nRFDiscoveredCharacteristic::read() 2015-06-04 09:25:04 +01:00
Rohit Grover 12ed0b3884 move variants of setup into nRFDiscoveredCharacteristic. 2015-06-04 09:25:04 +01:00
Rohit Grover 543e493d70 add to the comment header for DiscoveredCharacteristic::read() 2015-06-04 09:25:04 +01:00
Rohit Grover 853d49257f DiscoveredCharacteristic::read() returns ble_error_t 2015-06-04 09:25:04 +01:00
Rohit Grover 4899e23531 introduce nRFDiscoveredCharacteristic. 2015-06-04 09:25:04 +01:00
Rohit Grover 1be6900b4e white space diffs. 2015-06-04 09:25:04 +01:00
Rohit Grover 579beff995 add CharUUIDDiscoveryQueue 2015-06-04 09:25:04 +01:00
Rohit Grover 30b9f534cd rename to ServiceUUIDDiscoveryQueue 2015-06-04 09:25:04 +01:00
Rohit Grover 9c2636cf5c minor cosmetic changes. 2015-06-04 09:25:04 +01:00
Rohit Grover 7fb9212f3b comment block for triggerFirst() 2015-06-04 09:25:04 +01:00
Rohit Grover 8139cff2cf moving things around within a class. 2015-06-04 09:25:04 +01:00
Rohit Grover ecb6f20d4c rename to parentDiscoveryObject. 2015-06-04 09:25:04 +01:00
Rohit Grover 1fa204ecbd update max connection interval for the default connection parameters. 2015-06-04 09:25:04 +01:00
Rohit Grover 4755395711 switch to enqueue() and dequeue() for ServiceIndicesNeedingUUIDDiscovery 2015-06-04 09:25:04 +01:00
Rohit Grover ae90b6ceec minor fix. 2015-06-04 09:25:04 +01:00
Rohit Grover fb8e6bca98 comment out the dumping of long UUIDs. 2015-06-04 09:25:04 +01:00
Rohit Grover 2d83d6b8fe setup longUUIDs for services. 2015-06-04 09:25:04 +01:00
Rohit Grover f342dcaed2 add ServiceIndicesNeedingUUIDDiscovery::getFirst() 2015-06-04 09:25:03 +01:00
Rohit Grover 550aff2493 don't setup UUIDs prematurely for services needs UUID discovery. 2015-06-04 09:25:03 +01:00
Rohit Grover 248931a544 add comment blocks to explain serviceIndicesNeedingUUIDDiscovery. 2015-06-04 09:25:03 +01:00
Rohit Grover 3d9816a463 add class for ServicesNeedingUUIDDiscovery 2015-06-04 09:25:03 +01:00
Rohit Grover c852d13470 white space diffs. 2015-06-04 09:25:03 +01:00
Rohit Grover 846f25433d initial working implementation for serviceUUID discovery. 2015-06-04 09:25:03 +01:00
Rohit Grover 18a8f47fbe switch access level of some constant members of NordicServiceDiscovery to public. 2015-06-04 09:25:03 +01:00
Rohit Grover 2ab99680ac Add a default constructor for NordicServiceDiscovery() 2015-06-04 09:25:03 +01:00
Rohit Grover 11d8094bca Move inclusion of stdio.h to the top of btle_discovery.cpp. This is temporary. 2015-06-04 09:25:03 +01:00
Rohit Grover 549b246f6a introduce State_t within NordicServiceDiscovery 2015-06-04 09:25:03 +01:00