YUFEI JIANG / BLE_API_Tiny_BLE

Dependents:   CSSE4011_BLE_IMU

Fork of BLE_API by Bluetooth Low Energy

Revision:
93:f97a35cc40f8
Parent:
89:2afa7f425f78
Parent:
86:5f429b984bc2
Child:
101:9566e418a313
diff -r 3781dc6f8c18 -r f97a35cc40f8 GattCharacteristic.h
--- a/GattCharacteristic.h	Wed Jun 11 14:42:08 2014 +0100
+++ b/GattCharacteristic.h	Wed Jun 11 15:03:35 2014 +0100
@@ -321,9 +321,9 @@
      *  GattCharacteristic c = GattCharacteristic( 0x2A19, 2, 2, BLE_GATT_CHAR_PROPERTIES_WRITE );
      *
      *  @endcode
-    */
+     */
     /**************************************************************************/
-    GattCharacteristic(const UUID &uuid, uint8_t *value, uint16_t initialLen = 1, uint16_t maxLen = 1,
+    GattCharacteristic(const UUID &uuid, uint8_t *value = NULL, uint16_t initialLen = 0, uint16_t maxLen = 0,
                        uint8_t props = BLE_GATT_CHAR_PROPERTIES_NONE) :
         _uuid(uuid), _value(value), _initialLen(initialLen), _lenMax(maxLen), _handle(), _properties(props) {
         /* empty */