High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
ktownsend
Date:
Mon Dec 16 20:00:05 2013 +0000
Parent:
9:124ae067ae27
Child:
11:200931be5617
Commit message:
Further advertising tests

Changed in this revision

hw/nrf51822.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/hw/nrf51822.cpp	Mon Dec 16 19:43:33 2013 +0000
+++ b/hw/nrf51822.cpp	Mon Dec 16 20:00:05 2013 +0000
@@ -165,18 +165,18 @@
     /* ToDo: Check response */
     wait(0.1);
 
-    /* 3.) Send scan response data, Command ID = 0x000x */
+    /* 3.) Send scan response data, Command ID = 0x000B */
     if ((params.getAdvertisingType() == GapAdvertisingParams::ADV_SCANNABLE_UNDIRECTED))
     {
         len = advData.getPayloadLen();
         buffer = advData.getPayload();
-        uart.printf("10 0A 00 %02X ", len);
+        uart.printf("10 0B 00 %02X ", len);
         for (uint16_t i = 0; i < len; i++)
         {
             uart.printf(" %02X", buffer[i]);
         }
         uart.printf("\r\n");
-        
+
         /* ToDo: Check response */
         wait(0.1);
     }