BLE
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1057:ce2fb3d09929
- Parent:
- 1054:ec4a5b9b254e
- Child:
- 1064:187f9929cb60
diff -r 576c739b56a2 -r ce2fb3d09929 ble/DiscoveredCharacteristic.h --- a/ble/DiscoveredCharacteristic.h Mon Jan 11 08:51:33 2016 +0000 +++ b/ble/DiscoveredCharacteristic.h Mon Jan 11 08:51:34 2016 +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::ByteOrder_t order = UUID::MSB) { + uuid.setupLong(longUUID, order); } public: