Author |
Message |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Wed Mar 28, 2012 1:15 pm Subject: AT Command Problem Between Mobile & PIC |
Gabriel:
I can send AT commands to my phone by using Hyper terminal.
1-) I've sent AT+IFC? recieved +IFC: 2,2
2-) I've sent AT+IFC=0,0 recieved OK
3-) I've sent AT+IFC? recieved +IFC: 0,0
4-) ... |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Wed Mar 28, 2012 7:14 am Subject: AT Command Problem Between Mobile & PIC |
Your code for detecting a received string from the mobile has several flaws. For example, you always wait for 8 characters to be received. If something happens and this is a smaller number then your c ... |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Wed Mar 28, 2012 2:59 am Subject: AT Command Problem Between Mobile & PIC |
im not able to see your diagram... link?
ok, so i guess you are hooking up the pic directly to the phone? and are only using the connector to get phisical acces to the pone pins?
then you do n ... |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Wed Mar 28, 2012 2:29 am Subject: AT Command Problem Between Mobile & PIC |
Your diagram does not show the phone ground connected to the PIC ground.
Without this it won't work. Perhaps the diagram is wrong or you really don't have a ground ??
Phone ground & pic grou ... |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Tue Mar 27, 2012 3:08 pm Subject: AT Command Problem Between Mobile & PIC |
Ah! you are using the same cell as my program!
I see you modified the code a bit...
printf("AT\n");
no need for the '\n' character... take it off.
also:
while(counter ... |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Tue Mar 27, 2012 12:54 pm Subject: AT Command Problem Between Mobile & PIC |
First of all i'd like to say thank you for your all beneficial comments,
I've modified my program with reference to Gabriel's program.
Here it is:
#if defined(__PCM__)
#include <1 ... |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2012 1:55 pm Subject: AT Command Problem Between Mobile & PIC |
Thanks for quick reply.
New code:
#use rs232 (baud=9600, xmit=pin_C6, rcv=pin_C7, STREAM = PC, ERRORS)
#use rs232 (baud=9600, xmit=pin_C4, rcv=pin_C5, STREAM = PHONE, ERRORS)
... |
Topic: AT Command Problem Between Mobile & PIC |
gokayk
Replies: 21
Views: 27787
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2012 10:45 am Subject: AT Command Problem Between Mobile & PIC |
Hi eveyone,
I've a problem about sending AT commands to PIC,
For exp. I've already tried and got the OK response from mobile by using hyper terminal. Also i've tested my circuit (PIC) with hyper t ... |
|