LR5 Click example.
Description
This example reads and processes data from LR 5 clicks.
The demo application is composed of two sections :
Application Init
Initializes UART interface and UART interrupt, and performs a module reset commands.
Application Task
Performs a group of commands to get FW version, the serial number provided by Mipot, DevEUI, the session status, the activation status and the parameters for the selected channel. Also sets the next transmission data rate to the desired value. The responses from the Mipot module to the host will be sent to the uart terminal.
Additional Function
- lr5_process - The general process of collecting data the module sends.
- make_response - Stores data from the module to the response structure.
- log_response - Sends the received response from the module to the uart terminal.
- wait_response - Waits until response from the module is ready and then calls the response logging function, or writes the error message on the uart terminal.
- Author
- MikroE Team