Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Java generation broken for custom fit messages in FitSDK 16.00

Rank

Total Posts: 7

Joined 2012-11-15

PM

Java generation appears to be broken for custom fit messages in FitSDK 16.00. The c/c++/c# code seems to generate fine.

I get error messages similar to the following:

com\garmin\fit\Factory.java:xxerrorcannot find symbol
         
case MesgNum.CUSTOM_DATA:
                     ^
  
symbol:   variable CUSTOM_DATA
  location
: class MesgNum
com\garmin\fit\CustomDataMesg
.java:xxerrorcannot find symbol
      CustomDataMesg 
= new Mesg("custom_data"MesgNum.CUSTOM_DATA);
                                                                 ^
  
symbol:   variable CUSTOM_DATA
  location
: class MesgNum 
     
RankRank

Total Posts: 34

Joined 2013-01-28

PM

Hello,

Did you make sure to create a new entry in the mesg_num types field for your newly defined message?

ie. Create a custom types file with the existing mesg_num definition and tack on your new custom message into list in the manufacturer_specific range 0xFF00-0xFFFE.

-Evan