I am working on an widget that retrieves png images from a website.For the Edge 1030, I retrieve images of the size 240x260 with MakeImageRequest. The disksize of these images is between 5 to 10k.
Problem:
This was working fine, for 3 months, until last week. Nothing have been changed in the source code. Nothing has been changed in my configuration (mobile (Iphone 6 with IOS 12.3), Edge 1030 with FW 7.3).
Other users of my widget are not experiencing these problems. They are using different devices: Edge 520, 520Plus, 1000 and 1030.
Debug info:
When debugging, CIQ_LOG.YML shows the following error: 'Error: Array Out Of Bounds Error. Details: failed inside handle_image_callback".
There are no details in the "Stack" section of the CIQ_LOG.YML.
The crash always appears right after the call makeImageRequest has been done. Even if I remove/disable all other code in my widget, the app keeps crashing with the same error.
The free memory during execution of the widget is 480k, and the peak does not exceed 800k.
When I decrease the size of images (e.g. 200x200) the app works fine, and keeps running fine.
Questions:
I would be great if you could help with answering the following questions:
1) Is there a limitation for the size of images that can be retrieved with MakeImageRequest?
2) Is there a limitation of the data transfer over BLE?
3) What does that error "failed inside handle_image_callback" exactly mean?
4) What should I do to get more details in the stack section of the CIQ_LOG.YML? I have "release" build un-checked in the build for device wizard.
I cannot find anything on the forums or website that could help me further on the above questions.
I really hope you could help me out on this. In case you need more information or details, please let me know.