No changes
Fork of nRF51822 by
Diff: btle/btle_discovery.h
- Revision:
- 256:2f2e9f1d6275
- Parent:
- 253:f30c1233e9db
- Child:
- 259:14fc2ba60072
--- a/btle/btle_discovery.h Fri Jun 19 15:55:23 2015 +0100 +++ b/btle/btle_discovery.h Fri Jun 19 15:55:23 2015 +0100 @@ -99,16 +99,18 @@ ServiceCallback_t sc, CharacteristicCallback_t cc = NULL); static ble_error_t launch(Gap::Handle_t connectionHandle, - UUID matchingServiceUUID, + UUID matchingServiceUUIDIn, ServiceCallback_t sc, - UUID matchingCharacteristicUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN), + UUID matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN), CharacteristicCallback_t cc = NULL); static void terminate(void); protected: Gap::Handle_t connHandle; /**< Connection handle as provided by the SoftDevice. */ + UUID matchingServiceUUID; ServiceCallback_t serviceCallback; + UUID matchingCharacteristicUUID; CharacteristicCallback_t characteristicCallback; };