lteiot6
2.0.0.0
|
LTEIoT6 Click example. More...
Macros | |
#define | APP_OK 0 |
#define | APP_ERROR_DRIVER -1 |
#define | APP_ERROR_OVERFLOW -2 |
#define | APP_ERROR_TIMEOUT -3 |
#define | RSP_OK "OK" |
#define | RSP_ERROR "ERROR" |
#define | SIM_APN "" |
#define | PHONE_NUMBER_TO_MESSAGE "" |
#define | MESSAGE_CONTENT "LTE IoT 6 Click" |
#define | PROCESS_BUFFER_SIZE 500 |
#define | WAIT_FOR_CONNECTION 0 |
#define | CONNECTED_TO_NETWORK 1 |
#define | CHECK_CONNECTION "AT+CGATT?" |
#define | CONNECTED "+CGATT: 1" |
#define | NOT_CONNECTED "+CGATT: 0" |
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
LTEIoT6 Click example.
This example reads and processes data from LTE IoT 6 clicks.
The demo application is composed of two sections :
Initializes driver and wake-up module.
Reads the received data and parses it.
#Note: 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"
#define APP_ERROR_DRIVER -1 |
#define APP_ERROR_OVERFLOW -2 |
#define APP_ERROR_TIMEOUT -3 |
#define APP_OK 0 |
#define CHECK_CONNECTION "AT+CGATT?" |
#define CONNECTED "+CGATT: 1" |
#define CONNECTED_TO_NETWORK 1 |
#define MESSAGE_CONTENT "LTE IoT 6 Click" |
#define NOT_CONNECTED "+CGATT: 0" |
#define PHONE_NUMBER_TO_MESSAGE "" |
#define PROCESS_BUFFER_SIZE 500 |
#define RSP_ERROR "ERROR" |
#define RSP_OK "OK" |
#define SIM_APN "" |
#define WAIT_FOR_CONNECTION 0 |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
void application_task | ( | void | ) |
void main | ( | void | ) |