--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1d2d1199-26d5-44d9-a1c0-18438894aad8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You also pipe the output to netcat, then netcat to connect to a remote system, and deal with all the data there - Live. But I've found the beaglebone fast enough to parse 1Mbit/second CANBUS data(real-time), and act as a web / websocket server with less than 10% processor load. The choice is yours.That is how I would, and have already done it.Either pipe the output of candump to a file, or write your own application to actually parse the PGN values, then dump the parsed data into a file. Then have a second application take that data, and send it out over a websocket to the browser.You'll need a file lock on this shared file, and it might be wise to use a POSIX IPC shared memory file to accomplish this.
On Sun, May 14, 2017 at 11:47 AM, William Hermans <yyr...@gmail.com> wrote:You also pipe the output to netcat, then netcat to connect to a remote system, and deal with all the data there - Live. But I've found the beaglebone fast enough to parse 1Mbit/second CANBUS data(real-time), and act as a web / websocket server with less than 10% processor load. The choice is yours.That is how I would, and have already done it.Either pipe the output of candump to a file, or write your own application to actually parse the PGN values, then dump the parsed data into a file. Then have a second application take that data, and send it out over a websocket to the browser.You'll need a file lock on this shared file, and it might be wise to use a POSIX IPC shared memory file to accomplish this.You *could* also pipe the output to netcat*
On Sun, May 14, 2017 at 11:34 AM, Piotr C <cerb...@gmail.com> wrote:
Hello,I am wondering how to approach such a problem - I want to be able to run candump from command line (or its counterpart implemented in any programming language) from web browser.How would you implement such a feature? What tools would you use?Regards,Peter
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
Thanks for suggestions.Do you have any further hints/examples/similar implementations that I could read, understand and eventually base on?