WIFIAPIPCONFIG
Set the IP address and netmask for the Wi-Fi access point
Platform: |
PwrPak7, SMART7-I, SMART7-SI, SMART7-W |
PwrPak7M and PwrPak7Q variants do not support this command.
Use this command to set the Wi-Fi IP address and netmask for Wi-Fi module when operating as an access point. The new network configuration takes effect the next time the WIFIMODE AP or WIFIMODE CONCURRENT command is received.
Message ID: 2096
Abbreviated ASCII Syntax:
WIFIAPIPCONFIG ip_address ip_netmask
Factory Default:
WIFIAPIPCONFIG 192.168.19.1 255.255.255.0
Example:
WIFIAPIPCONFIG 192.162.55.20 255.255.0.0
Field |
Field Type |
ASCII Value |
Binary Value |
Description |
Format |
Binary Bytes |
Binary Offset |
---|---|---|---|---|---|---|---|
1 |
Command header |
- |
- |
WIFIAPIPCONFIG header This field contains the command name for abbreviated ASCII or the message header for ASCII or Binary. |
- |
H |
0 |
2 |
ip_address |
Null-terminated ASCII string |
IP address, dot decimal format |
String[16] |
Variable |
H |
|
3 |
ip_netmask |
Null-terminated ASCII string |
IP netmask, dot decimal format (optional) Default =255.255.255.0 |
String[16] |
Variable |
Variable |