c4glte2voicena
2.1.0.0
|
This file contains API for 4G LTE 2 Voice-NA 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 | c4glte2voicena_t |
4G LTE 2 Voice-NA Click context object. More... | |
struct | c4glte2voicena_cfg_t |
4G LTE 2 Voice-NA Click configuration object. More... | |
Enumerations | |
enum | c4glte2voicena_return_value_t { C4GLTE2VOICENA_OK = 0, C4GLTE2VOICENA_ERROR = -1, C4GLTE2VOICENA_ERROR_TIMEOUT = -2, C4GLTE2VOICENA_ERROR_CMD = -3, C4GLTE2VOICENA_ERROR_UNKNOWN = -4 } |
4G LTE 2 Voice-NA Click return value data. More... | |
Functions | |
void | c4glte2voicena_cfg_setup (c4glte2voicena_cfg_t *cfg) |
4G LTE 2 Voice-NA configuration object setup function. More... | |
err_t | c4glte2voicena_init (c4glte2voicena_t *ctx, c4glte2voicena_cfg_t *cfg) |
4G LTE 2 Voice-NA initialization function. More... | |
err_t | c4glte2voicena_generic_write (c4glte2voicena_t *ctx, char *data_in, uint16_t len) |
4G LTE 2 Voice-NA data writing function. More... | |
err_t | c4glte2voicena_generic_read (c4glte2voicena_t *ctx, char *data_out, uint16_t len) |
4G LTE 2 Voice-NA data reading function. More... | |
void | c4glte2voicena_set_pwr_pin (c4glte2voicena_t *ctx, uint8_t state) |
4G LTE 2 Voice-NA set PWR pin function. More... | |
void | c4glte2voicena_set_sts_pin (c4glte2voicena_t *ctx, uint8_t state) |
4G LTE 2 Voice-NA set STS pin function. More... | |
void | c4glte2voicena_set_rts_pin (c4glte2voicena_t *ctx, uint8_t state) |
4G LTE 2 Voice-NA set RTS pin function. More... | |
uint8_t | c4glte2voicena_get_ri_pin (c4glte2voicena_t *ctx) |
4G LTE 2 Voice-NA get RI pin function. More... | |
uint8_t | c4glte2voicena_get_cts_pin (c4glte2voicena_t *ctx) |
4G LTE 2 Voice-NA get CTS pin function. More... | |
void | c4glte2voicena_set_power_state (c4glte2voicena_t *ctx, uint8_t state) |
4G LTE 2 Voice-NA set power state function. More... | |
void | c4glte2voicena_send_cmd (c4glte2voicena_t *ctx, char *cmd) |
Send command function. More... | |
void | c4glte2voicena_send_cmd_par (c4glte2voicena_t *ctx, char *at_cmd_buf, char *param_buf) |
Send command function with parameter. More... | |
void | c4glte2voicena_send_cmd_check (c4glte2voicena_t *ctx, char *at_cmd_buf) |
Check the sent command. More... | |
void | c4glte2voicena_set_sim_apn (c4glte2voicena_t *ctx, char *sim_apn) |
Set sim card APN. More... | |
void | c4glte2voicena_send_sms_text (c4glte2voicena_t *ctx, char *phone_number, char *sms_text) |
4G LTE 2 Voice-NA send SMS in text mode. More... | |
err_t | c4glte2voicena_send_sms_pdu (c4glte2voicena_t *ctx, char *service_center_number, char *phone_number, char *sms_text) |
4G LTE 2 Voice-NA send SMS in PDU mode. More... | |
This file contains API for 4G LTE 2 Voice-NA Click Driver.