nbiot4
2.0.0.0
|
NB IoT 4 Click is a compact add-on board that contains a cellular IoT-based module with integrated eSIM for global data connectivity. This board features the C1-RM, a three-band NB-IoT, IoT/2G wireless communication module supporting Band 3, 5, and 8 mainly applied to low power data transmission service from Cavli Wireless.
We provide a library for the NBIoT4 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 NBIoT4 Click driver.
nbiot4_cfg_setup
Config Object Initialization function. nbiot4_init
Initialization function. nbiot4_default_cfg
Click Default Configuration function. nbiot4_send_cmd
Send command function. nbiot4_set_sim_apn
Set SIM APN. nbiot4_send_text_message
Send SMS message to number in text mode. Application example shows device capability to connect
network and send SMS messages using standard "AT" commands.
The demo application is composed of two sections :
Initializes UART communication modules and additional pins
wait for powerup or restarts device. Test communication and read information from device.
First it confiures device for connection to network(sets
extern sim, selected apn). It waits until device gets information that is connected to home network. Then checks connection parameters. After that it configures device for one type of sending message TEXT or PDU mode. In the end it sends SMS message to selected number.
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.