4G LTE-NA Click Example.
Description
This example reads and processes data from 4G LTE-NA click.
The demo application is composed of two sections :
Application Init
Initializes the driver and powers up the module, then sets default configuration for connecting the device to network.
Application Task
Waits for device to connect to network and then sends a desired SMS to the selected phone number approximately every 30 seconds.
Additional Function
- static void c4gltena_clear_app_buf ( void )
- static void c4gltena_error_check( err_t error_flag )
- static void c4gltena_log_app_buf ( void )
- static void c4gltena_check_connection( void )
- static err_t c4gltena_rsp_check ( void )
- static err_t c4gltena_process ( void )
- Note
- 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 (required for PDU mode only) of entered SIM card. Enter valid data for the following macros: SIM_APN, SIM_SMSC and PHONE_NUMBER_TO_MESSAGE. E.g. SIM_APN "vipmobile" SIM_SMSC "+381610401" PHONE_NUMBER_TO_MESSAGE "+381659999999"
- Author
- Stefan Ilic