Azure / iot-central-firmware

Azure IoT Device Samples ✨ 📟 🔌 🔋💡 ✨
Other
128 stars 95 forks source link

ESP8266 WITH AZURE IOT HUB #106

Open Transistor15 opened 4 years ago

Transistor15 commented 4 years ago

We are implementing an IoT telemetry solution using Azure IoT Hub. By using the project here we were able to implement a successful basic solution on an ESP8266. However we would like the ESP to work also as a Web server on the local WiFi network, mainly for initial configuration purposes.

If we add to the aforementioned project this line: Fatal exception 29(StoreProhibitedCause): epc1=0x4000e1b2, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000004, depc=0x00000000

Exception (29): epc1=0x4000e1b2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000004 depc=0x00000000

ctx: cont sp: 3fff4700 Soft WDT reset

ctx: cont sp: 3fff4460 end: 3fff4ce0 offset: 01b0

stack>>> 3fff4610: 40001da0 00000078 00000000 00000010 3fff4620: 40001f46 0000000d 66089700 263a390c 3fff4630: 66666633 30303734 88fd4100 5da4cdaf 3fff4640: 2395829e 2c6ea747 4f2f4c52 72696e6d 3fff4650: 00000000 2e353230 306c7263 5503061d 3fff4660: 00000000 3fff4740 3fff4740 3fffa878 3fff4670: 00000000 3fff46e0 3fff46e0 3ffec9ba 3fff4680: 40002514 3fffdd3c 3fff4ce0 3fff4700 3fff4690: 00000000 00000008 00000008 00000001 3fff46a0: 00000000 3fff4700 00000000 3fff4638

Hasanyone experienced this?

dmitriyteteruk commented 4 years ago

you can add wifi autoconnect and web-server code into your sketch. here is my example of combined telemetry send to IoT Central with web-server and auto-connect option on it.