[genivi-dlt] DLT protocol parser with Node.js

Lassi Marttala lassi.marttala at gmail.com
Tue Jan 26 04:24:11 EST 2016


On Wed, Jan 20, 2016 at 12:22 PM, Jeremiah Foster <
jeremiah.foster at pelagicore.com> wrote:

>
>
> On Tue, Jan 19, 2016 at 12:42 AM, Lassi Marttala <lassi.marttala at gmail.com
> > wrote:
>
>> Hello all! Long time, no see :)
>>
>> Here's something I have been working on for couple of evenings. It should
>> be exiting for anyone interested in the latest web-technologies "the kids"
>> like to use these days ;)
>>
>
> This is interesting. :-)
>
>
>> I have created a parser in Node.js, which can at least parse
>> 'dlt-user-test' without crashing.
>> It is accompanied by a express+websockets server, which can serve the DLT
>> packets straight into your web browser!
>>
>
> I think having a central server which might collect diagnostic info, which
> your tool might read and present might be an interesting use case, what do
> you think?
>

Sure! The parsing part is well decoupled from the rest of the app, so it
could be used in any way one wishes :)
One thing, for example, which could be powered with this, is to dump the
packets into a MongoDB document database and then expose the database with
some nifty REST API.
This way, one could search and query the packet database with the
efficiency of a NoSql database.


>
>
>> I have only tested with very small data amounts and only with Google
>> Chrome browser. I would be interested in hearing if it works at all with a
>> more realistic scenarios.
>>
>> This application cannot send any packets. It listens passively. I might
>> add control message support and other nifty features in the future if there
>> is interest for it.
>>
>> You can find dlt-node here:
>> https://github.com/fizzl/dlt-node
>>
>> README.md contains instructions on usage.
>>
>
> Maybe send this email to genivi-projects in case there is interest there?
> Many more people on that list.
>

Thanks for the suggestion. I will!


>
> <snip>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20160126/b5c5362b/attachment.html>


More information about the genivi-diagnostic-log-and-trace mailing list