lteiot7 2.1.0.0
|
This file contains API for LTE IoT 7 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 | lteiot7_t |
LTE IoT 7 Click context object. More... | |
struct | lteiot7_cfg_t |
LTE IoT 7 Click configuration object. More... | |
Enumerations | |
enum | lteiot7_return_value_t { LTEIOT7_OK = 0 , LTEIOT7_ERROR = -1 , LTEIOT7_ERROR_TIMEOUT = -2 , LTEIOT7_ERROR_CMD = -3 , LTEIOT7_ERROR_UNKNOWN = -4 } |
LTE IoT 7 Click return value data. More... | |
Functions | |
void | lteiot7_cfg_setup (lteiot7_cfg_t *cfg) |
LTE IoT 7 configuration object setup function. | |
err_t | lteiot7_init (lteiot7_t *ctx, lteiot7_cfg_t *cfg) |
LTE IoT 7 initialization function. | |
err_t | lteiot7_generic_write (lteiot7_t *ctx, char *data_in, uint16_t len) |
LTE IoT 7 data writing function. | |
err_t | lteiot7_generic_read (lteiot7_t *ctx, char *data_out, uint16_t len) |
LTE IoT 7 data reading function. | |
void | lteiot7_set_pwr_pin (lteiot7_t *ctx, uint8_t state) |
LTE IoT 7 set PWR pin function. | |
void | lteiot7_set_ein_pin (lteiot7_t *ctx, uint8_t state) |
LTE IoT 7 set EIN pin function. | |
void | lteiot7_set_rts_pin (lteiot7_t *ctx, uint8_t state) |
LTE IoT 7 set RTS pin function. | |
uint8_t | lteiot7_get_ri_pin (lteiot7_t *ctx) |
LTE IoT 7 get RI pin function. | |
uint8_t | lteiot7_get_cts_pin (lteiot7_t *ctx) |
LTE IoT 7 get CTS pin function. | |
void | lteiot7_set_power_state (lteiot7_t *ctx, uint8_t state) |
LTE IoT 7 set power state function. | |
void | lteiot7_send_cmd (lteiot7_t *ctx, char *cmd) |
Send command function. | |
void | lteiot7_send_cmd_with_parameter (lteiot7_t *ctx, char *at_cmd_buf, char *param_buf) |
Send command function with parameter. | |
void | lteiot7_send_cmd_check (lteiot7_t *ctx, char *at_cmd_buf) |
Check the sent command. | |
void | lteiot7_send_cmd_parameter_check (lteiot7_t *ctx, char *at_cmd_buf) |
Check the command parameters. | |
void | lteiot7_set_sim_apn (lteiot7_t *ctx, char *sim_apn) |
Set sim card APN. | |
void | lteiot7_send_sms_text (lteiot7_t *ctx, char *phone_number, char *sms_text) |
LTE IoT 7 send SMS in text mode. | |
err_t | lteiot7_send_sms_pdu (lteiot7_t *ctx, char *service_center_number, char *phone_number, char *sms_text) |
LTE IoT 7 send SMS in PDU mode. | |
err_t | lteiot7_parse_gpgga (char *rsp_buf, uint8_t gpgga_element, char *element_data) |
LTE IoT 7 parse GPGGA function. | |
This file contains API for LTE IoT 7 Click Driver.