Open oxbown opened 1 year ago
Sure. But as far as I know SignalK devs do not recommend using UDP with SignalK as it’s poorly tested
As far as porting m5atom stuff to m5stack it’s super easy. Only instead of m5atom CAN extension board, it would makes sense to use CAN unit (which is same thing just packaged differently)
If you want n2k data into SignalK via m5stack tough. you need can module for it. you can take usb-gw code here (atom version) modify include from m5atom to m5tough modify PIN numbers for can tx/rx. and remove code for led blinking cause m5tough has display instead of a led.
in SignalK you will add NMEA 2000 connection to usb as canboat-js.
Gateway code already uses ReactESP. So no need for AsyncTCP.
NMEA 2000 -> esp32 -> usb -> (via nmea2000 canboatjs) SignalK
that’s what usb gateway code already doing.
Could be the code ported to M5Stack and bbn-m5stack-tough ??
There is a version of UDP com with Signalk