just a fork
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 964:9d12fedb6d69
- Parent:
- 962:622ae38b3023
- Child:
- 966:9451b90bbb66
diff -r d111d9454aa9 -r 9d12fedb6d69 ble/DiscoveredCharacteristic.h --- a/ble/DiscoveredCharacteristic.h Thu Nov 26 12:52:34 2015 +0000 +++ b/ble/DiscoveredCharacteristic.h Thu Nov 26 12:52:34 2015 +0000 @@ -137,6 +137,11 @@ */ ble_error_t write(uint16_t length, const uint8_t *value) const; + /** + * Same as above but register the callback wich will be called once the data has been written + */ + ble_error_t write(uint16_t length, const uint8_t *value, const GattClient::WriteCallback_t& onRead) const; + void setupLongUUID(UUID::LongUUIDBytes_t longUUID) { uuid.setupLong(longUUID); }