The ESP8266 crashes when using the library “api_aws.js” or “api_mqtt.js” after successfully connecting to the AWS IoT server and receiving a “curve 3” response. This only happens when you register the device with mDash using “api_dash.js”
NB The are no such problems with any combination of these libraries using the ESP32.
[May 17 11:21:07.313] SW ECDH curve 3
[May 17 11:21:14.014] E:M 32 (5 blocks)
[May 17 11:21:14.016]
[May 17 11:21:14.016] Exception 29 @ 0x4000e1b2, vaddr 0x00000000
[May 17 11:21:14.020] A0: 0x402919ab A1: 0x3ffff7a0 A2: 0x00000000 A3: 0x00000000
[May 17 11:21:14.026] A4: 0x00000020 A5: 0x00000000 A6: 0x00000020 A7: 0x00000002
[May 17 11:21:14.031] A8: 0x3ffe83cc A9: 0x00000190 A10: 0x00000000 A11: 0x0000007c
[May 17 11:21:14.037] A12: 0x00000000 A13: 0x00000020 A14: 0x00000001 A15: 0x3ffff830
[May 17 11:21:14.047]
[May 17 11:21:14.047] (exc SP: 0x3ffff600)
[May 17 11:21:14.047]
[May 17 11:21:14.047] — BEGIN CORE DUMP —
[May 17 11:21:14.047] mos: catching core dump
This also happens when you use the demo code (https://github.com/mongoose-os-apps/demo-js) and compile with Mongoose OS command line tool Version: 2.13.1
Does anyone have any solutions for this situation?