ap_channel_set

Function ap_channel_set 

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

Set the WiFi configuration: channel number configuration.

If WiFi set 2.4GHz, the channel list: 0/1/2/3/4/5/6/7/8/9/10/11/12/13/14 If WiFi set 5GHz, the channel list: 36/40/44/48/52/56/60/64/100/104/108/112/116/120/124/128/132/136/140/144/149/153/157/161/165/175/181

Returns 0 on success, -1 on error.