Bouldering app: how can a Connect IQ app record routes, grades and attempts (climb splits)?

I'm building (or trying to build) a Bouldering app with SDK 9.3.0. The app records each attempt with a grade and a result, and shows a summary at the end.
The app works on the watch, but the activity doesn't come out right in Garmin Connect:

  • Sport and sub-sport: the app creates the session with ActivityRecording.createSession({:sport => SPORT_ROCK_CLIMBING, :subSport => 69 /* bouldering */}) and adds one lap per attempt with addLap(). Grade and result go in as lap developer fields through FitContributor.
  • Routes: the firmware adds a single climb split (FIT message 312, split_type climb_active) spanning the whole recording, with no difficulty and no result. Connect therefore shows Total Routes 1, Max Difficulty --, and Climb Time equal to the whole session.
  • Loading Error: the activity page in Connect web shows "Loading Error – We had a problem loading this feature".
  • Generic sub-sport: the same file with sub_sport generic (rock climbing) loads without errors, but then there are no routes at all.

Garmin's own Bouldering activity writes one split per climb plus a split summary (message 313). Comparing its files with the route list in Connect, these fields carry the climbing data:

312 (split):

  • field 0: split_type (9 = climb, 10 = rest)
  • field 70: difficulty (Font grade index: 5 = 6, 6A = 7, … 7A = 13)
  • field 71: result (3 = completed, 2 = attempted)
  • field 69: always 9 on climbs

313 (split summary):

  • field 3: number of climbs
  • field 55: max difficulty
  • field 58: attempted count
  • field 59: completed count

If I rewrite on a computer my fit file with these splits (one per boulder, one lap per attempt) and import it into Connect, it shows every route, grade and status correctly.

So the data model works; only the watch API is missing.

And now the kicker: What I (think I) need to make my app work: an API to record climbs.
Is there, or is there planned, a way for a Connect IQ app to write climb splits with difficulty and result? For example Session.addClimb({:difficulty, :result}), a split-type option on addLap(), or a FitContributor MESG_TYPE_SPLIT. Anyone climbing with a third-party app on a Garmin watch would then get routes in Connect.

If someone at Garmin can open this up for Connect IQ apps, or if someone knows a supported workaround, I'll gladly test it with my app.

  • Small update in case someone finds this thread with the same problem.

    I couldn't find any way for a Connect IQ app to write climb splits, so I went around it. In an optional mode, the app keeps each session on the watch instead of saving a normal activity. A small free desktop tool (Mac and Windows) then turns it into a complete activity, with one route per boulder, and the watch syncs it to Garmin Connect as usual. Routes, Max Difficulty and climb time all show correctly, including the Routes tab on the website.

    It works, but it's a workaround: it needs a computer and a USB cable. A proper API for climb splits would make all of that unnecessary, so I'd still love to see CIQQA-4835 implemented.
    Upvotes welcome:
    Set activity Split info as part of ActivityRecording