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: hw/nrf51822.cpp
- Revision:
- 10:f905b036bb07
- Parent:
- 9:124ae067ae27
- Child:
- 11:200931be5617
diff -r 124ae067ae27 -r f905b036bb07 hw/nrf51822.cpp
--- 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);
}
