lteiot3
2.0.0.0
|
This file contains API for LTE IoT 3 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | lteiot3_t |
LTE IoT 3 Click context object. More... | |
struct | lteiot3_cfg_t |
LTE IoT 3 Click configuration object. More... | |
Macros | |
#define | LTEIOT3_CMD_AT "AT" |
LTE IoT 3 description commands. More... | |
#define | LTEIOT3_CMD_ATI "ATI" |
#define | LTEIOT3_CMD_CGMR "AT+CGMR" |
#define | LTEIOT3_CMD_CFUN "AT+CFUN" |
#define | LTEIOT3_CMD_CREG "AT+CREG" |
#define | LTEIOT3_CMD_CEREG "AT+CEREG" |
#define | LTEIOT3_CMD_CGDCONT "AT+CGDCONT" |
#define | LTEIOT3_CMD_CIMI "AT+CIMI" |
#define | LTEIOT3_CMD_CGATT "AT+CGATT" |
#define | LTEIOT3_CMD_CSQ "AT+CSQ" |
#define | LTEIOT3_CMD_CESQ "AT+CESQ" |
#define | LTEIOT3_CMD_COPS "AT+COPS" |
#define | LTEIOT3_CMD_URAT "AT+URAT" |
#define | LTEIOT3_CMD_UBANDMASK "AT+UBANDMASK" |
#define | LTEIOT3_CMD_URATCONF "AT+URATCONF" |
#define | LTEIOT3_CMD_UAUTHREQ "AT+UAUTHREQ" |
#define | LTEIOT3_CMD_UUICC "AT+UUICC" |
#define | LTEIOT3_CMD_UCGED "AT+UCGED" |
#define | LTEIOT3_CMD_UCELLINFO "AT+UCELLINFO" |
#define | LTEIOT3_CMD_UANTR "AT+UANTR" |
#define | LTEIOT3_CMD_CMGF "AT+CMGF" |
#define | LTEIOT3_GNSS_GPGGA "GPGGA" |
LTE IoT 3 GNNS helping. More... | |
#define | LTEIOT3_GNSS_START '$' |
#define | LTEIOT3_GNSS_SEPARATOR ',' |
#define | LTEIOT3_GPGGA_LATITUDE 2 |
LTE IoT 3 GPGGA value elements. More... | |
#define | LTEIOT3_GPGGA_LONGITUDE 4 |
#define | LTEIOT3_GPGGA_ALTITUDE 9 |
#define | LTEIOT3_SYSSTART "^SYSSTART" |
LTE IoT 3 start response. More... | |
#define | LTEIOT3_RSP_OK "OK" |
LTE IoT 3 device response for AT commands. More... | |
#define | LTEIOT3_RSP_ERROR "ERROR" |
#define | DRV_TX_BUFFER_SIZE 200 |
LTE IoT 3 driver buffer size. More... | |
#define | DRV_RX_BUFFER_SIZE 500 |
#define | LTEIOT3_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. More... | |
Enumerations | |
enum | lteiot3_return_value_t { LTEIOT3_OK = 0, LTEIOT3_ERROR = -1, LTEIOT3_ERROR_OVERFLOW = -2, LTEIOT3_ERROR_TIMEOUT = -3 } |
LTE IoT 3 Click return value data. More... | |
Functions | |
void | lteiot3_cfg_setup (lteiot3_cfg_t *cfg) |
LTE IoT 3 configuration object setup function. More... | |
err_t | lteiot3_init (lteiot3_t *ctx, lteiot3_cfg_t *cfg) |
LTE IoT 3 initialization function. More... | |
err_t | lteiot3_default_cfg (lteiot3_t *ctx) |
LTE IoT 3 default configuration function. More... | |
err_t | lteiot3_generic_write (lteiot3_t *ctx, char *data_buf, uint16_t len) |
LTE IoT 3 data writing function. More... | |
err_t | lteiot3_generic_read (lteiot3_t *ctx, char *data_buf, uint16_t max_len) |
LTE IoT 3 data reading function. More... | |
void | lteiot3_set_pin_on (lteiot3_t *ctx, uint8_t state) |
Set ON pin state. More... | |
void | lteiot3_send_cmd (lteiot3_t *ctx, char *cmd) |
Send command function. More... | |
void | lteiot3_send_cmd_with_parameter (lteiot3_t *ctx, char *at_cmd_buf, char *param_buf) |
Send command function with parameter. More... | |
void | lteiot3_send_cmd_check (lteiot3_t *ctx, char *at_cmd_buf) |
Check the sent command. More... | |
void | lteiot3_send_cmd_parameter_check (lteiot3_t *ctx, char *at_cmd_buf) |
Check the command parameters. More... | |
void | lteiot3_set_sim_apn (lteiot3_t *ctx, char *sim_apn) |
Set sim card APN. More... | |
void | lteiot3_send_text_message (lteiot3_t *ctx, char *phone_number, char *message_context) |
LTE IoT 3 send text message. More... | |
This file contains API for LTE IoT 3 Click Driver.