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: LinkNode_SimpleChatwithSerial
Fork of BLE_API by
Revision 1042:e4628f8f4b1d, committed 2016-04-13
- Comitter:
- helloqi
- Date:
- Wed Apr 13 12:43:38 2016 +0000
- Parent:
- 757:4cd3b18607ec
- Commit message:
- LinkNode_SimpleChat
Changed in this revision
| ble/GapAdvertisingData.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/GapAdvertisingData.h Tue Jul 21 13:25:40 2015 +0100
+++ b/ble/GapAdvertisingData.h Wed Apr 13 12:43:38 2016 +0000
@@ -87,16 +87,17 @@
\li \c Bluetooth Core Specification 4.0 (Vol. 3), Part C, Section 11, 18
\li \c https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile
*/
+// uint8_t FLAGS = 0x00;
/**********************************************************************/
enum DataType_t {
- FLAGS = 0x01, /**< \ref *Flags */
+ FLAGS = 0xff, /**< \ref *Flags */
INCOMPLETE_LIST_16BIT_SERVICE_IDS = 0x02, /**< Incomplete list of 16-bit Service IDs */
COMPLETE_LIST_16BIT_SERVICE_IDS = 0x03, /**< Complete list of 16-bit Service IDs */
INCOMPLETE_LIST_32BIT_SERVICE_IDS = 0x04, /**< Incomplete list of 32-bit Service IDs (not relevant for Bluetooth 4.0) */
COMPLETE_LIST_32BIT_SERVICE_IDS = 0x05, /**< Complete list of 32-bit Service IDs (not relevant for Bluetooth 4.0) */
INCOMPLETE_LIST_128BIT_SERVICE_IDS = 0x06, /**< Incomplete list of 128-bit Service IDs */
- COMPLETE_LIST_128BIT_SERVICE_IDS = 0x07, /**< Complete list of 128-bit Service IDs */
- SHORTENED_LOCAL_NAME = 0x08, /**< Shortened Local Name */
+ COMPLETE_LIST_128BIT_SERVICE_IDS = 0xff, /**< Complete list of 128-bit Service IDs */
+ SHORTENED_LOCAL_NAME = 0xff, /**< Shortened Local Name */
COMPLETE_LOCAL_NAME = 0x09, /**< Complete Local Name */
TX_POWER_LEVEL = 0x0A, /**< TX Power Level (in dBm) */
DEVICE_ID = 0x10, /**< Device ID */
