Bike service
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1099:6c54ccecf1e8
- Parent:
- 1098:5f6b5ea5d5f2
- Child:
- 1100:c3d484a482d8
diff -r 5f6b5ea5d5f2 -r 6c54ccecf1e8 ble/Gap.h --- a/ble/Gap.h Mon Jan 11 08:51:53 2016 +0000 +++ b/ble/Gap.h Mon Jan 11 08:51:54 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) {