pub fn clear_ap_list<W>(
buf: &mut [u8],
write: W,
uid: u32,
) -> Result<(), EspError>
Expand description
Clear AP list found in last scan. This API will free all memory occupied by scanned AP list. When the obtained AP list fails, AP records must be cleared,otherwise it may cause memory leakage. docs