gsmgnss2 2.0.0.0
|
This file contains API for GSM/GNSS 2 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 | gsmgnss2_t |
GSM/GNSS 2 Click context object. More... | |
struct | gsmgnss2_cfg_t |
GSM/GNSS 2 Click configuration object. More... | |
Enumerations | |
enum | gsmgnss2_return_value_t { GSMGNSS2_OK = 0 , GSMGNSS2_ERROR = -1 } |
GSM/GNSS 2 Click return value data. More... | |
Functions | |
void | gsmgnss2_cfg_setup (gsmgnss2_cfg_t *cfg) |
GSM/GNSS 2 configuration object setup function. | |
err_t | gsmgnss2_init (gsmgnss2_t *ctx, gsmgnss2_cfg_t *cfg) |
GSM/GNSS 2 initialization function. | |
void | gsmgnss2_module_power (gsmgnss2_t *ctx, uint8_t state) |
Power ON/OFF the module. | |
err_t | gsmgnss2_generic_write (gsmgnss2_t *ctx, char *data_buf, uint16_t len) |
GSM/GNSS 2 data writing function. | |
err_t | gsmgnss2_generic_read (gsmgnss2_t *ctx, char *data_buf, uint16_t max_len) |
GSM/GNSS 2 data reading function. | |
void | gsmgnss2_send_cmd (gsmgnss2_t *ctx, char *cmd) |
Send command function. | |
void | gsmgnss2_send_cmd_with_parameter (gsmgnss2_t *ctx, char *at_cmd_buf, char *param_buf) |
Send command function with parameter. | |
void | gsmgnss2_send_cmd_check (gsmgnss2_t *ctx, char *at_cmd_buf) |
Check the sent command. | |
void | gsmgnss2_send_cmd_parameter_check (gsmgnss2_t *ctx, char *at_cmd_buf) |
Check the command parameters. | |
void | gsmgnss2_set_sim_apn (gsmgnss2_t *ctx, char *sim_apn) |
Set sim card APN. | |
void | gsmgnss2_send_sms_text (gsmgnss2_t *ctx, char *phone_number, char *sms_text) |
GSM GNSS 2 send SMS in text mode. | |
err_t | gsmgnss2_send_sms_pdu (gsmgnss2_t *ctx, char *service_center_number, char *phone_number, char *sms_text) |
GSM GNSS 2 send SMS in PDU mode. | |
err_t | gsmgnss2_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
GSM GNSS 2 parse GNGGA function. | |
This file contains API for GSM/GNSS 2 Click Driver.