-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
130576 Small Craft Status (Trimtab) #130
Comments
I did not understood, what you mean - that was already on library. Anyway I found that values should be signed, so I have to fix the code to handle that right. Also you have N2kMsg.Priority=3; Where did you got that? I do not have document for right send period and priority. So if you have certified device, which sends that PGN, please report, what priority and send period it uses. |
I am terribly sorry about opening this becouse i didnt checked your latest code. I wrote this code more then a year ago and decided to share but little after i noticed that you have wrote it allready. And i a m new to github and i didnt know how to delete this so is that i tried closing this as an issue. |
That is OK. Anyway I'll fix handling within few days. I'll leave this open and inform, when I have done it. And what about my question of priority and update speed? |
http://forum.katera.ru/index.php?app=core&module=attach§ion=attach&attach_id=135641 as far as i remember i have looked at here and https://www.maretron.com/support/manuals/USB100UM_1.7.pdf then i have examined your code and wrote it. I am no expert about NMEA bus, just trying to digitize my analog devices on my boat thanks to your source libraries. |
This works right, except in case that for some reason send data length would be less than expected. In that case it will not return NA. I'll close this and fix it some day. There are other PGN:s, which has same problem. |
I have added this. It doesnt seem to have a problem can you check please?
// *******************************************************
// * 130576 Small Craft Status (Trimtab) *
// *******************************************************
// * Input: *
// *- Port Trim Tab *
// *- StarBoard Trim Tab *
// *- Reserved *
// *******************************************************
PGN: 130576 - Small Craft Status
Field #1: Port trim tab
Bits: 8
Signed: true
Field #2: Starboard trim tab
Bits: 8
Signed: true
<><><>N2KMessages.cpp<><><>
<><><>N2KMessages.h<><><>
<><><>NMEA2000.cpp<><><>
The text was updated successfully, but these errors were encountered: