Numerous people have suggested building or have asked if it'd be worthwhile to build a fake FreeEMS PC app that utility apps such as tuners could talk to during development and/or testing and/or for people to play with online - I've always said "No, too much effort, too little reward."
The other night I came up with this fine idea:
Take a prerecorded packet stream from a real device. Parse it and build a library of ID primary keys and hash secondary keys. Create a tty device and listen for incoming packets. Have one small simple generic error handling and dispatch mechanism that validates incoming packets, grabs the ID and looks it up in the library, sends matching ID, hash, or just ID, and sends in the same sequence they were found in the original stream, if many of the same ID.
This would be easy to write, a day, max, and would be perfectly usable.
I won't be doing it, but someone else easily could, and they wouldn't need to have hw either.
Go forth!
Fred.
Fake FreeEMS Fred-Style
Fake FreeEMS Fred-Style
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Fake FreeEMS Fred-Style
Urr, re hashes, the stream of generating reqs could be used to figure that out based on ordering.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Fake FreeEMS Fred-Style
This has been done!!! I'm eagerly awaiting the repo URL so that I can play with it :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
-
- LQFP112 - Up with the play
- Posts: 211
- Joined: Tue May 01, 2012 4:17 pm
- Location: Shrewsbury PA
- Contact:
Re: Fake FreeEMS Fred-Style
Here ya go:
https://github.com/malcom2073/freeemssim
It's ugly, probably crashes, and I probably won't be doing much dev on it, since EMStudio is my primary focus, but for the moment it does what I need.
https://github.com/malcom2073/freeemssim
It's ugly, probably crashes, and I probably won't be doing much dev on it, since EMStudio is my primary focus, but for the moment it does what I need.
Re: Fake FreeEMS Fred-Style
Thanks! :-)
Key point! As a dev util, does it need to do anything else? I think not.malcom2073 wrote:it does what I need.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!