Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Mon May 11 07:59:00 2015 +0100
Parent:
373:7d8982606ef0
Child:
375:9cb0b006227e
Commit message:
Synchronized with git rev b8c2889f
Author: Rohit Grover
Release 0.3.5
=============

Minor fix around initialization of security level for Characteristics.

Enhancements
~~~~~~~~~~~~

None.

Bugfixes
~~~~~~~~

* fix #39: initialize GattCharacteristic::_requiredSecurity to OPEN_LINK.

Changed in this revision

public/GattCharacteristic.h Show annotated file Show diff for this revision Revisions of this file
--- 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),