ap_mode_set

Function ap_mode_set 

pub unsafe extern "C" fn ap_mode_set(
    idx: ApIndex,
    mode: Mode,
) -> c_int
Available on non-ag35 only.
Expand description

Set the WiFi configuration: Operation mode configuration, such as 802.11a/b/n/ac.

Returns 0 on success, -1 on error.