Comments (3)
I do not have other NMEA 2000 documents than public available documents. If you buy NMEA Documents, you sign agreement, that you will not publish information. So main references are PGNDefns.N2kDfn.xml file on OpenSkipper project, which I update and which is originally based on Kees CANboat project pgn.h. New information comes from testing and different sources.
I updated wind reference to library. I do not know, why N2kWind_True_water=4 was missing. But as far as I know, there is no ref=5. Which example you mean?
Any certified manufacturer can not use their own definitions on any values. New definitions will be first added to NMEA database by organization. But since NMEA 2000 is closed system, that new information will not be available as public.
from nmea2000.
Thanks for explaning the background your sources, and for updating N2kWind_True_water=4.
So with other words the reference that I found was right and it was only a missing parameter in the library that has been updated.
You are absolutly right, there is no "ref=5". This was just a "calculation fault" :-) from my side because its 5 ref's (0-4) and I was not thinking and started counting at 1 instead at 0. Sorry for the confusion 👎
But just for my curiosity. If a ref=5 for the "wind PGN" would arrive on NMEA2000 Bus and if I would have extended the code to a "if ref=5", would your library forward this formaly not correct "ref=5" to the "if ref=5" or would it block this value?
from nmea2000.
It cast readed byte to tN2kWindReference, so in principle you could test if (ref==5). But on the other hand that violates code and NMEA 2000 definitions. You can not do it to other directions: tN2kWindReference ref=5; You could do it with tN2kWindReference ref=(tN2kWindReference) 5; but then you again violating code rules.
from nmea2000.
Related Issues (20)
- CAN Transceiver MCP2562 8mb/s HOT 13
- AIS PGN 129038/39 Communication State Issue
- UpdateHasPendingInformation() gives compile error
- Send Failed Question HOT 6
- N2k_CAN_int_pin HOT 12
- Use of checks for NA data in PGN130311 ? HOT 5
- can't send ProductInformation HOT 5
- (Help) UDP by esp32 HOT 12
- ESP32C3 Compilation Error HOT 9
- Error 'PERIPH_CAN_MODULE' when I try to compile with ESP32S3 Dev Module HOT 1
- Question: how to determine if Open() is successful? HOT 2
- N2K out but no N2K in. HOT 3
- MIssing PGN Electric Motor drive status 128002 HOT 4
- Multimedia Control HOT 1
- SeaTalk-NG anyone? HOT 1
- Unique Number and Model Serial Code HOT 1
- Minor issue with PGN 129038
- NMEA2000__mcp library "Type not declared error" HOT 4
- question: is it possible to only get data from one GNSS device on an N2K network? HOT 5
- SetN2kEngineDynamicParam does not support negative numbers for oil pressure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmea2000.