Using nRF51 as Line Beacon
Dependencies: BLE_API mbed nRF51822
Fork of BLE_GAP_Example by
Diff: main.cpp
- Revision:
- 6:a7595838d240
- Parent:
- 5:fff16d283dcf
- Child:
- 7:f9a2fa5b1d43
--- a/main.cpp Tue Mar 10 20:58:12 2015 +0000 +++ b/main.cpp Tue Mar 10 21:52:58 2015 +0000 @@ -13,8 +13,8 @@ Make up your own encoding for these 26bytes, send it across and decode it using the evothings app. */ -//const static uint8_t AdvData[] = {"ChangeThisData"}; // example of character data -const static uint8_t AdvData[] = {0x01,0x02,0x03,0x04,0x05}; // example of hex data +const static uint8_t AdvData[] = {"ChangeThisData"}; // example of character data +//const static uint8_t AdvData[] = {0x01,0x02,0x03,0x04,0x05}; // example of hex data // main program int main(void)