lteiot9
2.0.0.0
|
LTE IoT 9 Click is a compact add-on board containing a cellular IoT Module that supports 3GPP Release 14 and all LTE bands.
We provide a library for the LTEIoT9 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 LTEIoT9 Click driver.
lteiot9_cfg_setup
Config Object Initialization function. lteiot9_init
Initialization function. lteiot9_default_cfg
Click Default Configuration function. lteiot9_generic_read
Function reads a desired number of data bytes by using UART serial interface. lteiot9_send_cmd
Function sends the specified command to the click module. lteiot9_set_sim_apn
Function sets APN for sim card. This application shows capability of LTE IoT 9 click board.
It connects to network with standard "AT" commands, then sends SMS whit SIM card, and then logs GNNS data.
The demo application is composed of two sections :
Initializes driver and wake-up module and checks
communication and device version.
Application taks is split in few stages:
- CONFIGURATION_FOR_NETWORK : Sets configuration to device to
be able to connect to newtork.
- CHECK_NETWORK_CONNECTION : Checks device connection status
till device is connected to network.
- SENDING_SMS : Sends SMS message to desired number in text mode. >- CONFIGURATION_FOR_GNSS : Sets configuration to device to enable GNSS data.
- GNSS_DATA : Reads and parses data from device to
get latitude, longitude and altitude from device
In order for the example to work,
user needs to set the phone number and sim apn to which he wants to send an SMS
Enter valid data for the following macros: SIM_APN and PHONE_NUMBER_TO_MESSAGE.
E.g.
SIM_APN "vip.mobile", PHONE_NUMBER_TO_MESSAGE "999999999"
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.