Skip to Content
GuidesConfigure WiFi

📶 Configure WiFi

Guide to configure WiFi as an alternative communication channel in Rinho IoT devices.


🤔 What is WiFi for?

The WiFi module allows:

  • 🔄 Alternative channel: If cellular fails, data is sent via WiFi
  • Fast download: Download buffered reports via WiFi (faster than GPRS)
  • 📵 SIM-free operation: Function with WiFi only if there’s no cellular coverage
  • 📡 Simultaneous sending: Send via both channels at the same time
  • 🛰️ Global coverage: Connect to Starlink or other satellite routers to operate in areas without cellular coverage

WiFi works as automatic backup. If the cellular channel is not available, the device tries to send via WiFi.


🔍 Check if the device has WiFi

Step 1: Verify hardware

First, confirm that your device includes the WiFi module with QVR:

>QVR<

If it has WiFi, the response will include WIFI:

>RVR RINHO IOT v1.09.16 SP EG915U LC86G 16MB WIFI 2025-12-12 14:52:18;ID=865413053386354;*37<

If the response does NOT say WIFI, your device doesn’t have the module and this guide doesn’t apply.

Step 2: Check WiFi status

>QWIF<

Response with WiFi off:

>RWIF,0,0,0,,0,0;ID=...

Response with WiFi connected:

>RWIF,1,0,0,VERA AP 5,-58,3;ID=...
FieldExampleMeaning
Enabled1WiFi on
Mode0Station (connected to network)
Index0Network configured at position 0
SSIDVERA AP 5Connected network name
RSSI-58Signal strength (dBm)
Level3Signal bars (0-4)

📶 Signal levels

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

⚙️ Step-by-step configuration

Configure WiFi network

Use the APW command to save the credentials:

>SAPW00VERA AP 5,32055136<
ParameterValueDescription
00IndexPosition 0-9 (up to 10 networks)
VERA AP 5SSIDNetwork name
32055136PasswordPassword

Response:

>RAPW00VERA AP 5,32055136,,,;ID=...

You can configure up to 10 WiFi networks. The device will rotate between them if it can’t connect to one.

Enable WiFi

Use the CXWIF command:

>SCXWIF1,0,1<
ParameterValueDescription
1Enable1=Turn on, 0=Turn off
0Mode0=Station (connect to network)
1Download1=Enable download channel

Response:

>RCXWIF1,0,1;ID=...

Verify connection

>QWIF<

Connected response:

>RWIF,1,0,0,VERA AP 5,-58,3;ID=...

If you see the network name and negative RSSI, it’s connected.


🧪 Test WiFi transmission

To force sending a specific report via WiFi, add @WIF to the command:

>GCQ00H;@WIF<

To force via cellular:

>GCQ00H;@GPRS<

Response:

>GOK;ID=...

In the debug log you’ll see:

[WIF] TX UDP MAIN -> 170.78.73.32:04031 >RCQ00... [WIF] RX UDP MAIN <- >ACK;#000A;ID=...

The [WIF] prefix indicates the report was sent via WiFi. [CEL] indicates cellular.


🤖 Automatic operation

Once configured, the device automatically decides which channel to use:

ScenarioChannel used
Cellular OK, WiFi OKCellular (primary)
Cellular FAILS, WiFi OKWiFi (backup)
Cellular OK, WiFi FAILSCellular
Both FAILBuffer (stores until reconnection)

Log example

Sending via cellular:

[CEL] TX MAIN -> >RCQ00311225224043... [CEL] RX MAIN <- >ACK;#0006;ID=...

If cellular is turned off, switches to WiFi:

[CEL] Modem Hard Power OFF [WIF] TX UDP MAIN -> 170.78.73.32:04031 >RCQ00... [WIF] RX UDP MAIN <- >ACK;#000D;ID=...

🎮 Control commands

📱 Turn cellular off/on

>SSSCELPWR00< // Turn cellular off >SSSCELPWR11< // Turn cellular on

📶 Turn WiFi off/on

>SSSWIFPWR00< // Turn WiFi off >SSSWIFPWR11< // Turn WiFi on

📊 Check cellular status

>QSSCEL<
ResponseMeaning
RSSCEL00Cellular off
RSSCEL11Cellular on

📝 Complete example

// 1. Configure WiFi network >SAPW00MyWiFiNetwork,password123< // 2. Enable WiFi as Station with download >SCXWIF1,0,1< // 3. Verify connection >QWIF< >RWIF,1,0,0,MyWiFiNetwork,-45,3;ID=... // 4. Test sending via WiFi >GCQ00H;@WIF< >GOK;ID=... // 5. Check in debug >SDB1< [WIF] TX UDP MAIN -> ... >RCQ00... [WIF] RX UDP MAIN <- ... >ACK;...

📖 Command summary

CommandFunctionReference
>QWIF<WiFi statusWIF
>SAPW00ssid,pass<Configure networkAPW
>SCXWIF1,0,1<Enable WiFi StationCXWIF
>GCQ00H;@WIF<Force sending via WiFiG Command
>SSSWIFPWR00<Turn WiFi offSS
>SSSWIFPWR11<Turn WiFi onSS

🔧 Troubleshooting

ProblemPossible causeSolution
RWIF,0,0,0,,0,0WiFi off>SCXWIF1,0,1<
RSSI = 0Not connectedVerify SSID and password
Doesn’t send via WiFiNo IP configuredCheck >QIP0<

🎯 Next steps

Last updated