Variable name
Default value
Type
Description
ip_ntp_refresh
3600
INT
Refresh time interval
ip_ntp_startup
1
INT
NTP enabler at the startup. 0→off; 1→on
ip_mdns_domain_name
SPWF04S-Default
TEXT[32]
MDNS domain name
ip_mdns_device_name_ttl
120
INT
MDN Time To Live
ip_mdns_services_name
SPWF04S-WebSrv
SPWF04S-TFTPSrv
TEXT[64]
Services list separated by space (max two
services)
ip_mdns_services_prot
_http._tcp _tftp._udp
TEXT[64]
Services protocol list separated by space
ip_mdns_services_keys
dev1 dev2
TEXT[32]
Services keys list separated by space
ip_mdns_services_vals
number1 number2
TEXT[32]
Services values list separated by space
ip_mdns_services_port
80 69
INT
Services ports list separated by space
ip_mdns_services_ttl
120 60
INT
Services ttl list separated by space
ip_mdns_startup
01:01
HEX[2]
Services enabler at the startup separated by
space
The following table lists the status variables together with their associated values. The list of status variables is
generated by the command AT+S.STS.
Table 8.
Status variables
Status variable
Value
Note
build
170216-fd39c59-SPWF04S
SW Build Version
fw_version
1.0.0
SW Major Version
boot_version
1.0
Boot Version
var_version
1
Variable List version
free_heap
55200
Current free heap space
min_heap
52576
Minimum free heap space thus far
system_time
1467386876
Current Time in UTC format in sec
system_uptime
1780
System Running Time in sec
system_sleeptime
0
System Sleeping time in seconds
reset_reason
2
H/W reported reason for last reset
0 = POWER_ON
1 = WATCHDOG
2 = SOFT RESET
3 = LOW POWER
4 = HW RESET
startup
0
Failure reasons at the boot time (see wind:7 description)
random_number
3725839442
Random Number generated by the random generator with the AT+S.RANDOM command
gpio_enable
0x0000
Interrupt-enabled GPIO bitmask, expressed in HEX
app_fs
1
App Flash. 0 → FS not mounted; 1→ mounted; 2 → mounted and protected. Application
Filesystem can be protected through “__LOCKED__” file insert.
user_fs
0
User Flash. 0→ FS not mounted; 1→ mounted
extvol_fs
0
Ext. Storage. 0 → FS not mounted; 1 → mounted
nv_power_cycles
5
Number of executed power-on
UM2114
Variables and values
UM2114
-
Rev 3
page 47/66