I have 2 code files ([url removed, login to view], 200 lines) and ([url removed, login to view], 312 lines) which build fine
with the Visual Studio 2005 C++ on my PC. When run, [url removed, login to view] gives 6 options:
Right after loading, specify com num ...
1. Send data to the modem.
2. Receive data from the modem.
3. Close communication.
4. Set the reception timeouts.
The code partially works (download attached [url removed, login to view] & [url removed, login to view] to build & test)
but I want a variant of this code that will not prompt for any console input. Instead
I want to run it with the following syntax usage, example: '[url removed, login to view] 3 AT OK'
Here program must send string 'AT' to modem on com3, then compare received data from
modem with parameter OK. Before testing this new code it may help to use a terminal
program (Ex: HyperTerminal) to ensure the modem supports the string being sent, ie:
to check what the modem returns. Ex: If sending AT to modem it should return OK.
Simplest way to see strings modem supports is through Device Manager >> Modems
Success of project is "one" new code file ([url removed, login to view]) that when run ([url removed, login to view])
reliably detects the expected response as per stated syntax (ex: getting Ok from AT).
Ensure program times out and terminates regardless, ex: if response is not received.
Print explanatory statements to screen. Ex:
Sending 'AT' using reception timeout of: (value in milliseconds)
Expected response received.
Expected response not received.
The two code files I've attached are basically good code that needs some tweaking.
If bidding on this project, please message me answering the following:
** Do you have a PC with a 32 bit version of windows?
** Which version/year of MS Visual Studio C++ do you have?
** Do you have a 56k dial up modem to test with?
11 freelancers are bidding on average $171 for this job
** Do you have a PC with a 32 bit version of windows? --- yes ** Which version/year of MS Visual Studio C++ do you have? --- vc6.0 vc2008 vc2010 ** Do you have a 56k dial up modem to test with? -- have no modem