Below are the command i use to connect to a device at remote location via modem.
PC <--> Modem <====== PSTN======> Modem <--> Device
1. open hyper terminal: type "ATE1" ENTER
Response: "OK" will show
2. type "atdtxxxxxxxx" ENTER
Response:
+MCR: V32B
+MRR: 9600
+ER: LAPM
+DR: V44
CONNECT 9600
3. Press "Escp" NO NEED TO TYPE ENTER
Response:
"Password:" prompt will show
4. type password of "xxxxxx" NO NEED TO TYPE ENTER
Then I will see ">" command promt where I can start issuing commands.
I have tried with basic serial read and write with mltiple sequences. But it doesn't work....
I have attached my sample code here.
thanks in advanced.