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
| Operation | Syntax |
|---|---|
| Query | QWIF |
| Response | RWIF,pwr,apmode,stationindex,ssid,rssi,signallevel |
Response Fields
| Field | Description | Values |
|---|---|---|
| pwr | WiFi status | 0 = Inactive, 1 = Active |
| apmode | Operation mode | 0 = Client (STA), 1 = Access Point (AP) |
| stationindex | Station index | 0-9 |
| ssid | Network name | Text |
| rssi | Signal strength | Value in dBm (negative) |
| signallevel | Quality level | 0-4 |
Signal Levels
| Level | Quality | Typical RSSI | Icon |
|---|---|---|---|
| 4 | Excellent | > -50 dBm | 📶 |
| 3 | Good | -50 to -60 dBm | 📶 |
| 2 | Average | -60 to -70 dBm | 📶 |
| 1 | Weak | -70 to -80 dBm | 📶 |
| 0 | No 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
- WS Command - Integrated web server
- CXWIF Command - WiFi configuration
Last updated