APX Command — Access Point Mode
Configures the device to function as a WiFi access point.
What is it for?
📡 Main use cases:
- 🔧 Local device configuration without internet
- 📱 Direct connection from smartphone/tablet
- 🖥️ Access to integrated web server
- 🔐 Isolated network for technical maintenance
- 🌐 Captive portal for access control
In Access Point mode, the device creates its own WiFi network to which smartphones, tablets, or other devices can connect.
Commands
| Operation | Syntax |
|---|---|
| Query | QAPX |
| Configure | SAPXsid,pass,ip,subnetmask,gateway |
| Response | RAPXsid,pass,ip,subnetmask,gateway |
Parameters
| Parameter | Description | Example |
|---|---|---|
sid | AP name (visible SSID) | RINHO_IOT |
pass | AP password | 123456789 |
ip | Device IP | 192.168.4.1 |
subnetmask | Subnet mask | 255.255.255.0 |
gateway | Gateway | 192.168.4.1 |
Examples
Query current configuration
>QAPX<
>RAPXRINHO_IOT,123456789,192.168.1.88,255.255.255.0,192.168.1.1;ID=865413053386354;*77<Configure custom Access Point
>SAPXMiRinho,ClaveSegura,192.168.4.1,255.255.255.0,192.168.4.1<
// │ │ │ │ └─ Gateway
// │ │ │ └─ Subnet mask
// │ │ └─ Device IP
// │ └─ WiFi password
// └─ Network name (SSID)WiFi Module Control
The WiFi module must be turned on and configured in AP mode with the CXWIF command before using the Access Point.
| Action | Command |
|---|---|
| 🟢 Turn on WiFi | >SSSWIFPWR11< |
| 🔴 Turn off WiFi | >SSSWIFPWR00< |
| 📡 Activate AP mode | >SCXWIF1,1,0< |
Compatibility
💾Firmware:v1.00.00
SP-IOT
SM-IOT
ZE-IOT
See Also
- APW Command - Station Mode
- CXWIF Command - General WiFi Configuration
- Access Point Mode Terminal - Application Example
- SS Command - Signal Control
Last updated