|
void | g2c_cfg_setup (g2c_cfg_t *cfg) |
| Config Object Initialization function. More...
|
|
G2C_RETVAL | g2c_init (g2c_t *ctx, g2c_cfg_t *cfg) |
| Initialization function. More...
|
|
void | g2c_module_power (g2c_t *ctx, uint8_t power_state, uint8_t bootloader) |
| Power module. More...
|
|
void | g2c_reset (g2c_t *ctx) |
| Reset module. More...
|
|
void | g2c_generic_write (g2c_t *ctx, char *data_buf, uint16_t len) |
| Generic write function. More...
|
|
int32_t | g2c_generic_read (g2c_t *ctx, char *data_buf, uint16_t max_len) |
| Generic read function. More...
|
|
void | g2c_send_command (g2c_t *ctx, char *command) |
| Function for send command. More...
|
|
void | g2c_send_operator_cfg (g2c_t *ctx, char *op_username, char *op_password) |
| Operater ( Network ) configuration. More...
|
|
void | g2c_send_broker_cfg (g2c_t *ctx, char *brc_key, char *brc_password) |
| Broker configuration. More...
|
|
void | g2c_send_data_ref (g2c_t *ctx, char *reference_buf, char *data_buf) |
| Send data reference. More...
|
|
g2c_error_t | g2c_actuator_sw_parser (char *rsp, char *act_ref, g2c_actuator_sw_t *sw_state) |
| Switch parser function. More...
|
|
g2c_error_t | g2c_actuator_cnt_parser (char *rsp, char *act_ref, g2c_actuator_cnt_t *num_data) |
| Counter parser function. More...
|
|
g2c_error_t | g2c_actuator_str_parser (char *rsp, char *act_ref, g2c_actuator_str_t *str_data) |
| String parser function. More...
|
|
This file contains API for G2C Click driver.