M-BUS RF 3 Click Example.
Description
This example demonstrates the use of M-BUS RF 3 click board by processing the incoming data and displaying them on the USB UART.
The demo application is composed of two sections :
Application Init
Initializes the driver and performs the click configuration depending on selected DEMO_EXAMPLE macro.
Application Task
This example contains two examples depending on selected DEMO_EXAMPLE macro: EXAMPLE_TRANSMIT - Device is sending MESSAGE data to be read by receiver. EXAMPLE_RECEIVER - Device is reading transmitted message, and display it on USB UART terminal.
Additional Function
- static void mbusrf3_clear_app_buf ( void )
- static void mbusrf3_log_app_buf ( void )
- static err_t mbusrf3_process ( mbusrf3_t *ctx )
- static err_t mbusrf3_rsp_check ( uint8_t cmd )
- static void mbusrf3_error_check ( err_t error_flag )
- static void mbusrf3_configure_for_example ( void )
- static void mbusrf3_example ( void )
- Author
- Stefan Ilic