Release 0.3.5

=============

Minor fix around initialization of security level for Characteristics.

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

None.

Bugfixes
~~~~~~~~

* fix #39: initialize GattCharacteristic::_requiredSecurity to OPEN_LINK.
This commit is contained in:
Rohit Grover 2015-05-11 07:55:40 +01:00
parent 3024627087
commit b8c2889f47

View file

@ -331,7 +331,7 @@ public:
unsigned numDescriptors = 0) :
_valueAttribute(uuid, valuePtr, initialLen, maxLen),
_properties(props),
_requiredSecurity(),
_requiredSecurity(Gap::SECURITY_MODE_ENCRYPTION_OPEN_LINK),
_descriptors(descriptors),
_descriptorCount(numDescriptors),
enabledReadAuthorization(false),