I am starting the development of an embedded asset tracking application, and my first stop is to develop an emulation framework around the embedded application. I will do this in Windows 7 on a laptop, probably, until the project progresses enough to head to the embedded hardware.
First question in the emulation stage is how to code a Windows service within CodeBlocks. Is there a template for this, and any links you know of to help? I know that the service must be CREATED and STARTED in windows, and then apparently must have its STATUS changed periodically to one of several known statuses.
I will be using these services to emulate the GPS receiver sending me serial data and the mobile data terminal receiving serial data from me in order to allow me to exercise my code and solution. PLUS... I anticipate needing this knowledge in the future.
I intend to run either WINXP Embedded in the final hardware, or a linux variant.
Thank you in advance!