NMEA2000 icon indicating copy to clipboard operation
NMEA2000 copied to clipboard

SetN2kDCBatStatus Ampere decimals

Open anhorbc opened this issue 4 years ago • 2 comments

Hi Timo! First of all I would like to thank you for all your excellent work! I cannot imagine the number of hours you have spent on this. I have a question regarding SetN2kDCBatStatus. BatteryCurrent seems to be sent with only one decimal. Do you know if it is a limitation due to the NMEA 2000 standard? I was thinking of modifying N2kMessages.cpp to send more decimals, but I realize that this might not be according to the NMEA 2000 specifications..

/A

anhorbc avatar Dec 19 '20 19:12 anhorbc

Yes it is. You can not change N2kMessages.cpp, if you do not find special error there. NMEA2000 data structure is fixed by specifications.

ttlappalainen avatar Dec 19 '20 20:12 ttlappalainen

Ok! Kind of figured.. Thanks a lot!

anhorbc avatar Dec 19 '20 21:12 anhorbc