
Originally Posted by
Nitroking
However this didn't work in my case.. I can do some more
testing!
Ah this is what you've meant. Could you make sure that you can access such a virtual com port with raw terminal program (send any elm command), but still HOBD rejects to use it?
justchat_1 if you integrate hobd core in another app, then it's your job to do correct polling.. hobd and every
software that shows data correctly must have correct polling otherwise the reader will return only garbage, then in your app you have to do polling between the several cores(procedures or what) which send requests to the ECU..
Generally true, but HOBD does much more here. Speaking in c#, with hobd you only have to add your sensor listener with required update period - and thats all:
Code:
engine.Activate();
registry.AddListener("Speed", this.MySensorHandler, 5000); // 5000 means it'll read Speed PID every 5 seconds.
void MySensorHandler(Sensor s)
{ // do your stuff, update ui, etc..
}
But, thinking about integration I indeed see no much reason for this - when talking about frontend apps. Think it's normal that frontend is only a frontend which allows to use external apps for extended functionality:
Bookmarks