AT+S.FSWRITE=<length><cr>{data}
Parameters:
<length> Data length to send (in bytes)
6.13
AT+S.FSUPDATE
To download an updated file system from the named host and path. The downloaded image overwrites the
existing one. In this case, the user needs to perform a backup of the current file system.
Usage:
AT+S.FSUPDATE=<mem>,<hostname>,[<path&queryopts>],[<port>],[<TLS>],[<username>],
[<passwd>]<cr>
Parameters:
<mem>
specifies the memory where the file system is saved.
•
e → user Flash
•
i → application Flash
•
x → external memory volume
<hostname>
Target host. DNS resolvable name or IP address.
<path&queryopts>
Default:/fs.img. Document path and optional query arguments.
<port>
Default 80 (if TLS=0) or 443 (if TLS>0).
<TLS>
Default: 0. Values range: 0 → unsecured; 1 → autodetect; 2
→ TLS
<username>
Default: none.
<passwd>
Default: none.
6.14
AT+S.FWUPDATE
This command downloads an updated firmware image located at the named host and path. The downloaded
image is temporary stored in the internal Flash. The user should perform a procedure to save the content of the
file system that will be overwritten during the process.
Note:
FWUPDATE can be invalidated by pulling GPIO0 high during the first reset after the execution of AT
+S.FWUPDATE command. In this case, the external filesystem is erased and the FW update is not performed.
Usage:
Note:
The HW factory reset pin (GPIO0) must be tight low during F/W update. The HW factory reset can be used after
“+WIND:17:F/W update complete!”
AT+S.FWUPDATE=e,<hostname>,[<path&queryopts>],[<port>],[<TLS>],[<username>],
[<passwd>]<cr>
Parameters:
<hostname>
Target host. DNS resolvable name or IP address.
UM2114
AT+S.FSUPDATE
UM2114
-
Rev 3
page 16/66