Skip to Content

CXWIF Command — WiFi Configuration

Configures the global behavior of the device’s WiFi module.


What is it for?

📶 Main use cases:

  • 🔌 Activate or deactivate the WiFi module
  • 📡 Select Station (client) or Access Point mode
  • 📤 Enable automatic report sending via WiFi
  • ⚙️ Initial WiFi system configuration

This command should be used together with APW (Station mode) or APX (Access Point mode) to complete the WiFi configuration.


Commands

OperationSyntax
QueryQCXWIF
ConfigureSCXWIFwifipwr,apmode,autodestiny
ResponseRCXWIFwifipwr,apmode,autodestiny

Parameters

ParameterDescriptionValues
wifipwrModule activation0 = Off (default), 1 = On
apmodeOperation mode0 = Station (default), 1 = Access Point
autodestinyAutomatic WiFi report0 = Disabled (default), 1 = Enabled

When autodestiny=1, reports without explicit destination will be sent to IP3 (if defined) or alternately to IP0/IP1.


Examples

Station Mode with WiFi Reports

// WiFi ON, Station mode, automatic reports ON >SCXWIF1,0,1< >RCXWIF1,0,1;ID=865413053386354;*31<

Access Point Mode

// WiFi ON, AP mode, no automatic reports >SCXWIF1,1,0< >RCXWIF1,1,0;ID=865413053386354;*30<

Quick Configurations

ScenarioCommandDescription
📡 WiFi as client>SCXWIF1,0,0<Connect to existing network
📶 WiFi as AP>SCXWIF1,1,0<Create own network
📤 Client + reports>SCXWIF1,0,1<Client with automatic sending
🔴 Turn off WiFi>SCXWIF0,0,0<Deactivate module

Operation Modes

ModeDescriptionAssociated command
StationDevice connects to existing WiFi networkAPW
Access PointDevice creates its own WiFi networkAPX

Compatibility

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

See Also

Last updated