Bluetooth 2 Click Example.
Description
This example reads and processes data from Bluetooth 2 clicks.
The demo application is composed of two sections :
Application Init
Initializes the driver, then performs a factory reset, removes all pairings, and sets the local device name.
Application Task
Logs all the received messages/responses on the USB UART, and if there's any device connected to the click board the module sends a desired message every 5 seconds back to it.
Additional Function
- static void bluetooth2_clear_app_buf ( void )
- static err_t bluetooth2_process ( void )
- static err_t bluetooth2_display_rsp ( uint16_t timeout )
- Note
- We have used the Serial Bluetooth Terminal smartphone application for the test. A smartphone and the click board must be paired in order to exchange messages with each other.
- Author
- Stefan Filipovic