High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1134:d540a48f650d
- Parent:
- 1131:692ddf04fc42
- Child:
- 1135:22aada733dbd
--- a/ble/DiscoveredCharacteristic.h Wed Apr 06 19:13:50 2016 +0100 +++ b/ble/DiscoveredCharacteristic.h Wed Apr 06 19:13:52 2016 +0100 @@ -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::ByteOrder_t order = UUID::MSB) { + uuid.setupLong(longUUID, order); } public: