fix(wifi): return specific error in API BPv5.5

This commit is contained in:
Junchi Chen
2026-03-31 17:14:05 +08:00
parent e4de37c194
commit b8c752c06d
3 changed files with 9 additions and 1 deletions
+2
View File
@@ -1638,6 +1638,8 @@ esp_err_t esp_wifi_sta_get_aid(uint16_t *aid);
*
* @return
* - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
* - ESP_ERR_WIFI_NOT_CONNECT: No connection between STA and AP
*/
esp_err_t esp_wifi_sta_get_negotiated_phymode(wifi_phy_mode_t *phymode);