DISCO L475VG_IOT1A - Access Point and HTTP Server
Hello everybody,
I use the DISCO L475VG_IOT1A board with the onboard Wi-Fi module Inventek ISM43362-M3G-L44.
I would like to start an access point with an HTTP server.
I use this MBED example: os.mbed.com/teams/ST/code/DISCO_L475VG_IOT01-wifi_http_server/
The board acts as a Wifi client in this example.
If I now start the AP Direct Connect mode instead of the Wifi Client mode, the HTTP server will not work properly anymore.
At the first website visit I receive the http GET command.
After that, I receive an error message regardless of the website visit:
ES-WIFI Initialized.
Firmware: C3.5.2.5.STM
> es-wifi module connected
>Start HTTP Server...
>Socket: 0
> HTTP Server Started
> Wifi_ReceiveData - Socket: 0
resp: GET / HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362
Accept-Encoding: gzip, deflate
Host: 192.168.10.1:8022
DNT: 1
Connection: Keep-Alive
OK
>
respLen: 377
Send Webpage
StopStart Server
> Wifi_ReceiveData - Socket: 0
resp: -1
ERROR: Unknown Error
Usage: R0
> ation/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362
Accept-Encoding: gzip, deflate
Host: 192.168.10.1:8022
DNT: 1
Connection: Keep-Alive
OK
>
respLen: 32
According to inventeksys (www.inventeksys.com/iwin/getting-started-guide/), this error message reads: "And if by chance the eS-WiFi module was not connected to a server issuing an R0 command would generate the output:"
-1
ERROR: Unknown Error
Usage: R0
>
After receiving data, the server is stopped (P5 = 0) and started (P5 = 1) using the AT commands.
