Aswin - I could use some advice from one of the...
I could use some advice from one of the core developers on this one. I really, really want performance data generated by the polar performance plugin on my B&G Triton2 displays. The B&G performance plugin can generate a B&G specific PGN to send performance data back to the N2K network. However, the Triton2display will only use the B&G performance PGN when it comes from a H5000 sailing computer. Therefore the B&G performance plugin uses SimpleCan to emulate a H5000 device. SimpleCan only works on linux. I am running Windows. So there is my problem.
I use the Yacht Devices Yden02 as a gateway between N2K and signalK server. This gateway has a bridging function and will pass on any received timestamped GPN unchanged. I could fork the B&G performance plugin and modify it to work for me.
How does app.emit works? Can I use it in a way that I can emulate the presence of an H5000 device and send the appropriate PGN as if it was coming from this device knowing that the Yden will bridge the PGN unchanged?
I use the Yacht Devices Yden02 as a gateway between N2K and signalK server. This gateway has a bridging function and will pass on any received timestamped GPN unchanged. I could fork the B&G performance plugin and modify it to work for me.
How does app.emit works? Can I use it in a way that I can emulate the presence of an H5000 device and send the appropriate PGN as if it was coming from this device knowing that the Yden will bridge the PGN unchanged?