ltecat12 2.1.0.0
|
This file contains API for LTE Cat.1 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | ltecat12_t |
LTE Cat.1 2 Click context object. More... | |
struct | ltecat12_cfg_t |
LTE Cat.1 2 Click configuration object. More... | |
Enumerations | |
enum | ltecat12_return_value_t { LTECAT12_OK = 0 , LTECAT12_ERROR = -1 , LTECAT12_ERROR_TIMEOUT = -2 , LTECAT12_ERROR_CMD = -3 , LTECAT12_ERROR_UNKNOWN = -4 } |
LTE Cat.1 2 Click return value data. More... | |
Functions | |
void | ltecat12_cfg_setup (ltecat12_cfg_t *cfg) |
LTE Cat.1 2 configuration object setup function. | |
err_t | ltecat12_init (ltecat12_t *ctx, ltecat12_cfg_t *cfg) |
LTE Cat.1 2 initialization function. | |
err_t | ltecat12_generic_write (ltecat12_t *ctx, uint8_t *data_in, uint16_t len) |
LTE Cat.1 2 data writing function. | |
err_t | ltecat12_generic_read (ltecat12_t *ctx, uint8_t *data_out, uint16_t len) |
LTE Cat.1 2 data reading function. | |
err_t | ltecat12_write_register (ltecat12_t *ctx, uint8_t reg, uint8_t data_in) |
LTE Cat.1 2 MAX9860 writing function. | |
err_t | ltecat12_read_register (ltecat12_t *ctx, uint8_t reg, uint8_t *data_out) |
LTE Cat.1 2 MAX9860 reading function. | |
err_t | ltecat12_max9860_cfg (ltecat12_t *ctx) |
LTE Cat.1 2 MAX9860 configuration function. | |
void | ltecat12_set_fsd_pin (ltecat12_t *ctx, uint8_t state) |
LTE Cat.1 2 set fsd pin function. | |
void | ltecat12_set_rts_pin (ltecat12_t *ctx, uint8_t state) |
LTE Cat.1 2 set rts pin function. | |
uint8_t | ltecat12_get_cts_pin (ltecat12_t *ctx) |
LTE Cat.1 2 get cts pin function. | |
void | ltecat12_send_cmd (ltecat12_t *ctx, uint8_t *cmd) |
LTE Cat.1 2 send command function. | |
void | ltecat12_send_cmd_with_params (ltecat12_t *ctx, uint8_t *at_cmd_buf, uint8_t *param_buf) |
LTE Cat.1 2 send command function with parameter. | |
void | ltecat12_send_cmd_check (ltecat12_t *ctx, uint8_t *at_cmd_buf) |
LTE Cat.1 2 check the sent command. | |
void | ltecat12_send_cmd_parameter_check (ltecat12_t *ctx, uint8_t *at_cmd_buf) |
LTE Cat.1 2 check the command parameters. | |
void | ltecat12_set_sim_apn (ltecat12_t *ctx, uint8_t *sim_apn) |
LTE Cat.1 2 set sim card APN. | |
void | ltecat12_send_sms_text (ltecat12_t *ctx, uint8_t *phone_number, uint8_t *sms_text) |
LTE Cat.1 2 send SMS in text mode. | |
err_t | ltecat12_send_sms_pdu (ltecat12_t *ctx, uint8_t *service_center_number, uint8_t *phone_number, uint8_t *sms_text) |
LTE Cat.1 2 send SMS in PDU mode. | |
This file contains API for LTE Cat.1 2 Click Driver.