Closed rcarmo closed 6 years ago
@rcarmo : 1 - We've got several samples for Arduino; which one are you working with? 2 - Version 1.0.40 of the Arduino libraries was just dropped yesterday. Could you try with the new libraries and see if the problem still exists? 3 - Arduino doesn't support threading, so the Arduino samples don't have any threading going on. 4 - We don't have any lighter-weight samples, but the IoT Hub does support simpler REST operations.
Thanks, but I figured out I was running out of heap space in the ESP-01 due to nested string allocations, and bigint blew up because of that.
On 26 Oct 2017, at 18:21, Roy Sprowl notifications@github.com wrote:
@rcarmo : 1 - We've got several samples for Arduino; which one are you working with? 2 - Version 1.0.40 of the Arduino libraries was just dropped yesterday. Could you try with the new libraries and see if the problem still exists? 3 - Arduino doesn't support threading, so the Arduino samples don't have any threading going on.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Cool. I'll close this issue; feel free to re-open it if need be.
I'm trying to get the sample going, but there seems to be a problem with the SSL negotiation, and the sketch crashes (see below). I've been able to replicate this consistently across an ESP-01 and another ESP8266 board, with all the latest Arduino libraries (it's a fresh install, done today after a first one two days ago).
I'm also very curious as to whether there is a "plain", non-async HTTPS primitive I can invoke for the single purpose of sending an individual message, rather than the full-blown sample (since besides the model management, I suspect the threading and async bits aren't necessary for 80% of applications with very simple devices).
Here's the serial output: