High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1096:c3a43f09f1c5
- Parent:
- 1091:58b2dac13261
- Child:
- 1098:5f6b5ea5d5f2
diff -r 7eaddbe4fad0 -r c3a43f09f1c5 ble/Gap.h --- a/ble/Gap.h Mon Jan 11 08:51:52 2016 +0000 +++ b/ble/Gap.h Mon Jan 11 08:51:52 2016 +0000 @@ -620,8 +620,7 @@ /** * Update a particular ADV field in the advertising payload (based on - * matching type and length). Note: the length of the new data must be the - * same as the old one. + * matching type). * * @param[in] type The ADV type field describing the variable length data. * @param[in] data Data bytes. @@ -630,7 +629,7 @@ * @note: If advertisements are enabled, then the update will take effect immediately. * * @return BLE_ERROR_NONE if the advertisement payload was updated based on - * a <type, len> match; otherwise, an appropriate error. + * matching AD type; otherwise, an appropriate error. */ ble_error_t updateAdvertisingPayload(GapAdvertisingData::DataType type, const uint8_t *data, uint8_t len) { if (type == GapAdvertisingData::COMPLETE_LOCAL_NAME) {