-
Notifications
You must be signed in to change notification settings - Fork 50
Description
This issue is for a:
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Random problem, I couldn't explain its appearance...
Any log messages given by the failure
AZ IOT: Could not get next component property: core error=0x00000003
Expected/desired behavior
When processing my received properties JSON, I'm calling
AzureIoTHubClientProperties_GetNextComponentProperty()while it returnseAzureIoTSuccess(I'm waiting foreAzureIoTErrorEndOfPropertiescode to stop).
But sometimes (I can't explain why), instead of returningeAzureIoTSuccessoreAzureIoTErrorEndOfProperties, it returnseAzureIoTErrorJSONReaderDone. This error code means "No more JSON text left to process.". Why does the function didn't returneAzureIoTErrorEndOfProperties?
This is due toaz_iot_hub_client_properties_get_next_component_property()which returnAZ_ERROR_NOT_IMPLEMENTEDinstead ofAZ_ERROR_IOT_END_OF_PROPERTIES.
OS and Version?
Windows 11
ESP-IDF v4.4 (ESP32)
Versions
azure-iot-middleware-freertos : aadfcd7e6511164370b2d03481bfcb76bb3d7399
Mention any other details that might be useful
Thank you in advance,
Waiting for you help 👍