When posting data to Azure IoT from a MKR1000, I'm getting status of 0.
If I increase the delay to 150, it works every time and I get the expected 204 No Content response.
|
// make sure you've sent all bytes. Ugly hack. |
|
// TODO: check output buffer instead? |
|
delay(50); |
What's the right way to fix this?
When posting data to Azure IoT from a MKR1000, I'm getting status of 0.
If I increase the delay to 150, it works every time and I get the expected
204 No Contentresponse.RestClient/RestClient.cpp
Lines 103 to 105 in da79137
What's the right way to fix this?