BLE 10 Click Example.
Description
This example reads and processes data from BLE 10 clicks.
The demo application is composed of two sections :
Application Init
Initializes the driver, then performs a factory reset and sets the local device name.
Application Task
Logs all the received events/responses on the USB UART. Then checks if there's a specific command string (defined by the GET_TEMP_COMMAND macro) received from the GATT Server, and if so, it executes temperature reading command and logs the results.
Additional Function
- static void ble10_clear_app_buf ( void )
- static err_t ble10_process ( void )
- static err_t bluetooth2_display_rsp ( char *rsp_end )
- Note
- We have used the nRF Connect smartphone application for the test. Make sure to configure the GATT Server properly in the nRF Connect application, then you will be able to send a desired command from it, once you connect to the click board. You can use the Sample configuration for GATT Server which comes with the application installation and then send a command via Test Service from the Server.
- Author
- Stefan Filipovic