|
btaudio4 2.2.0
|
BT Audio 4 Click Example. More...
Macros | |
| #define | APP_BUFFER_SIZE 200 |
| #define | PROCESS_BUFFER_SIZE 100 |
| #define | READ_RESPONSE_TIMEOUT_MS 120000 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
BT Audio 4 Click Example.
This example demonstrates how to communicate with the BT Audio 4 Click board over UART. It initializes the device, resets it, retrieves the device name, and then continuously processes and logs any incoming UART messages from the device.
The demo application is composed of two sections :
Initializes the logger and the BT Audio 4 Click driver, performs a device reset, and reads the device name.
Continuously processes UART data received from the Click board and logs it to the terminal. Acts as a passive receiver of incoming messages, useful for monitoring notifications.
| #define APP_BUFFER_SIZE 200 |
| #define PROCESS_BUFFER_SIZE 100 |
| #define READ_RESPONSE_TIMEOUT_MS 120000 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |