Nordic stack and drivers for the mbed BLE API
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Diff: source/nRF5xGattServer.cpp
- Revision:
- 553:2a413611e569
- Parent:
- 552:20b282c26f96
- Child:
- 561:613dbbdeed27
--- a/source/nRF5xGattServer.cpp Mon Jan 11 10:19:10 2016 +0000 +++ b/source/nRF5xGattServer.cpp Mon Jan 11 10:19:11 2016 +0000 @@ -97,6 +97,7 @@ p_char->getValueAttribute().getValuePtr(), p_char->getValueAttribute().getLength(), p_char->getValueAttribute().getMaxLength(), + p_char->getValueAttribute().hasVariableLength(), userDescriptionDescriptorValuePtr, userDescriptionDescriptorValueLen, p_char->isReadAuthorizationEnabled(), @@ -129,6 +130,7 @@ p_desc->getValuePtr(), p_desc->getLength(), p_desc->getMaxLength(), + p_desc->hasVariableLength(), &nrfDescriptorHandles[descriptorCount]), BLE_ERROR_PARAM_OUT_OF_RANGE);