cancel
Showing results for 
Search instead for 
Did you mean: 

DISCO L475VG_IOT1A - Access Point and HTTP Server

MMayr.940
Associate

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.

3 REPLIES 3
Cvega.11
Associate II

Hello my friend

Do you know how to use the wifi module (ISM43340-M4G-L44-10 CF) of the stm32h7b3i-dk board?

Any example of a WIFI http server with stm32h7b3i-dk ???

Cvega.11
Associate II

the same happens to me

manage to correct the problem ??

JMutt.1
Associate

Hi, I've been having a related issue when the request for a download from S3 appears to be above approx 11,000 bytes. I commented out the command for the Timeout and I get a slightly more detailed error now as a result of issuing the R0 command:

[TCP SSL] Packet reception failed: 5003\r\nERROR: Unknown Error\r\nUsage: R0