|
lteiot15 2.2.0
|
This file contains API for LTE IoT 15 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 | lteiot15_t |
| LTE IoT 15 Click context object. More... | |
| struct | lteiot15_cfg_t |
| LTE IoT 15 Click configuration object. More... | |
Enumerations | |
| enum | lteiot15_return_value_t { LTEIOT15_OK = 0 , LTEIOT15_ERROR = -1 , LTEIOT15_ERROR_TIMEOUT = -2 , LTEIOT15_ERROR_CMD = -3 } |
| LTE IoT 15 Click return value data. More... | |
Functions | |
| void | lteiot15_cfg_setup (lteiot15_cfg_t *cfg) |
| LTE IoT 15 configuration object setup function. | |
| err_t | lteiot15_init (lteiot15_t *ctx, lteiot15_cfg_t *cfg) |
| LTE IoT 15 initialization function. | |
| err_t | lteiot15_generic_write (lteiot15_t *ctx, uint8_t *data_in, uint16_t len) |
| LTE IoT 15 data writing function. | |
| err_t | lteiot15_generic_read (lteiot15_t *ctx, uint8_t *data_out, uint16_t len) |
| LTE IoT 15 data reading function. | |
| void | lteiot15_set_pwr_pin (lteiot15_t *ctx, uint8_t state) |
| LTE IoT 15 set PWR pin function. | |
| void | lteiot15_set_rst_pin (lteiot15_t *ctx, uint8_t state) |
| LTE IoT 15 set RST pin function. | |
| void | lteiot15_set_rts_pin (lteiot15_t *ctx, uint8_t state) |
| LTE IoT 15 set RTS pin function. | |
| uint8_t | lteiot15_get_ring_pin (lteiot15_t *ctx) |
| LTE IoT 15 get RING pin function. | |
| uint8_t | lteiot15_get_cts_pin (lteiot15_t *ctx) |
| LTE IoT 15 get CTS pin function. | |
| void | lteiot15_set_power_state (lteiot15_t *ctx, uint8_t state) |
| LTE IoT 15 set power state function. | |
| void | lteiot15_cmd_run (lteiot15_t *ctx, uint8_t *cmd) |
| LTE IoT 15 cmd run function. | |
| void | lteiot15_cmd_set (lteiot15_t *ctx, uint8_t *cmd, uint8_t *value) |
| LTE IoT 15 cmd set function. | |
| void | lteiot15_cmd_get (lteiot15_t *ctx, uint8_t *cmd) |
| LTE IoT 15 cmd get function. | |
| void | lteiot15_cmd_help (lteiot15_t *ctx, uint8_t *cmd) |
| LTE IoT 15 cmd help function. | |
| void | lteiot15_set_sim_apn (lteiot15_t *ctx, uint8_t *sim_apn) |
| Set sim card APN. | |
| void | lteiot15_send_sms_text (lteiot15_t *ctx, uint8_t *phone_number, uint8_t *sms_text) |
| LTE IoT 15 send SMS in text mode. | |
| err_t | lteiot15_send_sms_pdu (lteiot15_t *ctx, uint8_t *service_center_number, uint8_t *phone_number, uint8_t *sms_text) |
| LTE IoT 15 send SMS in PDU mode. | |
This file contains API for LTE IoT 15 Click Driver.