wifi9
2.0.0.0
|
This file contains API for Wifi 9 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 | wifi9_t |
Click ctx object definition. More... | |
struct | wifi9_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | WIFI9_MAP_MIKROBUS(cfg, mikrobus) |
#define | WIFI9_RETVAL uint8_t |
#define | WIFI9_OK 0x00 |
#define | WIFI9_INIT_ERROR 0xFF |
#define | WIFI9_MODULE_POWER_ON 1 |
#define | WIFI9_MODULE_POWER_OFF 0 |
#define | WIFI9_SELECT_CMD_UART 0x00 |
#define | WIFI9_SELECT_BIN_UART 0x01 |
#define | WIFI9_CMD_GET_SYSTEM_FIRMWARE "get system firmware" |
#define | WIFI9_CMD_GET_SYSTEM_MAC_ADDR "get system macaddr" |
#define | WIFI9_CMD_GET_SYSTEM_SERIAL_NUM "get system serialnum" |
#define | WIFI9_CMD_GET_SYSTEM_RADIO_VER "get system radio_ver" |
#define | WIFI9_CMD_GET_SYSTEM_BOOTL_VER "get system bootl_ver" |
#define | WIFI9_CMD_GET_SYSTEM_HW_REV "get system hwrev" |
#define | WIFI9_CMD_GET_WLAN_STATE_STA "get wlan state sta" |
#define | WIFI9_CMD_SET_WLAN_STATE_STA_ON "set wlan state sta on" |
#define | WIFI9_CMD_SET_NETCAT_STATE_OFF "set netcat state off" |
#define | WIFI9_CMD_SET_NETCAT_STATE_ON "set netcat state on" |
#define | WIFI9_CMD_SET_NETCAT_CFG_SERVER "set netcat cfg server 1234" |
#define | WIFI9_CMD_SET_NETCAT_AUTH_OFF "set netcat auth off" |
#define | WIFI9_CMD_GET_NET_CFG_STA "get net cfg sta" |
#define | WIFI9_CMD_SET_WLAN_CFG_STA "set wlan cfg sta net_username net_password 4" |
#define | DRV_RX_BUFFER_SIZE 500 |
Typedefs | |
typedef uint8_t | wifi9_actuator_sw_t |
Error type. More... | |
typedef int16_t | wifi9_actuator_cnt_t |
typedef char | wifi9_actuator_str_t |
typedef uint8_t | wifi9_error_t |
Functions | |
void | wifi9_cfg_setup (wifi9_cfg_t *cfg) |
Config Object Initialization function. More... | |
WIFI9_RETVAL | wifi9_init (wifi9_t *ctx, wifi9_cfg_t *cfg) |
Initialization function. More... | |
void | wifi9_module_power (wifi9_t *ctx) |
Module power up. More... | |
void | wifi9_generic_write (wifi9_t *ctx, char *data_buf, uint16_t len) |
Generic write function. More... | |
int32_t | wifi9_generic_read (wifi9_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. More... | |
void | wifi9_send_command (wifi9_t *ctx, char *command) |
Send Command function. More... | |
void | wifi9_select_uart (wifi9_t *ctx, uint8_t uart_select) |
Switch to a command or binary uart. More... | |
This file contains API for Wifi 9 Click driver.