![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
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[i]); and if i do buf1[] = receiveUART(); will i get the response in buf1[] buffer Thanks Puneet | |
| |
| | #2 |
|
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | |
| |
| | #3 |
|
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? | |
| |
| | #4 | |
| Quote:
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'.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 3rd June 2009 at 08:24 AM. | ||
| |
| | #5 |
| I have some sample C code on my site sending and parsing AT commands. It's for Xbee, but it's similar enough to get an idea.
| |
| |
| | #6 |
|
hi felis, can u please send me the link so that i can have a look on the sample code.... | |
| |
| | #7 |
| | |
| |
|
| Tags |
| communication, modem |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Modem to modem connection. | john1 | General Electronics Chat | 16 | 7th May 2009 03:28 AM |
| Is there any serial to serial comunication between modem and modem through RS232? | shermaine | General Electronics Chat | 13 | 17th January 2009 08:48 AM |
| GSM modem | devilmp5 | Micro Controllers | 3 | 27th August 2008 11:15 PM |
| fsk modem | ulot | General Electronics Chat | 1 | 23rd August 2008 10:40 PM |
| PC communication using modem | bogdanfirst | Electronic Projects Design/Ideas/Reviews | 7 | 29th May 2004 08:24 AM |