esp_mesh_scan_get_ap_record() function
Get AP record @attention Different from esp_wifi_scan_get_ap_records(), this API only gets one of APs scanned each time. See "manual_networking" example.
Arguments
ap_record
pointer to one AP record
buffer
pointer to the mesh networking IE of this AP
Return value
- ESP_OK - ESP_ERR_WIFI_NOT_INIT - ESP_ERR_INVALID_ARG - ESP_ERR_WIFI_FAIL