Original Post
Hi
I`ve got some problems, with programming my Modem with the Serial-Port.
Problem Nr. 1: If i send some things to the Modem, maybe like "at" , in the INPUT-Buffer of the Modem must be things like "OK" , not more, and not less. But, there is a lot of other Data, and sometimes the Modem doesn''t respond all, of the answers, it should give. SO, as an example, when a connection has been established, there is sometimes just "CON" in the INPUT-Buffer, ans a lot of other fucking uninterresting chars around it, but there never is the expected answer, like "CONNECT 9600".
Problem Nr.2: Is i write to the Modem "at dt "+callnumber, in the next loop, the Modem detects a Read-Event, and it Reads the String, wich should be in the OUTPUT-Buffer. Just after writing this five or six times to the Modem, it starts to call.
I am programming with vc++ and the WIndows API ( CreateFile, WaitCommEvent, ... etc. )
thx for all answers
Also, some links related to Modemprogramming are interresting.
Sorry for the bad english.
cu Reinhold Fischer