This project is read-only.

SSMProtocol library

Sep 16, 2009 at 11:09 AM


I would like to use your SSMProtocol library for my own SSM Project.

I haven´t understood how to implement it. Can you help me out a little ?

Sep 18, 2009 at 7:37 AM

Yes, I'll be glad to help. 

I suggest looking at SawMill.cs in the SawMillCore project, to start with.  You'll want to copy the code in the CreateLogger function, then call logger.BeginConnect / EndConnect, and then logger.SetProfile and logger.StartLogging.  The logger will invoke your LogEntry event handler every time it receives a new row of data from the ECU.

If you are not familiar with .Net's "asynchronous programming model," these might be helpful:

I found those with a quick web search, there may well be better stuff out there, but that should help you get started.

Do you have any specific questions at this point, or are you just getting started?