ToyBox ActivityRecording not working properly

Former Member
Former Member
As in https://developer.garmin.com/downloa...Recording.html said, you can use sup_sports in ConnectIQ SDK.
But creating a recording session on the vivoactive hr with software 2.90 with
Record.createSession({:name=>"Road Bike", :sport=>Record.SPORT_CYCLING, :subSport=>Record.SUB_SPORT_ROAD });
results in a fit-file with sport set to 2 (correct) but sub_sport set to 0 instead of 7.
So the road bike activity is synced as generic cycling.
Same happens when you use the garmin activity road you can create on the vivoactive hr. Fit file contains sub_sport 0 instead of 7.
What do do to go around with this bug as garmin support says I have to post it in the connect iq developer forum which is the right channel for those bugs
  • Former Member
    Former Member
    I will check on the default device behavior and bring it to the device team's attention.
  • Former Member
    Former Member
    I looked at the device behavior and discussed it with one of the device developers. The device doesn't actually support sub-sports. When you select "Road" after creating a Cycling profile, this is actually just the name of that profile. We realize that this is confusing since most of the default options presented correspond to valid sub-sports. The device team will consider making a change to assign sub-sports to these profiles where applicable.
  • Former Member
    Former Member
    I looked at the device behavior and discussed it with one of the device developers. The device doesn't actually support sub-sports. When you select "Road" after creating a Cycling profile, this is actually just the name of that profile. We realize that this is confusing since most of the default options presented correspond to valid sub-sports. The device team will consider making a change to assign sub-sports to these profiles where applicable.


    That would be good cause there are many mountain and road bike user out here using garmin devices ;-)
  • Former Member
    Former Member
    Now the developer of cycling app professional robert hofer has changed his app to use :subSport. But still activity is first shown in mobile connect app as generic cycling after finish and then of course synced as generic cycle to garmin connect.
    What else could be wrong?
    How do you correctly synced an activity as road bike? Do you test to sync it from the vahr via connect app? do you create it with the vahr or do you just sync a training via import to garmin connect?

    I testetd it with rh's app both with setting mountain ike and road bike, all activities are synced again as generic cycle
  • Former Member
    Former Member
    Deinstalled his app and tried again. Now his app is working like it should. Road bike is correctly synced as road bike.
    Now I hope, it gets corrected for the device default activities, too.
    Thx
  • Former Member
    Former Member
    I looked at the device behavior and discussed it with one of the device developers. The device doesn't actually support sub-sports. When you select "Road" after creating a Cycling profile, this is actually just the name of that profile. We realize that this is confusing since most of the default options presented correspond to valid sub-sports. The device team will consider making a change to assign sub-sports to these profiles where applicable.


    Any news from the device team?
  • Former Member
    Former Member
    I've seen no activity on the request to assign sub-sports to native activity profiles on the vivoactive HR