Azure / azure-iot-arduino

Azure IoT library for the Arduino
Other
167 stars 96 forks source link

Azure IoTHub and AsyncWebServer blocking eachother #111

Closed KingInTheNet closed 4 years ago

KingInTheNet commented 4 years ago

Hi there, I'm not sure if this issue belongs to AsyncWebserver or AzureIoTHub, so I'm writing in both repo. I have an ESP8266 which I'm trying to connect to Azure. Basically, if I try to declare a webserver, haven't even begin the server, Azure IoTHub will not be able to start a socket connection. I tried changing the port for AsyncWebserver but those didn't help. I also tried only declaring the webserver only in the event that there is no connectable SSID around as the page I am hosting is a Wifi config page, but that also didn't help. I decided to ask for help before meddling with the library since I'm not very experienced with ESP8266. I can provide source code if necessary.

jbobotek commented 4 years ago

For the ESP8266, we actually don't handle the socket layer, other than starting a wifi connection. This may be for the other guys.