lteiot6
2.0.0.0
|
LTE IoT 6 Click is a compact add-on board that contains an IoT module with worldwide coverage. This board features the SARA-R412M, a cellular module that offers multi-band data transmissions for Low Power Wide Area solutions in a compact form factor from u-Blox.
We provide a library for the lteiot6 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 lteiot6 Click driver.
lteiot6_cfg_setup
Config Object Initialization function. lteiot6_init
Initialization function. lteiot6_default_cfg
Click Default Configuration function. lteiot6_send_cmd
Send command function. lteiot6_set_sim_apn
Set SIM APN. lteiot6_send_sms_pdu
Send SMS message to number in pdu 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 driver and wake-up module and test communication.
Application taks is split in few stages:
In order for the example to work, user needs to set the phone number to which he wants
to send an SMS, and also will need to set an APN and SMSC of entered SIM card. Enter valid data for the following macros: SIM_APN, SIM_SMSC and PHONE_NUMBER_TO_MESSAGE. >>E.g. SIM_APN "vip.iot", SMSC_ADDRESS_CSCA "\"+381999999",145", SMSC_ADDRESS_PDU "+381999999" , PHONE_NUMBER_TO_MESSAGE "+381659999999", PHONE_NUMBER_TO_MESSAGE "999999999"
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.