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

Evothings application screenshot

Android Evothings application sources

Android application APK

Happy coding!
maxxir 02/03/19

Committer:
mbedAustin
Date:
Wed Jan 28 00:30:09 2015 +0000
Revision:
0:5375be4301ed
Child:
1:0692bee84264
Initial Base, nothing written, just a skeleton program with libraries

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbedAustin 0:5375be4301ed 1 #include "mbed.h"
mbedAustin 0:5375be4301ed 2 #include "BLEDevice.h"
mbedAustin 0:5375be4301ed 3
mbedAustin 0:5375be4301ed 4
mbedAustin 0:5375be4301ed 5 int
mbedAustin 0:5375be4301ed 6 main(void)
mbedAustin 0:5375be4301ed 7 {
mbedAustin 0:5375be4301ed 8 printf("This is an example program...");
mbedAustin 0:5375be4301ed 9 while(1){}
mbedAustin 0:5375be4301ed 10 }