vokkim - Having problems with SensESP and N2K c...
Having problems with SensESP and N2K connection. B&G Zeus can get some engine RPM readings from the ESP, but lists the device name as
???
and without any device info. Also I can't verify the actual data displayed yet since the boat is on land now, but at least the Zeus showed correctly 0
RPM. What might be the problem?
Here's the relevant code:
Wonder if I should use N2km_SendOnly
mode instead of N2km_NodeOnly
2 Replies
I'd say NodeOnly is definitely preferable. IIRC, NodeOnly participates in address resolution and sends the device information when requested while SendOnly only transmits the data. The SK server will catch SendOnly data but many other devices might ignore it.
Do you have the following line somewhere?
Despite the misleading name, the call is required for the device to respond to the device info request and address resolution PGNs.
Basically, that's the n2k library event handler. The library examples call ParseMessages in the
loop()
function, but in practice, every millisecond seems to be enough.No calls to
ParseMessages
, must be it, thanks!