lteiot14
2.1.0.0
|
This file contains API for LTE IoT 14 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 | lteiot14_t |
LTE IoT 14 Click context object. More... | |
struct | lteiot14_cfg_t |
LTE IoT 14 Click configuration object. More... | |
Enumerations | |
enum | lteiot14_return_value_t { LTEIOT14_OK = 0, LTEIOT14_ERROR = -1, LTEIOT14_ERROR_TIMEOUT = -2, LTEIOT14_ERROR_CMD = -3, LTEIOT14_ERROR_UNKNOWN = -4 } |
LTE IoT 14 Click return value data. More... | |
Functions | |
void | lteiot14_cfg_setup (lteiot14_cfg_t *cfg) |
LTE IoT 14 configuration object setup function. More... | |
err_t | lteiot14_init (lteiot14_t *ctx, lteiot14_cfg_t *cfg) |
LTE IoT 14 initialization function. More... | |
err_t | lteiot14_generic_write (lteiot14_t *ctx, uint8_t *data_in, uint16_t len) |
LTE IoT 14 data writing function. More... | |
err_t | lteiot14_generic_read (lteiot14_t *ctx, uint8_t *data_out, uint16_t len) |
LTE IoT 14 data reading function. More... | |
void | lteiot14_set_pwr_pin (lteiot14_t *ctx, uint8_t state) |
LTE IoT 14 set PWR pin function. More... | |
void | lteiot14_set_rst_pin (lteiot14_t *ctx, uint8_t state) |
LTE IoT 14 set RST pin function. More... | |
void | lteiot14_set_rts_pin (lteiot14_t *ctx, uint8_t state) |
LTE IoT 14 set RTS pin function. More... | |
uint8_t | lteiot14_get_ring_pin (lteiot14_t *ctx) |
LTE IoT 14 get RING pin function. More... | |
uint8_t | lteiot14_get_cts_pin (lteiot14_t *ctx) |
LTE IoT 14 get CTS pin function. More... | |
void | lteiot14_set_power_state (lteiot14_t *ctx, uint8_t state) |
LTE IoT 14 set power state function. More... | |
void | lteiot14_send_cmd (lteiot14_t *ctx, uint8_t *cmd) |
Send command function. More... | |
void | lteiot14_send_cmd_par (lteiot14_t *ctx, uint8_t *at_cmd_buf, uint8_t *param_buf) |
Send command function with parameter. More... | |
void | lteiot14_send_cmd_check (lteiot14_t *ctx, uint8_t *at_cmd_buf) |
Check the sent command. More... | |
void | lteiot14_set_sim_apn (lteiot14_t *ctx, uint8_t *sim_apn) |
Set sim card APN. More... | |
void | lteiot14_send_sms_text (lteiot14_t *ctx, uint8_t *phone_number, uint8_t *sms_text) |
LTE IoT 14 send SMS in text mode. More... | |
err_t | lteiot14_send_sms_pdu (lteiot14_t *ctx, uint8_t *service_center_number, uint8_t *phone_number, uint8_t *sms_text) |
LTE IoT 14 send SMS in PDU mode. More... | |
This file contains API for LTE IoT 14 Click Driver.