Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JPG file transfer issues

Hi, I am having strange issue when receiving file using File transfer API. Having Fitbit Ionic and Android app as a companion. The usecase is quite simple. According to the GPS, the request is made to the google static API to obtain jpeg. Then the jpeg file is transfered from phone and displayed. It works in 90% cases, but sometimes, after the file is properly transfered, the device is not able to display it. It says something about pjpeg_save_to_file returned NULL, error comes from some internal library. Can anybody help? What confuses me is the error seems to occur really randomly. I followed sdk examples, so literally there is not much of my code. Especially the file transfer api example was used nearly 'as is'.

If needed, I can send the code as well, however it seems (because of random occurrence) to be some internal bug then the bug in my code.

Best Answer
0 Votes
1 REPLY 1

I would try again with the 2.0 firmware, it's just been released.

Best Answer
0 Votes