Skip to Content

APY Command — Service Access Point

Configures the second Access Point of the device, reserved for service tasks. It is used together with CXWIF in apmode=2 mode, which brings up an Access Point with the data defined by APY.


What is it for?

📶 Main use cases:

  • 🛠️ Create a service network independent from the main network (APX)
  • 📡 Local access for maintenance and diagnostics
  • 🔧 One-off field configuration without using the production network
  • 🔀 Separate the service AP from the device’s operational AP

Unlike APW (10 indexed Station-mode slots), APY configures a single service Access Point, with no index, just like APX.


Commands

OperationSyntax
QueryQAPY
ConfigureSAPYsid,pass,ip,subnetmask,gateway
ResponseRAPYsid,pass,ip,subnetmask,gateway

Parameters

ParameterDescriptionExample
sidService network name (SSID)RinhoService
passPasswordclave123
ipFixed IP (optional)192.168.4.1
subnetmaskMask (optional)255.255.255.0
gatewayGateway (optional)192.168.4.1

Leave IP, mask and gateway fields empty to use automatic DHCP.


Examples

Configure the service AP

>SAPYRinhoService,clave123< >RAPYRinhoService,clave123,,,;ID=865413053386354;*XX<

Configure with fixed IP

>SAPYRinhoService,clave123,192.168.4.1,255.255.255.0,192.168.4.1< // │ │ │ │ └─ Gateway // │ │ │ └─ Mask // │ │ └─ AP fixed IP // │ └─ Password // └─ Service network name (SSID)

Query the current configuration

>QAPY< >RAPYRinhoService,clave123,,,<

Use with CXWIF (apmode=2)

The service AP is activated by setting the WiFi operation mode to apmode=2 via CXWIF. In this mode the device brings up an Access Point with the data stored in APY.

>SAPYRinhoService,clave123< // Service AP data >SCXWIF1,2,0< // WiFi ON, apmode=2 (AP with APY data)

Compatibility

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

See Also

Last updated