Multiple HTTP Server instances

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I've tried to create two http server instances - one for the config interface followed by another http server for the STA interface.

The STA interface' http server never worked.. when digging into the http_server codebase, I can use that it's being implemented as if only one instance is expected to be used at a time.

My question is - am I using the http_server incorrectly, or should I just re-implement the http server based on the SDK as a (great) starting point ?

Tsachi

0 Likes
1 Reply
Anonymous
Not applicable

I suspect that the core issue is the tcp server, which is already discussed here:

TCP connection with STA interface breaks as soon as a device is connected to softAP

0 Likes