LinkNode_SimpleChat

Dependents:   LinkNode_SimpleChatwithSerial

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

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 */