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
Revision 10:f905b036bb07, committed 2013-12-16
- 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);
}
