XBEE 2 Click Example.
Description
This example demonstrates the use of an XBEE 2 click board by showing the communication between the two click boards configured in transparent mode.
The demo application is composed of two sections :
Application Init
Initializes the driver and configures the click board by performing a factory reset, and setting the device name, destination address, api mode to transparent, and a device role to join or form network depending on the application mode.
Application Task
Depending on the selected application mode, it reads all the received data or sends the desired message every 3 seconds.
Additional Function
- static void xbee2_clear_app_buf ( void )
- static err_t xbee2_process ( void )
- static err_t xbee2_display_rsp ( uint16_t timeout )
- Author
- Stefan Filipovic