Function sta_connect
pub unsafe extern "C" fn sta_connect() -> c_intAvailable on non-
ag35 only.Expand description
Activates the WPA supplicant configuration after wpa_supplicant.conf is modified.
The wifi must be enabled using enable.
Returns 0 on success, -1 on error.