I have been assigned a task where I am to emulate one of my company's hardware devices.
I am to use the device firmware written in unmanaged C++ Not necessarily all of the code, but stuff like communication protocols and such is working perfectly in the device and I would like to reuse that code.
I am to write the software primarily in C# .NET 4.
I am having a hard time cracking this nut. At the very least, I would like input on where to start this task.
I know C# very well and I've worked a bit with C++ also.
The firmware runs on a chip in the device, which has a fairly complex operating system. It is kinda hard to explain without showing some code, but I cannot do that.
Anyway, I would happily see some input on this. Also I am not sure if I should write a simulator or an emulator.
The hardware has different interfaces including RS-232, GSM data packets and BlueTooth. The most important is to make the RS-232 and GSM work.
The hardware code is fairly well written, layered and structured, so I guess it is possible to just replace the communication API's with my own code.
TLDN: I am to copy/simulate/emulate the behavior of a hardware device, but it seems a very large project and I am not sure where to start. Input is greatly appreciated. Thank you.