Skip to Content

WIF Command — WiFi Connection Status

Query the device’s WiFi connection status.


What is it for?

📶 Main use cases:

  • 📊 Verify WiFi connection status
  • 📡 Know the currently connected network
  • 📈 Measure signal strength and quality
  • 🔧 Diagnose connectivity issues
  • 🔍 WiFi infrastructure monitoring

Commands

OperationSyntax
QueryQWIF
ResponseRWIF,pwr,apmode,stationindex,ssid,rssi,signallevel

Response Fields

FieldDescriptionValues
pwrWiFi status0 = Inactive, 1 = Active
apmodeOperation mode0 = Client (STA), 1 = Access Point (AP)
stationindexStation index0-9
ssidNetwork nameText
rssiSignal strengthValue in dBm (negative)
signallevelQuality level0-4

Signal Levels

LevelQualityTypical RSSIIcon
4Excellent> -50 dBm📶
3Good-50 to -60 dBm📶
2Average-60 to -70 dBm📶
1Weak-70 to -80 dBm📶
0No connection< -80 dBm

Example

WiFi status query

>QWIF< >RWIF,1,0,0,VERA AP 4,-74,1< // │ │ │ │ │ └─ Signal level: 1 (weak) // │ │ │ │ └─ RSSI: -74 dBm // │ │ │ └─ Connected network: "VERA AP 4" // │ │ └─ Station index: 0 // │ └─ Mode: 0 (client/Station) // └─ WiFi: 1 (active)

An RSSI of -74 dBm indicates weak signal. Consider moving the device closer to the router or using a WiFi repeater.


Compatibility

💾Firmware:v1.00.00
SP-IOT
SM-IOT

See Also

Last updated