The STSW-WIFI004 package integrates the TCP/IP protocol stack FW binary files (.hex and .fota) compatible with the SPWF04Sx Wi-Fi module with embedded 2 MB Flash.
The TCP/IP protocol stack FW supports both direct links with Wi-Fi-enabled devices and infrastructure communication modes with an access point.
Application utilities such as an HTTP client, a web server, RESTful API for accessing files on servers in the cloud, and support for dynamic web pages with SSI functions are also featured to allow easy integration with many Internet-based applications. See also application note AN4965 for further details on HTTP server capabilities.
Multiple higher level protocols over TCP are supported by the module, including: HTTP, MQTT, SMTP, and WebSockets to easily connect applications to the cloud. Multiple protocols supported over UDP include: TFTP, SNTP and mDNS. The module also includes IPv6 networking capabilities.
For secure end-to-end communication with the cloud, a TLS stack is embedded in every module with no licensing charge. See application note AN4963 for details.
The FW package also includes an AT command layer interface for user-friendly access to the stack functionalities via the UART serial port and an SPI slave interface, supporting messages from and to the host processor.
A complete description of the TCP/IP protocol stack FW interface is provided in user manual UM2114.
The SPWF04Sx module’s firmware can be securely upgraded via UART and over-the-air (FOTA).
ST may update the FW provided with the modules at any time. ST recommends that users regularly check for documentation and the current FW version, which is available at www.st.com/wifimodules.