-
-
Notifications
You must be signed in to change notification settings - Fork 8
AT commands
Stefan Allius edited this page Jun 4, 2024
·
3 revisions
The WiFi module of the GEN3PLUS inverters can be accessed with AT+
commands. It is possible to query and to set values. Each command starts with AT+
followed by a command string and an optional operator. The operator can be =?
or =
followed by parameters.
With
AT+<cmd>=?
you can retrieve a info/help text for the command. With
AT+<cmd>=<value>
you can set a value. And with
AT+<cmd>
you can retrieve a value.
❗There are some AT+ commands that return critical information, such as passwords or access keys
for your WiFi. You can block these commands with the proxy. To do this, please check your
config.toml file.
❗At least these commands pose a security risk:
AT+WSKEY, AT+WAKEY, AT+WEBU
There might be more!
Command | Description | Examples | Params |
---|---|---|---|
AT+WMODE | Set/Get the WIFI operation mode (AP or STA) | AT+WMODE AT+WMODE=? AT+WMODE=<AP|STA|APSTA> |
|
AT+WAP | Set/Get WiFi parameters for AP mode | AT+WAP AT+WAP=? AT+WAP=<wifi_mode>,<ssid>,<channel> |
wifi_mode: <11BG|11B|11G|11BGN|11N> channel: <AUTO|CH1..CH11> |
AT+WAKEY | Set/Get WiFi security for AP mode | AT+WAKEY AT+WAKEY=? AT+WAKEY=<auth>,<encr>,<key> |
auth: <OPEN|SHARED|WPAPSK> encr: <NONE|WEB|TKIP|AES|TKIPAES> |
AT+WSSSID | Set/Get Wifi SSID for STA mode | AT+WSSSID AT+WSSSID=? AT+WSSSID=<ssid> |
|
AT+WSKEY | Set/Get WiFi security for STA mode | AT+WSKEY AT+WSKEY=? AT+WSKEY=<auth>,<encr>,<key> |
auth: <OPEN|SHARED|WPAPSK> encr: <NONE|WEB|TKIP|AES> |
AT+WSLK | Get link status of the module for STA mode | AT+WSLK AT+WSLk=? |
returns: +ok=<ssid>(<MAC>) |
AT+WSLQ | Get link quality of the module for STA mode | AT+WSLQ AT+WSLQ=? |
Command | Description | Examples | Params |
---|---|---|---|
AT+WEBU | Set/Get the login parameters of WEB page | AT+WEBU AT+WEBU=? AT+WEBU=<user>,<pwd> |
Command | Description | Examples | Params |
---|---|---|---|
AT+TCPTO | Set/Get TCP time out | AT+TCPTO AT+TCPTO=? AT+TCPTO=<timeout> |
timeout in sek: 0..600 |
AT+WANN | Set/Get the WAN IP setting for STA mode | AT+WANN AT+WANN=? AT+WANN=<mode>,<addr>,<mask>,<gw> |
mode: <static>|<DHCP> addr: IP address mask: subnet mask gw: IP address of gateway |
AT+LANN | Set/Get the LAN IP setting for AP mode | AT+LANN AT+LANN=? AT+LANN=<addr>,<mask> |
addr: IP address mask: subnet mask |
Command | Description | Examples | Params |
---|---|---|---|
AT+VER | Get module sw version | AT+VER | returns: +ok=<version> (<datetime>) |
AT+UPURL | Start upgrade command | AT+UPURL=<url> | |
AT+SUPDATE | Start system upgrade command | ||
AT+NDBGL | Set/Get debug level | AT+NDBGL AT+NDBGL=? |
returns: +ok=<int>,<int> |
AT+MID | Get the module id (serial number) | AT+MID AT+MID=? |
returns: +ok=<serial_number> |
AT+H | Show help | AT+H | |
AT+Z | Re-start module | AT+Z |
Please ask questions in the discussions area