espressif/ESP8266_NONOS_SDK

+CWJAP_CUR RSSI Value is uint8_t instead of int8_t

Maintraxx opened this issue · 2 comments

In the latest commit (1391d15 on 24 Jan), the output of +CWJAP_CUR:<ssid>,<bssid>,<channel>,<rssi> has an invalid RSSI value. It seems, that the output is generated by "%u" instead of "%d".
In my case, the RSSI value is 177.

i checked the code, pretty sure that <channel>, <rssi> are printed by %d. and the rssi is from the following api:

sint8 wifi_station_get_rssi(void);

could you please provide detailed logs for checking.

AT-Version: V1.7.6
SDK-Version: V3.0.6

Sorry, i meant +CWJAP_CUR

AT+CWJAP_CUR?
+CWJAP_CUR:"FaMiNetwork","74:42:7f:xx:xx:xx",1,176,0