September 2017
DocID030435 Rev 2
1/8
For further information contact your local STMicroelectronics sales
office
www.st.com
STSW-WIFI004
TCP/IP protocol stack FW package for the SPWF04Sx Wi-Fi
modules
Data brief
Features
ï‚· AT-like command interface through UART
and SPI
ï‚· Integrated TCP/IPv6, TCP/IPv4 protocol
stacks
 8 simultaneous TCP or UDP clients and
2 socket servers (supporting up to 8
clients each)
 Secured socket and upper layers (i.e.
HTTPS) supporting up to TLS 1.2,
including X.509 Certicates AES (128,
256), hash (MD5, SHA-1, SHA-256,
SHA-384 ) and public key algorithms for
key exchange (RSA, DH, ECDH) and
digital signature (RSA, ECDSA).
 Web server supporting SSI and
dynamic web pages.
ï‚· RESTful API to GET & POST web content
ï‚· Open, WEP, WPA2 PSK, WPA2 enterprise
ï‚· System modes: Station, IBSS, and miniAP
(supporting up to 5 STA)
ï‚· miniAP easily provisioned (SSID, PWD)
ï‚· Fast Wi-Fi re-association after reset
ï‚· Secure firmware and file-system update
over-the-air (FOTA)
ï‚· Application subsystem
ï‚· Embedded real-time MicroPython
environment for customer applications and
on-board development
ï‚· MicroPython API library for easy access to
Wi-Fi subsystem capabilities and device
peripherals (i.e. UART, SPI, I
2
C)
Figure 1: SPWF04S stack
STSW-WIFI004
2/8
DocID030435 Rev 2
Contents
1 STSW-WIFI004 package contents .................................................. 4
2 Revision history .............................................................................. 7