Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

modem communication

Status
Not open for further replies.

puneetnepsam

New Member
hi all,

i want to test whether my modem is responding to the AT commands or not?

suppose if i send the command "at+crsm=?"
it will send me the response "OK"

my modem is connected to the PIC24F through UART interface..

can anyone tell me how to proceed further...

should i have to send AT command from the code

if i write
buf[] = " at + cmgs=?"

and send it
sendUART(buf);

and if i do
buf1[] = receiveUART();

will i get the response in buf1[] buffer

Thanks
Puneet
 
i am asking code wise...

can i send the AT command through my code or i have to send the AT command by some other means?
 
i am asking code wise...

can i send the AT command through my code or i have to send the AT command by some other means?

hi,
I write in assembler not 'C'.

You do have to send the Modem Command codes to the modem in order to initialise it.
Use the 'AT'-tention command prior to a command and if your PIC program can handle it, switch on the modems 'Echo'.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top