lteiot4 2.0.0.0
|
This file contains API for LTE IoT 4 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 | lteiot4_t |
LTE IoT 4 Click context object. More... | |
struct | lteiot4_cfg_t |
LTE IoT 4 Click configuration object. More... | |
Macros | |
#define | LTEIOT4_CMD_AT "AT" |
LTE IoT 4 description setting. | |
#define | LTEIOT4_CMD_MODULE_VERSION "AT+CGMM" |
#define | LTEIOT4_CMD_FW_VERSION "AT+CGMR" |
#define | LTEIOT4_CMD_FLIGHT_MODE "AT+CFUN=4" |
#define | LTEIOT4_CMD_NBIOT_MODE "AT%XSYSTEMMODE=0,1,0,0" |
#define | LTEIOT4_CMD_ENABLE_NET_SMS "AT+CIND=1,0,1" |
#define | LTEIOT4_CMD_FULL_FUNCTION "AT+CFUN=1" |
#define | LTEIOT4_CMD_AUTO_NET_SRC "AT+COPS=0" |
#define | LTEIOT4_CMD_SEARCH_NET "AT+CEREG=2" |
#define | LTEIOT4_CMD_SIM_TEST "AT+CIMI" |
#define | LTEIOT4_CMD_CHECK_CONNECTION "AT+CGATT?" |
#define | LTEIOT4_CMD_CHECK_REGISTARTION "AT+CEREG?" |
#define | LTEIOT4_CMD_SIGNAL_QUALITY "AT+CESQ" |
#define | LTEIOT4_CMD_SET_DUMMY_CLOCK "AT+CCLK=\"20/12/31,23:59:39+01\"" |
#define | LTEIOT4_CMD_CHECK_TEMPERATURE "AT%XTEMP?" |
#define | LTEIOT4_CMD_CHECK_CLOCK "AT+CCLK?" |
#define | DRV_BUFFER_SIZE 500 |
LTE IoT 4 driver buffer size. | |
#define | LTEIOT4_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Functions | |
void | lteiot4_cfg_setup (lteiot4_cfg_t *cfg) |
LTE IoT 4 configuration object setup function. | |
err_t | lteiot4_init (lteiot4_t *ctx, lteiot4_cfg_t *cfg) |
LTE IoT 4 initialization function. | |
err_t | lteiot4_default_cfg (lteiot4_t *ctx) |
LTE IoT 4 default configuration function. | |
err_t | lteiot4_generic_write (lteiot4_t *ctx, char *data_buf, uint16_t len) |
LTE IoT 4 data writing function. | |
err_t | lteiot4_generic_read (lteiot4_t *ctx, char *data_buf, uint16_t max_len) |
LTE IoT 4 data reading function. | |
void | lteiot4_set_rst (lteiot4_t *ctx, uint8_t state) |
Sets state of the rst pin setting. | |
void | lteiot4_send_cmd (lteiot4_t *ctx, char *cmd) |
Send command function. | |
void | lteiot4_set_sim_apn (lteiot4_t *ctx, char *sim_apn) |
Set sim card APN. | |
This file contains API for LTE IoT 4 Click Driver.