5gNbIot Click example
Description
This example reads and processes data from 5G NB IoT click.
The demo application is composed of two sections :
Application Init
Initializes driver and wake-up module and sets default configuration for connecting device to network.
Application Task
Waits for device to connect to network and then sends an SMS to the selected phone number.
Additional Function
- static void c5gnbiot_clear_app_buf ( void )
- static void c5gnbiot_error_check( err_t error_flag )
- static void c5gnbiot_log_app_buf ( void )
- static void c5gnbiot_check_connection( void )
- static err_t c5gnbiot_rsp_check ( void )
- static err_t c5gnbiot_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 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
- MikroE Team