wifiesp 2.0.0.0
|
This file contains API for wifiesp Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
#include "log.h"
Go to the source code of this file.
Data Structures | |
struct | wifiesp_t |
Click ctx object definition. More... | |
struct | wifiesp_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | WIFIESP_MAP_MIKROBUS(cfg, mikrobus) |
#define | WIFIESP_DRV_RX_BUFFER_SIZE 610 |
#define | WIFIESP_DRV_TX_BUFFER_SIZE 150 |
#define | WIFIESP_CHECK "AT" |
#define | WIFIESP_RESTORE "AT+RESTORE" |
#define | WIFIESP_RST "AT+RST" |
#define | WIFIESP_CHECK_FIRMWARE "AT+GMR" |
#define | WIFIESP_SET_MODE "AT+CWMODE" |
#define | WIFIESP_CONNECT "AT+CWJAP" |
#define | WIFIESP_LIST_AP "AT+CWLAP" |
#define | WIFIESP_QUIT_AP "AT+CWQAP" |
#define | WIFIESP_SET_AP_PARAMETERS "AT+CWSAP" |
#define | WIFIESP_JOIN_DEV_IP "AT+CWLIF" |
#define | WIFIESP_CONNESTION_STATUS "AT+CIPSTATUS" |
#define | WIFIESP_START "AT+CIPSTART" |
#define | WIFIESP_MODE "AT+CIPMODE" |
#define | WIFIESP_SEND "AT+CIPSEND" |
#define | WIFIESP_CLOSE "AT+CIPCLOSE" |
#define | WIFIESP_GET_IP "AT+CIFSR" |
#define | WIFIESP_SET_MULTIPLE_CONNECTION "AT+CIPMUX" |
#define | WIFIESP_SET_AS_SERVER "AT+CIPSERVER" |
#define | WIFIESP_CHECK_SERVER_TIMEOUT "AT+CIPSTO?" |
#define | WIFIESP_RECEIVE "+IPD" |
#define | WIFIESP_RSP_OK "OK" |
#define | WIFIESP_RSP_READY_FOR_SEND ">" |
#define | WIFIESP_RSP_SEND_OK "SEND OK" |
#define | WIFIESP_RSP_ERROR "ERROR" |
#define | WIFIESP_RSP_CONNECT "CONNECT" |
Enumerations | |
enum | wifiesp_return_value_t { WIFIESP_OK = 0 , WIFIESP_ERROR = -1 , WIFIESP_ERROR_TIMEOUT = -2 , WIFIESP_ERROR_CMD = -3 , WIFIESP_ERROR_UNKNOWN = -4 } |
WiFi ESP Click return value data. More... | |
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. | |
This file contains API for wifiesp Click driver.