FIT Contribute use and get .fit recording errors

Hi,

I updated the SimpleDataField App (https://apps.garmin.com/en-US/apps/f848e2ec-ad56-4dbd-8e36-eaf0316d5ea3) for recording the metrics and the fit file created have errors, garmin connecte file is this:

https://connect.garmin.com/modern/activity/1304734679 (time graph wrong and some GPS point)

In the App have write, as globals variables

const WBAL_FIELD_ID = 0;
hidden var wBalField;


In initiaze section:

wBalField = createField("current_wbal", WBAL_FIELD_ID, FitContributor.DATA_TYPE_FLOAT, {
:mesgType => FitContributor.MESG_TYPE_RECORD,
:units => "%"
});
wBalField.setData(100.0);


In compute section:

wBalField.setData(balance_por);


what am I doing wrong?

Thanks
  • I reported this problem to Garmin last week.

    As far as I know, this occurs on the Edge 520, Edge 1000, and 920XT. I have not observed the problem on the vivoactive, 235, or fenix 3. I have not tested any other devices.

    The problem only occurs when developer data is included in the fit file. I have observed it affect time stamps, latitude, and longitude but it may affect other fields as well.

    I think the root of the problem is in the device firmware.
  • I'm also trying to include Custom Developer Fields in a Fit Files using an app,I tested with my Fenix 3 but apparently the data are not shown in Gamin Connect...and Garmin Connect Mobile even crashes trying to show the data...I converted the Fit File in csv and apparently the data are recorded correctly...I'm really stuck on this,also reported to Garmin attaching all the files,but no reply up now...I don't know if there is some app or detafield saving custom fields working up now....
    regards
  • I'm also trying to include Custom Developer Fields in a Fit Files using an app,I tested with my Fenix 3 but apparently the data are not shown in Gamin Connect...and Garmin Connect Mobile even crashes trying to show the data...I converted the Fit File in csv and apparently the data are recorded correctly...I'm really stuck on this,also reported to Garmin attaching all the files,but no reply up now...I don't know if there is some app or detafield saving custom fields working up now....
    regards


    In order to show in Garmin Connect, you need to add the metadata for the FitContributor data to the resources file and then the datafield needs to be loaded in the app store (does not need to be approved though) so GC gets that metadata. The data won't show up inGC from a sideloaded data field.

    I haven't tried anything with GCM yet.