mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-15 00:02:49 +03:00
BREAKING: Change return type of RSSI() (#7657)
This commit is contained in:
@ -686,7 +686,7 @@ String ESP8266WiFiSTAClass::BSSIDstr(void) {
|
|||||||
* Return the current network RSSI.
|
* Return the current network RSSI.
|
||||||
* @return RSSI value
|
* @return RSSI value
|
||||||
*/
|
*/
|
||||||
int32_t ESP8266WiFiSTAClass::RSSI(void) {
|
int8_t ESP8266WiFiSTAClass::RSSI(void) {
|
||||||
return wifi_station_get_rssi();
|
return wifi_station_get_rssi();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ class ESP8266WiFiSTAClass {
|
|||||||
uint8_t * BSSID();
|
uint8_t * BSSID();
|
||||||
String BSSIDstr();
|
String BSSIDstr();
|
||||||
|
|
||||||
int32_t RSSI();
|
int8_t RSSI();
|
||||||
|
|
||||||
static void enableInsecureWEP (bool enable = true) { _useInsecureWEP = enable; }
|
static void enableInsecureWEP (bool enable = true) { _useInsecureWEP = enable; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user