85typedef enum : uint8_t {
The single integration boundary between this firmware and the ESP32-C6.
struct ra8_c6link_mac ra8_c6link_mac_t
@ k_ra8_c6link_ssid_max
Octets in the longest SSID 802.11 allows.
struct ra8_c6link ra8_c6link_t
struct ra8_c6link_sta_cfg ra8_c6link_sta_cfg_t
ra8_err_t ra8_c6link_wifi_mac(ra8_c6link_t *link, ra8_c6link_mac_t *out)
Read the station interface's MAC address.
ra8_err_t ra8_c6link_wifi_stop(ra8_c6link_t *link)
Stop the radio and release the co-processor's Wi-Fi resources.
ra8_err_t ra8_c6link_sta_cfg_set(ra8_c6link_sta_cfg_t *cfg, const char *ssid, const char *pass)
Fill a station configuration from an SSID and a passphrase.
ra8_err_t ra8_c6link_wifi_leave(ra8_c6link_t *link)
Disassociate the station from its current network.
ra8_err_t ra8_c6link_wifi_start(ra8_c6link_t *link)
Start the co-processor's Wi-Fi radio in station mode.
ra8_c6link_wifi_limits_t
Field capacities the station configuration works to.
@ k_ra8_c6link_pass_max
Longest passphrase the co-processor accepts, in octets.
@ k_ra8_c6link_channel_max
Highest 2.4 GHz channel number; zero means "scan for it".
struct ra8_c6link_ap_info ra8_c6link_ap_info_t
ra8_err_t ra8_c6link_wifi_ap_info(ra8_c6link_t *link, ra8_c6link_ap_info_t *out)
Read what the co-processor knows about the associated AP.
ra8_err_t ra8_c6link_wifi_join(ra8_c6link_t *link, const ra8_c6link_sta_cfg_t *cfg)
Ask the station to associate with the configured network.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
What the co-processor knows about the AP the station is on.
ra8_c6link_mac_t bssid
Address of the associated AP.
int32_t authmode
Co-processor wifi_auth_mode_t.
char ssid[k_ra8_c6link_ssid_max+1U]
Its SSID, NUL-terminated.
uint8_t ssid_len
Octets of ssid.
int8_t rssi
Signal level in dBm.
uint8_t channel
Primary channel in use.
What this host must tell the co-processor to join one network.
bool bssid_set
Pin the association to bssid.
uint8_t channel
Channel to try first, or zero.
uint8_t ssid_len
Octets of ssid to transmit.
char pass[k_ra8_c6link_pass_max+1U]
Passphrase, NUL-terminated.
uint8_t pass_len
Octets of pass to transmit.
ra8_c6link_mac_t bssid
Target AP address when pinned.
char ssid[k_ra8_c6link_ssid_max+1U]
Target SSID, NUL-terminated.