ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_c6link_sta_wire_buf Struct Reference

Writable copies of the credentials, for the codec's binary fields. More...

Data Fields

uint8_t ssid [k_ra8_c6link_ssid_max]
 SSID octets, as transmitted.
uint8_t pass [k_ra8_c6link_pass_max]
 Passphrase octets.
uint8_t bssid [k_ra8_c6link_mac_bytes]
 Pinned AP address, if any.

Detailed Description

Writable copies of the credentials, for the codec's binary fields.

ProtobufCBinaryData::data is a non-const pointer because packing and unpacking share one type. Copying the caller's const record into this short-lived stack object is what keeps the public API's const honest instead of casting it away.

Invariant
Every field is sized to the protocol maximum, so a copy bounded by the caller's declared lengths always fits.
The object outlives the Rpc that points into it, which the enclosing stack frame guarantees.
Example:
See also
internal_c6link_sta_set_config
Since
0.1.0

Definition at line 155 of file ra8_c6link_wifi_sta.c.

Field Documentation

◆ bssid

uint8_t ra8_c6link_sta_wire_buf::bssid[k_ra8_c6link_mac_bytes]

Pinned AP address, if any.

Definition at line 158 of file ra8_c6link_wifi_sta.c.

Referenced by internal_c6link_sta_set_config(), and internal_c6link_sta_stage().

◆ pass

uint8_t ra8_c6link_sta_wire_buf::pass[k_ra8_c6link_pass_max]

Passphrase octets.

Definition at line 157 of file ra8_c6link_wifi_sta.c.

Referenced by internal_c6link_sta_set_config(), and internal_c6link_sta_stage().

◆ ssid

uint8_t ra8_c6link_sta_wire_buf::ssid[k_ra8_c6link_ssid_max]

SSID octets, as transmitted.

Definition at line 156 of file ra8_c6link_wifi_sta.c.

Referenced by internal_c6link_sta_set_config(), and internal_c6link_sta_stage().


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