BLE

Fork of BLE_API by Bluetooth Low Energy

Revision:
1057:ce2fb3d09929
Parent:
1054:ec4a5b9b254e
Child:
1064:187f9929cb60
--- 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: