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.
Fork of BLE_API by
Diff: GapAdvertisingData.cpp
- Revision:
- 59:2c30cb482915
- Parent:
- 58:0642c323b751
- Child:
- 76:103fac6e36d1
diff -r 0642c323b751 -r 2c30cb482915 GapAdvertisingData.cpp
--- a/GapAdvertisingData.cpp Thu May 29 14:57:15 2014 +0100
+++ b/GapAdvertisingData.cpp Thu May 29 16:21:46 2014 +0100
@@ -78,7 +78,7 @@
/* value is exclusive or not (flags, etc.) */
/* Make sure we don't exceed the 31 byte payload limit */
- if (_payloadLen + len + 2 >= GAP_ADVERTISING_DATA_MAX_PAYLOAD) {
+ if (_payloadLen + len + 2 > GAP_ADVERTISING_DATA_MAX_PAYLOAD) {
return BLE_ERROR_BUFFER_OVERFLOW;
}
