MBusRf4 Click example.
Description
This example reads and processes data from M-BUS RF 4 clicks.
The demo application is composed of two sections :
Application Init
Initializes driver init, reads basic information and checks communication
Application Task
In the RX mode it is waiting to receive data from another module... In the TX mode sends the data packet....
Additional Function
- mbusrf4_process ( ) - The general process of collecting data and adding it to application buffer;
- mbrusrf4_clear_buff ( void ) - Clear application buffer data;
- mbusrf4_parser_tx ( void ) - Transmit data status parser;
- mbusrf4_parser_rx ( uint8_t logg_type ) - Receiver data parser;
- mbusrf4_log_data ( uint8_t log_type, uint8_t *log_buf, int32_t log_len ) - Log application buffer;
Note: You can't send less then 10 data byte!
- Author
- MikroE Team