LR 11 915MHz Click Example.
Description
This example demonstrates the use of LR 11 915MHz 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:
- LR11915MHZ_POWER_UP: Powers up the device, performs a device factory reset and reads system information.
- LR11915MHZ_CONFIG_EXAMPLE: Configures device for the LoRa P2P network mode.
- LR11915MHZ_EXAMPLE: Performs a LoRa P2P example by exchanging messages with another LR 11 915MHz Click board. One device should be set to NODE_0_ADDRESS, and the other to NODE_1_ADDRESS.
Additional Function
- static void lr11915mhz_clear_app_buf ( void )
- static void lr11915mhz_log_app_buf ( void )
- static err_t lr11915mhz_process ( lr11915mhz_t *ctx )
- static err_t lr11915mhz_read_response ( lr11915mhz_t *ctx, uint8_t *rsp )
- static err_t lr11915mhz_power_up ( lr11915mhz_t *ctx )
- static err_t lr11915mhz_config_example ( lr11915mhz_t *ctx )
- static err_t lr11915mhz_example ( lr11915mhz_t *ctx )
- Author
- Stefan Filipovic