Enocean4 Click example.
Description
This example reads and processes data from EnOcean 4 clicks.
The demo application is composed of two sections :
Application Init
Initializes the driver and configures the click board.
Application Task
In the receiver mode, it waits for a telegram, then replies to it with the certain message. In the transmitter mode, first it sends the telegram with the certain message, then waits for a response.
Additional Function
- resp_message - Displays the response message on the USB UART.
- packet_type - Displays the packet type message on the USB UART.
- make_response - Driver handler function which stores data in the response buffer.
- log_response - Displays a response on the USB UART.
- send_telegram - Allows user to send a telegram to the determined destination.
- check_response - Waits until response is ready, then displays it on the USB UART.
- Author
- MikroE Team