wifi11 2.0.0.0
wifi11.h File Reference

This file contains API for WiFi 11 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  wifi11_t
 Click ctx object definition. More...
 
struct  wifi11_cfg_t
 Click configuration structure definition. More...
 

Macros

#define WIFI11_MAP_MIKROBUS(cfg, mikrobus)
 
#define WIFI11_RETVAL   uint8_t
 
#define WIFI11_OK   0x00
 
#define WIFI11_INIT_ERROR   0xFF
 
#define WIFI11_CMD_AT   "AT"
 
#define WIFI11_CMD_ATS   "ATS?"
 
#define WIFI11_CMD_ATSR   "ATSR"
 
#define WIFI11_CMD_ATSV   "ATSV"
 
#define WIFI11_CMD_ATSP   "ATSP"
 
#define WIFI11_CMD_ATSE   "ATSE"
 
#define WIFI11_CMD_ATSY   "ATSY"
 
#define WIFI11_CMD_ATSU   "ATSU"
 
#define WIFI11_CMD_ATSW   "ATSW"
 
#define WIFI11_CMD_ATSO   "ATSO"
 
#define WIFI11_CMD_ATSC   "ATSC"
 
#define WIFI11_CMD_ATSG   "ATSG"
 
#define WIFI11_CMD_ATPW   "ATPW"
 
#define WIFI11_CMD_ATPN   "ATPN"
 
#define WIFI11_CMD_ATWD   "ATWD"
 
#define WIFI11_CMD_ATWS   "ATWS"
 
#define WIFI11_CMD_ATPA   "ATPA"
 
#define WIFI11_CMD_ATW   "ATW?"
 
#define WIFI11_CMD_ATPH   "ATPH"
 
#define WIFI11_CMD_ATPE   "ATPE"
 
#define WIFI11_CMD_ATPF   "ATPF"
 
#define WIFI11_CMD_ATPG   "ATPG"
 
#define WIFI11_CMD_ATPM   "ATPM"
 
#define WIFI11_CMD_ATWQ   "ATWQ"
 
#define WIFI11_CMD_ATP0   "ATP0"
 
#define WIFI11_CMD_ATPS   "ATPS"
 
#define WIFI11_CMD_ATPC   "ATPC"
 
#define WIFI11_CMD_ATPD   "ATPD"
 
#define WIFI11_CMD_ATPT   "ATPT"
 
#define WIFI11_CMD_ATPR   "ATPR"
 
#define WIFI11_CMD_ATPK   "ATPK"
 
#define WIFI11_CMD_ATPI   "ATPI"
 
#define WIFI11_CMD_ATPP   "ATPP"
 
#define WIFI11_CMD_ATPU   "ATPU"
 
#define WIFI11_CMD_ATPL   "ATPL"
 
#define WIFI11_TCP_MODE   0
 
#define WIFI11_UDP_MODE   1
 
#define DRV_RX_BUFFER_SIZE   500
 
#define DRV_TX_BUFFER_SIZE   500
 

Functions

void wifi11_cfg_setup (wifi11_cfg_t *cfg)
 Config Object Initialization function.
 
WIFI11_RETVAL wifi11_init (wifi11_t *ctx, wifi11_cfg_t *cfg)
 Initialization function.
 
void wifi11_generic_write (wifi11_t *ctx, char *data_buf, uint16_t len)
 Generic write function.
 
int32_t wifi11_generic_read (wifi11_t *ctx, char *data_buf, uint16_t max_len)
 Generic read function.
 
void wifi11_reset_device (wifi11_t *ctx)
 Device reset function.
 
void wifi11_send_cmd (wifi11_t *ctx, char *cmd)
 Send command function.
 
void wifi11_send_cmd_with_parameter (wifi11_t *ctx, char *at_cmd_buf, char *param_buf)
 Send command function with parameter.
 
void wifi11_connect_to_ap (wifi11_t *ctx, char *ssid, char *password)
 Connect to AP function.
 
void wifi11_create_tcp_udp_server (wifi11_t *ctx, uint8_t mode, uint16_t port)
 Create TCP/UDP server function.
 

Detailed Description

This file contains API for WiFi 11 Click driver.