Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
esp_data Struct Reference

#include <esp.h>

Data Fields

struct net_ifnet_iface
 
uint8_t flags
 
uint8_t mode
 
char conn_cmd [(sizeof("AT+"_CWJAP"=\"\",\"\"")+WIFI_SSID_MAX_LEN+WIFI_PSK_MAX_LEN)]
 
struct in_addr ip
 
struct in_addr gw
 
struct in_addr nm
 
uint8_t mac_addr [6]
 
struct sockaddr_in dns_addresses [0]
 
struct modem_context mctx
 
struct modem_iface_uart_data iface_data
 
uint8_t iface_rb_buf [CONFIG_WIFI_ESP_AT_MDM_RING_BUF_SIZE]
 
struct modem_cmd_handler_data cmd_handler_data
 
uint8_t cmd_match_buf [CONFIG_WIFI_ESP_AT_MDM_RX_BUF_SIZE]
 
struct esp_socket sockets [5]
 
struct esp_socketrx_sock
 
struct k_work_q workq
 
struct k_work init_work
 
struct k_work_delayable ip_addr_work
 
struct k_work scan_work
 
struct k_work connect_work
 
struct k_work mode_switch_work
 
struct k_work dns_work
 
scan_result_cb_t scan_cb
 
struct k_sem sem_tx_ready
 
struct k_sem sem_response
 
struct k_sem sem_if_ready
 

Field Documentation

◆ cmd_handler_data

struct modem_cmd_handler_data esp_data::cmd_handler_data

◆ cmd_match_buf

uint8_t esp_data::cmd_match_buf[CONFIG_WIFI_ESP_AT_MDM_RX_BUF_SIZE]

◆ conn_cmd

char esp_data::conn_cmd[(sizeof("AT+"_CWJAP"=\"\",\"\"")+ WIFI_SSID_MAX_LEN+WIFI_PSK_MAX_LEN)]

◆ connect_work

struct k_work esp_data::connect_work

◆ dns_addresses

struct sockaddr_in esp_data::dns_addresses[0]

◆ dns_work

struct k_work esp_data::dns_work

◆ flags

uint8_t esp_data::flags

◆ gw

struct in_addr esp_data::gw

◆ iface_data

struct modem_iface_uart_data esp_data::iface_data

◆ iface_rb_buf

uint8_t esp_data::iface_rb_buf[CONFIG_WIFI_ESP_AT_MDM_RING_BUF_SIZE]

◆ init_work

struct k_work esp_data::init_work

◆ ip

struct in_addr esp_data::ip

◆ ip_addr_work

struct k_work_delayable esp_data::ip_addr_work

◆ mac_addr

uint8_t esp_data::mac_addr[6]

◆ mctx

struct modem_context esp_data::mctx

◆ mode

uint8_t esp_data::mode

◆ mode_switch_work

struct k_work esp_data::mode_switch_work

◆ net_iface

struct net_if* esp_data::net_iface

◆ nm

struct in_addr esp_data::nm

◆ rx_sock

struct esp_socket* esp_data::rx_sock

◆ scan_cb

scan_result_cb_t esp_data::scan_cb

◆ scan_work

struct k_work esp_data::scan_work

◆ sem_if_ready

struct k_sem esp_data::sem_if_ready

◆ sem_response

struct k_sem esp_data::sem_response

◆ sem_tx_ready

struct k_sem esp_data::sem_tx_ready

◆ sockets

struct esp_socket esp_data::sockets[5]

◆ workq

struct k_work_q esp_data::workq

The documentation for this struct was generated from the following file: