wifiesp 2.0.0.0
|
Functions | |
void | wifiesp_cfg_setup (wifiesp_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | wifiesp_init (wifiesp_t *ctx, wifiesp_cfg_t *cfg) |
Initialization function. | |
void | wifiesp_default_cfg (wifiesp_t *ctx) |
Click Default Configuration function. | |
void | wifiesp_generic_write (wifiesp_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | wifiesp_generic_read (wifiesp_t *ctx, char *data_buf, int32_t max_len) |
Generic read function. | |
void | wifiesp_send_cmd (wifiesp_t *ctx, uint8_t *cmd, uint8_t *args) |
Sends AT command to the module. | |
void wifiesp_cfg_setup | ( | wifiesp_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
void wifiesp_default_cfg | ( | wifiesp_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
This function executes default configuration for wifiesp click.
int32_t wifiesp_generic_read | ( | wifiesp_t * | ctx, |
char * | data_buf, | ||
int32_t | max_len ) |
Generic read function.
ctx | Click object. |
data_buf | Data buffer for read data. |
max_len | The maximum length of data that can be read. |
void wifiesp_generic_write | ( | wifiesp_t * | ctx, |
char * | data_buf, | ||
uint16_t | len ) |
Generic write function.
ctx | Click object. |
data_buf | Data buffer for sends. |
len | Number of bytes for sends. |
err_t wifiesp_init | ( | wifiesp_t * | ctx, |
wifiesp_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.
void wifiesp_send_cmd | ( | wifiesp_t * | ctx, |
uint8_t * | cmd, | ||
uint8_t * | args ) |
Sends AT command to the module.
ctx | Click object. |
cmd | AT command |
args | AT command arguments string pointer (NULL if no arguments). |
This function sends AT command to wifiesp click.