Sending AT Commands To GPRS MODEM

  • Thread starter Thread starter Tihomir Ignatov
  • Start date Start date
T

Tihomir Ignatov

Hi,
You can try to open COM1 and send AT cmd directly to modem.
I'm using a built in modem too and there no problem to open the port!



Regards
Tihomir Ignatov
 
Be sure what method your use (Write, WriteLine), what you write
(carriage return, new line character). Also could be because of delays
between commands........

Post your code so that maybe we can help you.

Regards.
 
hi.

i have wavecom gprs modem, a builtin modem. (Wavecom Q2406).

my question is, i know that i can send AT Command throught serial com,

but when i try this, i dont get any reply from modem.

the question:
i must use a modem driver to "open" it ?
or just openning com1 , and start sending AT COMMAND is enough ?
 
thanks, i testes the util you send me

i change the send so, it will send CR after the command,


the test:
when sending "AT" its returns "???"

any ideas ?

===========================
byte[] outputData = new byte[1];

for(int i = 0 ; i < txtTx.Text.Length ; i++)

{

outputData[0] = Convert.ToByte(txtTx.Text);

port.Output = outputData;

}

outputData[0]=13; ///ADD THIS

port.Output = outputData; ///ADD THIS

// clear the data since we sent it

txtTx.Text = "";
 
Back
Top