LR 11 868MHz Click Example.
Description
This example demonstrates the use of LR 11 868MHz Click board by showing the communication between two Click boards configured in P2P network mode.
The demo application is composed of two sections :
Application Init
Initializes the driver and logger.
Application Task
Application task is split in few stages:
- LR11868MHZ_POWER_UP: Powers up the device, performs a device factory reset and reads system information.
- LR11868MHZ_CONFIG_EXAMPLE: Configures device for the LoRa P2P network mode.
- LR11868MHZ_EXAMPLE: Performs a LoRa P2P example by exchanging messages with another LR 11 868MHz Click board. One device should be set to NODE_0_ADDRESS, and the other to NODE_1_ADDRESS.
Additional Function
- static void lr11868mhz_clear_app_buf ( void )
- static void lr11868mhz_log_app_buf ( void )
- static err_t lr11868mhz_process ( lr11868mhz_t *ctx )
- static err_t lr11868mhz_read_response ( lr11868mhz_t *ctx, uint8_t *rsp )
- static err_t lr11868mhz_power_up ( lr11868mhz_t *ctx )
- static err_t lr11868mhz_config_example ( lr11868mhz_t *ctx )
- static err_t lr11868mhz_example ( lr11868mhz_t *ctx )
- Author
- Stefan Filipovic