Tagge
Joined: 23 Aug 2005 Posts: 93
|
Telit GSM question |
Posted: Tue Feb 17, 2009 4:13 am |
|
|
Hi everyone,
Im trying to get some basics working on a application with a Telit GC864 GSM/GPRS quad sim, and a PIC18F97J60.
I just want to send an SMS to get things rolling..
Im using:
Code: |
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,errors)
|
and C6-TXD on GSM
C7-RXD on GSM
Sending an SMS as follow:
Code: | void start_gsm(void)
{
output_high(PIN_G3); //gsm module ON
output_low(PIN_B5);//debug
delay_ms(1500);
output_low(PIN_G3);//GSM module released
}
//--- 1. send SMS --------------------
void send_sms(void)
{
start_gsm();
printf("AT+CMGF=1\n\r");//text mode
delay_ms(1000);
printf("AT+CMGS=+46762853050\n\r");
delay_ms(500);
printf("Testing SMS");
printf("%c\n\r",0x1A);//ctrl Z
delay_ms(5000); //wait for message sent
output_high(PIN_B5);//debug
}
|
Its there something Im missing?
Some HW stuff? I would like to have no flow control, RTS to GND?
power to the unit seems ok, ON/OFF seems working.
I get a "signal" on my spec analyzer at ~900MHz when sending should be done. |
|