Nordic stack and drivers for the mbed BLE API
Fork of nRF51822 by
Revision 118:f9e5e2935c5c, committed 2015-04-30
- Comitter:
- rgrover1
- Date:
- Thu Apr 30 08:34:38 2015 +0100
- Parent:
- 117:dbc5d7f0fdd5
- Child:
- 119:3ba3e377b972
- Commit message:
- Synchronized with git rev ece3b856
Author: Rohit Grover
white space diffs.
Changed in this revision
nRF51GattServer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/nRF51GattServer.cpp Thu Apr 30 08:34:38 2015 +0100 +++ b/nRF51GattServer.cpp Thu Apr 30 08:34:38 2015 +0100 @@ -90,18 +90,18 @@ /* Add optional descriptors if any */ /* ToDo: Make sure we don't overflow the array */ for (uint8_t j = 0; j < p_char->getDescriptorCount(); j++) { - GattAttribute *p_desc = p_char->getDescriptor(j); + GattAttribute *p_desc = p_char->getDescriptor(j); - nordicUUID = custom_convert_to_nordic_uuid(p_desc->getUUID()); + nordicUUID = custom_convert_to_nordic_uuid(p_desc->getUUID()); - ASSERT ( ERROR_NONE == - custom_add_in_descriptor(BLE_GATT_HANDLE_INVALID, - &nordicUUID, - p_desc->getValuePtr(), - p_desc->getInitialLength(), - p_desc->getMaxLength(), - &nrfDescriptorHandles[descriptorCount]), - BLE_ERROR_PARAM_OUT_OF_RANGE ); + ASSERT(ERROR_NONE == + custom_add_in_descriptor(BLE_GATT_HANDLE_INVALID, + &nordicUUID, + p_desc->getValuePtr(), + p_desc->getInitialLength(), + p_desc->getMaxLength(), + &nrfDescriptorHandles[descriptorCount]), + BLE_ERROR_PARAM_OUT_OF_RANGE); uint16_t descHandle = descriptorCount; p_descriptors[descriptorCount++] = p_desc;