riot_sys

Type Alias netopt_scan_request_t

Source
pub type netopt_scan_request_t = netopt_scan_request;
Expand description

@brief Basic network scan request

Aliased Type§

struct netopt_scan_request_t {
    pub scan_cb: Option<unsafe extern "C" fn(_: *mut c_void, _: *const l2scan_list)>,
    pub channel: u16,
}

Fields§

§scan_cb: Option<unsafe extern "C" fn(_: *mut c_void, _: *const l2scan_list)>

< Scan result callback

§channel: u16

< Channel to scan

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes