Module bl602_sdk::wifi[][src]

Expand description

Re-exports

pub use self::WIFI_MGMR_EVENT as WIFI_MGMR_EVENT_T;
pub use self::WIFI_MGMR_CONNECTION_STATUS as WIFI_MGMR_CONNECTION_STATUS_T;

Structs

\brief Event

This is the aligned version of ip4_addr_t, used as local variable, on the stack, etc.

Generic data structure used for all lwIP network interfaces. The following fields should be filled in by the initialization function for the device driver: hwaddr_len, hwaddr[], mtu, flags

Main packet buffer struct

\brief State

\brief State machine

\brief Transition between a state and another state

Constants

Add a filter entry

Delete a filter entry

Statics

Functions

Connect to a WiFi Access Point. See wifi_mgmr_sta_connect in “Connect to WiFi Network” https://lupyuen.github.io/articles/wifi#connect-to-wifi-network

Enable the WiFi Client. See wifi_mgmr_sta_enable in “Connect to WiFi Network” https://lupyuen.github.io/articles/wifi#connect-to-wifi-network

Start the WiFi Manager Task. See wifi_mgmr_start_background in “Start WiFi Manager Task” https://lupyuen.github.io/articles/wifi#start-wifi-manager-task

Start the WiFi Firmware Task. See hal_wifi_start_firmware_task in “Start WiFi Firmware Task” https://lupyuen.github.io/articles/wifi#start-wifi-firmware-task

Type Definitions

ip4_addr_t uses a struct for convenience only, so that the same defines can operate both on ip4_addr_t as well as on ip4_addr_p_t.

Function prototype for netif igmp_mac_filter functions

Function prototype for netif->input functions. This function is saved as ‘input’ callback function in the netif struct. Call it when a packet has been received.

Function prototype for netif->linkoutput functions. Only used for ethernet netifs. This function is called by ARP when a packet shall be sent.

MAC Filter Actions, these are passed to a netif’s igmp_mac_filter or mld_mac_filter callback function.

Function prototype for netif->output functions. Called by lwIP when a packet shall be sent. For ethernet netif, set this to ‘etharp_output’ and set ‘linkoutput’.

Function prototype for netif status- or link-callback functions.

Unions