wirepas
2.1.0.0
|
Wirepas Click is a compact add-on board that allows you to implement the Wirepas Mesh wireless connectivity stack to your application. This board features the WIRL-PRO2 Thetis-I (2611011021010), a radio module with Wirepas Mesh Protocol from Würth Elektronik. It supports creating a Wirepas routing mesh protocol and is optimized for ultra-low energy consumption. The large scalability is ideal for extensive IoT networks and can work as a host-controlled device.
We provide a library for the Wirepas Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Wirepas Click driver.
wirepas_cfg_setup
Config Object Initialization function. wirepas_init
Initialization function. wirepas_default_cfg
Click Default Configuration function. wirepas_send_command
Wirepas send command function. wirepas_write_csap_attribute
Wirepas write CSAP attribute function. wirepas_send_data
Wirepas send data function. This example demonstrates the use of Wirepas click board by processing
the incoming data and displaying them on the USB UART in sink mode, and sending data to the sinks in router mode.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration, setting device mode, node,
net and channel addresses, and starting stack.
Router mode - Sending data to the sinks at the same network.
Sink mode - Reads and processes all incoming data and displays them on the USB UART.
For the best experience use two clicks in sink mode and one in router.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.