#[repr(C)]pub struct esp_now_switch_channel_t {
pub type_: u32,
pub channel: u8,
pub sec_channel: u32,
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_: u32< ACTION TX operation type
channel: u8< Channel on which to perform ESPNOW TX Operation
sec_channel: u32< 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
Trait Implementations§
Source§impl Debug for esp_now_switch_channel_t
impl Debug for esp_now_switch_channel_t
Source§impl Default for esp_now_switch_channel_t
impl Default for esp_now_switch_channel_t
Source§fn default() -> esp_now_switch_channel_t
fn default() -> esp_now_switch_channel_t
Returns the “default value” for a type. Read more