Fix RSSI command for WiFiNINA

+ Print current SSID
+ Wait for correct time before printing it out
+ Cleanup
This commit is contained in:
Yurii Soldak
2021-05-26 23:10:31 +02:00
committed by Ron Evans
parent d07ad40373
commit a09ec31e7a
2 changed files with 41 additions and 15 deletions
+1 -1
View File
@@ -484,7 +484,7 @@ func (d *Device) GetCurrentBSSID() (MACAddress, error) {
}
func (d *Device) GetCurrentRSSI() (int32, error) {
return d.getInt32(d.req1(CmdGetCurrBSSID))
return d.getInt32(d.req1(CmdGetCurrRSSI))
}
func (d *Device) GetCurrentSSID() (string, error) {