Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...
Fork of nRF51822 by
Revision 156:8e97c41fd7ab, committed 2015-05-08
- Comitter:
- rgrover1
- Date:
- Fri May 08 15:33:58 2015 +0100
- Parent:
- 155:8f2079052f77
- Child:
- 157:0fa76927dcfe
- Commit message:
- Synchronized with git rev bc99c548
Author: Rohit Grover
white space diffs.
Changed in this revision
btle/custom/custom_helper.cpp | Show annotated file Show diff for this revision Revisions of this file |
btle/custom/custom_helper.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/btle/custom/custom_helper.cpp Fri May 08 15:33:58 2015 +0100 +++ b/btle/custom/custom_helper.cpp Fri May 08 15:33:58 2015 +0100 @@ -197,18 +197,18 @@ @retval ERROR_NONE Everything executed normally */ /**************************************************************************/ -error_t custom_add_in_characteristic(uint16_t service_handle, - ble_uuid_t *p_uuid, - uint8_t properties, - Gap::SecurityMode_t requiredSecurity, - uint8_t *p_data, - uint16_t min_length, - uint16_t max_length, - const uint8_t *userDescriptionDescriptorValuePtr, - uint16_t userDescriptionDescriptorValueLen, - bool readAuthorization, - bool writeAuthorization, - ble_gatts_char_handles_t *p_char_handle) +error_t custom_add_in_characteristic(uint16_t service_handle, + ble_uuid_t *p_uuid, + uint8_t properties, + Gap::SecurityMode_t requiredSecurity, + uint8_t *p_data, + uint16_t min_length, + uint16_t max_length, + const uint8_t *userDescriptionDescriptorValuePtr, + uint16_t userDescriptionDescriptorValueLen, + bool readAuthorization, + bool writeAuthorization, + ble_gatts_char_handles_t *p_char_handle) { /* Characteristic metadata */ ble_gatts_attr_md_t cccd_md;
--- a/btle/custom/custom_helper.h Fri May 08 15:33:58 2015 +0100 +++ b/btle/custom/custom_helper.h Fri May 08 15:33:58 2015 +0100 @@ -34,7 +34,7 @@ error_t custom_add_in_characteristic(uint16_t service_handle, ble_uuid_t *p_uuid, uint8_t properties, - Gap::SecurityMode_t requiredSecurity, + Gap::SecurityMode_t requiredSecurity, uint8_t *p_data, uint16_t min_length, uint16_t max_length,