#[repr(C)]pub struct esp_now_switch_channel_t {
pub type_: wifi_action_tx_t,
pub channel: u8,
pub sec_channel: wifi_second_chan_t,
pub wait_time_ms: u32,
pub op_id: u8,
pub dest_mac: [u8; 6],
pub data_len: u16,
pub data: __IncompleteArrayField<u8>,
}Expand description
@brief ESPNOW switch channel information
Fields§
§type_: wifi_action_tx_t< ACTION TX operation type
channel: u8< Channel on which to perform ESPNOW TX Operation
sec_channel: wifi_second_chan_t< Secondary channel
wait_time_ms: u32< Duration to wait for on target channel
op_id: u8< Unique Identifier for operation provided by wifi driver
dest_mac: [u8; 6]< Destination MAC address
data_len: u16< Length of the appended Data
data: __IncompleteArrayField<u8>< Appended Data payload