lteiot8 2.0.0.0
|
LTE IoT 8 Click is a compact add-on board that contains a low-power solution for LTE and NB-IoT connectivity. This board features the SKY66430-11, a multi-band multi-chip System-in-Package (SiP) supporting 5G Massive IoT (LTE-M/NB-IoT) platforms from Skyworks Solutions and Sequans Communications.
We provide a library for the LTEIoT8 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 LTEIoT8 Click driver.
lteiot8_cfg_setup
Config Object Initialization function. lteiot8_init
Initialization function. lteiot8_default_cfg
Click Default Configuration function. lteiot8_send_cmd
Send command function. lteiot8_set_sim_apn
Set SIM APN. lteiot8_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 driver and wake-up module and test communication.
Application taks is split in few stages:
- LTEIOT8_CONFIGURE_FOR_CONNECTION: Sets configuration to device to be able to connect to newtork.
- LTEIOT8_WAIT_FOR_CONNECTION: Checks device response untill device sends information
that it is connected to network.
Checks device connection status parameters.
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" The full application code, and ready to use projects can be installed directly from <em>NECTO Studio Package Manager</em>(recommended way), downloaded from our <a href="https://libstock.mikroe.com" >LibStock™</a> or found on <a href="https://github.com/MikroElektronika/mikrosdk_click_v2/tree/master/clicks" >mikroE github account</a>. <strong>Other mikroE Libraries used in the example:</strong> - MikroSDK.Board - MikroSDK.Log - Click.LTEIoT8 <strong>Additional notes and informations</strong> Depending on the development board you are using, you may need <a href="https://www.mikroe.com/usb-uart-click" >USB UART click</a>, <a href="https://www.mikroe.com/usb-uart-2-click" >USB UART 2 Click</a> or <a href="https://www.mikroe.com/rs232-click" >RS232 Click</a> 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 <a href="https://shop.mikroe.com/compilers" >compilers.