aviatorhh

Results 33 comments of aviatorhh

I can confirm on the MCP2515. If you look at the code, the MCP routine just loops 6 times and writes to all registers. I have changed the (my) function...

Perfect :-) I have not testet yet but this looks like the way to go. I will implement and let you know.

``` #define REG_RXFnSIDH(n) n < 3 ? 0x00 + n * 4 : 0x10 + (n - 3) * 4 #define REG_RXFnSIDL(n) n < 3 ? 0x01 + n *...

There is more. My above code changes has only effect if the control bits within some registers are set correctly. The above code has a sequence take from the origin:...

Apr 02 22:30:49 signalk-server running at 0.0.0.0:[object Object] Apr 02 22:30:49 [object Object] That is all I can find that looks strange but I assume it has nothing todo with...

> On the n2kais plugin issue. Do you actually see any AIS data in the Data Browser when using canboat? Yes AIS and paths are fine but are not dumped...

> can you try this: > > ``` > sudo npm install -g @canboat/canboatjs > candumpjs vecan0 > ``` > > This will just dump everything from vecan0 using canboatjs....

Found something Apr 02 23:00:50 TypeError: Cannot read properties of undefined (reading 'toString') at N2kMapper. (/usr/lib/node_modules/signalk-server/node_modules/@signalk/streams/n2k-signalk.js:57:26) at N2kMapper.emit (node:events:517:28) at N2kMapper.toDelta (/usr/lib/node_modules/signalk-server/node_modules/@signalk/n2k-signalk/n2kMapper.js:149:14) at ToSignalK._transform (/usr/lib/node_modules/signalk-server/node_modules/@signalk/streams/n2k-signalk.js:113:34) at Transform._write (node:internal/streams/transform:175:8) at writeOrBuffer...

No, as written beneath, canboat bin. BTW, candump vcan0 | candump2analyzer | analyzer -json -nv | n2kd --nmea0183 2>/dev/null also runs fine.

At which point in the SK code you get the stream out of the canboat bin version into the parser? I found n2k-signalk but could not determine the stdin entry...