High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: hw/nrf51822.cpp
- Revision:
- 10:f905b036bb07
- Parent:
- 9:124ae067ae27
- Child:
- 11:200931be5617
--- 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); }