wifiesp
2.0.0.0
|
Functions | |
void | wifiesp_cfg_setup (wifiesp_cfg_t *cfg) |
Config Object Initialization function. More... | |
WIFIESP_RETVAL | wifiesp_init (wifiesp_t *ctx, wifiesp_cfg_t *cfg) |
Initialization function. More... | |
void | wifiesp_default_cfg (wifiesp_t *ctx) |
Click Default Configuration function. More... | |
void | wifiesp_generic_write (wifiesp_t *ctx, char *data_buf, uint16_t len) |
Generic write function. More... | |
int32_t | wifiesp_generic_read (wifiesp_t *ctx, char *data_buf, int32_t max_len) |
Generic read function. More... | |
void | wifiesp_send_cmd (wifiesp_t *ctx, uint8_t *cmd, uint8_t *args) |
Sends AT command to the module. More... | |
void wifiesp_cfg_setup | ( | wifiesp_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void wifiesp_default_cfg | ( | wifiesp_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description 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.
wifiesp | 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.
wifiesp | Click object. |
data_buf | Data buffer for sends. |
len | Number of bytes for sends. |
WIFIESP_RETVAL wifiesp_init | ( | wifiesp_t * | ctx, |
wifiesp_cfg_t * | cfg | ||
) |
Initialization function.
wifiesp | Click object. |
cfg | Click configuration structure. |
@description 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.
wifiesp | Click object. |
cmd | AT command |
args | AT command arguments string pointer (NULL if no arguments). |
@description This function sends AT command to wifiesp click.