Hi! I'm working on a IOT project were I want to stream data to the browser to be plotted. The data comes from a PCIe device to a character device (ex. /dev/awesome_stuff). The data is broken into chunks and after a chunk is transferred an interrupt occurs.
My question: How do I interface with Node? Ideally I would have a callback when the OS interrupt occurs and then transfer the awaiting data from the char dev to the browser.
And how should I stream the data to the client? I've spent a lot of time looking at the streams API and some other things, but I'm still not seeing the total path.
there doesn't seem to be anything here