You are here: Forum Home → ANT Developers Forums → ANT+ FIT Forum Has Moved → Thread
Ian Haigh
Note: You cannot use Manufacturer.Dynastream. You must use your assigned ID or the development 255 id.
Sport and Sub Sport are fields on the Session message. At a minimum, you should also provide values for Start Time, Total Elapsed Time, Total Timer Time, and Timestamp.
SessionMesg sessionMesg = new SessionMesg();
sessionMesg.SetTimestamp(timestamp);
sessionMesg.SetStartTime(startTime);
sessionMesg.SetTotalElapsedTime(totalElapsedTime);
sessionMesg.SetTotalTimerTime(totalTimerTime);
sessionMesg.SetSport(Sport.Cycling);
sessionMesg.SetSubSport(SubSport.VirtualActivity);
Sport and Sub Sport are fields on the Session message. At a minimum, you should also provide values for Start Time, Total Elapsed Time, Total Timer Time, and Timestamp.
SessionMesg sessionMesg = new SessionMesg();
sessionMesg.SetTimestamp(timestamp);
sessionMesg.SetStartTime(startTime);
sessionMesg.SetTotalElapsedTime(totalElapsedTime);
sessionMesg.SetTotalTimerTime(totalTimerTime);
sessionMesg.SetSport(Sport.Cycling);
sessionMesg.SetSubSport(SubSport.VirtualActivity);
Thanks, I have done that but now when I publish the fit file on strava ... it shows me the graph for speed, power and cadence, but map matching to the gpx track point is not shown.
Note: You cannot use Manufacturer.Dynastream. You must use your assigned ID or the development 255 id.
Thanks, I have corrected that.
Can you please tell me, how we can get our own manufacturer id.
We have tried but find no clear way to get our own manufacturer id.
Ian Haigh
Note: You cannot use Manufacturer.Dynastream. You must use your assigned ID or the development 255 id.
Thanks, I have corrected that.
Can you please tell me, how we can get our own manufacturer id.
We have tried but find no clear way to get our own manufacturer id.
See https://www.thisisant.com/developer/resources/tech-faq/how-can-my-company-be-assigned-a-manufacturer-id/ to request an ID.
Ian Haigh