How to turn a WaveShare nRF51-BLE400 into a discoverable beacon using mbed
Dependencies: mbed BLE_API nRF51822
Port for WaveShare BLE400 (chip nRF51 Aliexpress devboard)
Android Evothings good example for Nordic nRF51822-DK
As target for mbed-online used <Nordic nRF51822>
- (Large green board Nordic nRF51822-mKIT, actually deprecated on 01/03/2019)
Briefly: Handle via Evothings BLE Application 4 LEDs and 2 Buttons(via notify messages).
Figure 1: Evothings Android application screenshot
Android Evothings application sources
Happy coding!
maxxir 02/03/19
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)