abc

Fork of BLE_API by Bluetooth Low Energy

Revision:
374:8d1f5c5252c4
Parent:
373:7d8982606ef0
Child:
389:3487fcdd314e
diff -r 7d8982606ef0 -r 8d1f5c5252c4 public/GattCharacteristic.h
--- a/public/GattCharacteristic.h	Mon May 11 07:59:00 2015 +0100
+++ b/public/GattCharacteristic.h	Mon May 11 07:59:00 2015 +0100
@@ -331,7 +331,7 @@
                        unsigned       numDescriptors = 0) :
         _valueAttribute(uuid, valuePtr, initialLen, maxLen),
         _properties(props),
-        _requiredSecurity(),
+        _requiredSecurity(Gap::SECURITY_MODE_ENCRYPTION_OPEN_LINK),
         _descriptors(descriptors),
         _descriptorCount(numDescriptors),
         enabledReadAuthorization(false),