mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-24 00:19:00 +00:00
Fix RSSI command for WiFiNINA
+ Print current SSID + Wait for correct time before printing it out + Cleanup
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user