just a fork
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1035:d8ba3cb5a39a
- Parent:
- 993:4d62b7967c11
- Child:
- 1038:ebf9746bff7d
diff -r 947f5cf8884f -r d8ba3cb5a39a ble/DiscoveredCharacteristic.h --- a/ble/DiscoveredCharacteristic.h Thu Dec 10 09:15:04 2015 +0000 +++ b/ble/DiscoveredCharacteristic.h Thu Dec 10 09:15:04 2015 +0000 @@ -137,13 +137,13 @@ */ 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); + void setupLongUUID(UUID::LongUUIDBytes_t longUUID, UUID::BitOrder_t order = UUID::MSB) { + uuid.setupLong(longUUID, order); } public: