Swim session recording FitContributor with MESG_TYPE_RECORD

I'm trying to record an event with message type record, but it's not showing up in the resulting .FIT file. When I record data using MESG_TYPE_SESSION it seems to work fine but not with MESG_TYPE_RECORD. Is this a limitation of the sdk or am I doing something wrong here?

Edit : This is using the 3.0 beta
  • Former Member
    Former Member over 6 years ago
    This is a limitation of the options available in the SDK currently.

    Swimming activities do not generate Record messages, so data contributed to that message type would not appear anywhere for that activity type. Swimming activities generate Length messages, which the FIT contributor does not currently have the ability to add data to.
  • Is this something that the team plans on adding or should I try to find another work-around solution? I need to send my companion app the specific time of some events so that it can make computations based on that.
  • Former Member
    Former Member over 6 years ago
    This is not something that is on the current roadmap. I've created a feature request ticket.

    Note that adding data to Length messages is not going to provide specific timing. Pool files do not have any messages that are recorded specifically when data is generated or modified like the Record message.
  • Hi,
    if you don't set the subsport to lap swimmong, then the record messages get recorded. At least for fr230, fr235 and fr630
    https://forums.garmin.com/forum/developers/connect-iq/143318-
  • Former Member
    Former Member over 6 years ago
    Correct, pool swimming mode is only activated when selecting the swimming sport with the lap swimming subsport. However, doing so is the only way to put the device into the recording mode that detects pool laps.
  • Ah, got it. He is using the built in swimming activity and trying to add some field...
    ok, it makes sense.