Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Revision 1097:4d22814faf46, committed 2016-01-11
- Comitter:
- vcoubard
- Date:
- Mon Jan 11 08:51:53 2016 +0000
- Parent:
- 1096:c3a43f09f1c5
- Child:
- 1098:5f6b5ea5d5f2
- Commit message:
- Synchronized with git rev 4fb7c068
Author: Andres Amaya Garcia
Rename updateFieldPayload to updateField
Changed in this revision
| ble/GapAdvertisingData.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/GapAdvertisingData.h Mon Jan 11 08:51:52 2016 +0000
+++ b/ble/GapAdvertisingData.h Mon Jan 11 08:51:53 2016 +0000
@@ -227,7 +227,7 @@
if (field) {
// Field type already exist, either add to field or replace
- return updateFieldPayload(advDataType, payload, len, field);
+ return updateField(advDataType, payload, len, field);
} else {
// field doesn't exists, insert new
return appendField(advDataType, payload, len);
@@ -254,7 +254,7 @@
if (field) {
// Field type already exist, either add to field or replace
- return updateFieldPayload(advDataType, payload, len, field);
+ return updateField(advDataType, payload, len, field);
} else {
// field doesn't exists, return an error
return BLE_ERROR_UNSPECIFIED;
@@ -394,7 +394,7 @@
* the existing data in the field with the supplied data.
* Returns BLE_ERROR_NONE on success.
*/
- ble_error_t updateFieldPayload(DataType_t advDataType, const uint8_t *payload, uint8_t len, uint8_t* field)
+ ble_error_t updateField(DataType_t advDataType, const uint8_t *payload, uint8_t len, uint8_t* field)
{
ble_error_t result = BLE_ERROR_BUFFER_OVERFLOW;
