Hi All,
I created and uploaded a datafield a while ago, which was working just fine. A couple of weeks (months) ago I noticed that the datafield did not work and now, when I have some time to take a look at it, I am trying to investigate what the issue is.
The build is successful and the datafield has no issue in the simulator whatsoever, however when I install on a watch with Garmin Connect App and select it in an activity profile, it gives an IQ! icon right away and it does not load at all. Based on the CIQ_LOGS and ERA it seems that the issue is somewhere during initializing a fit field, but again, it is working fine with the simulator so not exactly sure what could be the problem there.
The code where it fails according to the logs and ERA looks like this:
minHrSessionField = dataField.createField( Ui.loadResource( Rez.Strings.minHrLabel ), MINHR_SESSION_FIELD_ID, Fit.DATA_TYPE_UINT32, {:mesgType=>Fit.MESG_TYPE_SESSION, :units=>Ui.loadResource( Rez.Strings.minHrUnits )} );
Rez.Strings.minHrLabel, Rez.Strings.minHrUnits and MINHR_SESSION_FIELD_ID all have defined values.
Furthermore, what is weird, that I cannot find the PRG file in he APPS folder on the watch which I could do previously when it was working. I tried to build a prg for the specified model and copied to the Apps folder, however when I disconnect the watch from the computer and re-connect it again the file is missing from the folder.
I tried it with a Marq and a FR945, same result on both. I have tried to search for similar issue here and on Google too but could not find any so I have no clue what exactly I should continue the investigation with.
I would appreciate any recommendation, comment.
Thank you!
Zoltan