On Sun, May 14, 2017 at 11:47 AM, William Hermans <[email protected]> wrote:

> 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.
>
> That is how I would, and have already done it.
>
> 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.
>

You *could* also pipe the output to netcat*

>
>
> On Sun, May 14, 2017 at 11:34 AM, Piotr C <[email protected]> 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 [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/beagleboard/1d2d1199-26d5-44d9-a1c0-18438894aad8%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/1d2d1199-26d5-44d9-a1c0-18438894aad8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORor0kkjDBc%2BHo3Dh-4ONrVxXfeAT6cG2evrMCSe3tjJCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to