This is a simple application that demonstrate a Bluetooth server device and a client device.
In this example I am using nRF52840-DK (PCS10056) board
BLE Blinky Application Example
This application program flashes a Bluetooth server onto nRF52840-DK board. It advertise and waits for a client to connect to it.
This application board can be connected via
- BLE Blinky Client application
- nRF Connect program
- nRF Blinky apps on a Andriod Smart Phone
Location of the source code:
…\nRF SDK\examples\ble_peripheral\ble_app_blinky
BLE Blinky Client Application Example
This application program flashes a Bluetooth client onto nRF52840-DK board. It connects to the server.
Pressing a Button 1 on one board will result in LED 3 lighted up in the other board.
Location of the source code:
…\nRF SDK\examples\ble_central\ble_app_blinky_c
nRF Connect program Example
Start scan on the program to search for the Bluetooth device named “Nordic_Blinky”. Connect to it.
Browse through the services, there is one that starts with 00001523xxxxx… Under this service, there is a attribute ID starting with 00001525xxxx… This is the input that acts like a switch on the actual board. Change the number in this field to 00 or 01 and see the LED 3 lights up on the nRF52840-DK server board. Under this service, there is also an attribute ID 00001524. Here there is a play button. Click on the play button to receive notification from the server board. When the button 1 is pressed on the server board, you should see that this value will change according to the physical button pressed.
The whole experiment is similar to the BLE Blinky Client Application board.