LTE IoT 12 Click Example.
Description
Application example shows device capability of connecting to the network and sending SMS, TCP/UDP messages or getting GNSS data using standard "AT" commands.
The demo application is composed of two sections :
Application Init
Sets the device configuration for sending SMS, TCP/UDP messages or getting GNSS data.
Application Task
Depending on the selected demo example, it sends an SMS message (in PDU or TXT mode) or a TCP/UDP message or getting GNSS data ( position and altitude ).
Additional Function
- static void lteiot12_clear_app_buf ( void )
- static err_t lteiot12_process ( lteiot12_t *ctx )
- static err_t lteiot12_rsp_check ( lteiot12_t *ctx, uint8_t *response )
- static void lteiot12_error_check( err_t error_flag )
- static void lteiot12_config_for_example ( void )
- static void lteiot12_example ( void )
- static void lteiot12_check_connection ( void )
- static void lteiot12_log_response ( void )
- static void lteiot12_error_check ( err_t error_flag )
- static err_t lteiot12_check_response ( void )
- static void lteiot12_check_con_to_network ( void )
- static void gnss_parser_application ( uint8_t *rsp )
- Note
- In order for the examples to work, user needs to set the APN and SMSC (SMS PDU mode only) of entered SIM card as well as the phone number (SMS mode only) to which he wants to send an SMS. Enter valid values for the following macros: SIM_APN, SIM_SMSC and PHONE_NUMBER_TO_MESSAGE. Example: SIM_APN "internet" SIM_SMSC "+381610401" PHONE_NUMBER_TO_MESSAGE "+381659999999"
- Author
- Stefan Ilic