<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>
				<dc:language>en-gb</dc:language>
				<dc:date>2008-12-01T23:55:05-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t9916.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t9916.html">
						<title>PIC/Modem Communication</title>
						<link>http://www.8051projects.net/forum-t9916.html</link>
						<dc:date>2008-12-01T23:55:05-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>Hi, I'm a student working on a GSM modem that receives SMS messages through AT commands from a PIC microcontroller.  I have been able to get the modem to communicate with my PC and I have also been able to have the PIC communicate with my PC. However, I am to have the two communicate with each other. My code compiles and executes however no message is sent. My code is below: #include &lt;p30fxxxx.h>#include "system.h"#include "uart.h"//Declaration to Link External Functions &amp; Variables:extern  Delay5ms (int);//Functions and Variables with Global Scope:void INTx_IO_Init(void);unsigned char *LCDCharPtr;void InitUART1(void){        unsigned int U1MODEvalue;        unsigned int U1STAvalue;        unsigned int baudvalue = 23;        // ((FCY[MIPS]/16)/BAUDRATE) -1 -> 8 = 230400 baud                                                                //                                                                   17 = 115200 baud                CloseUART1();        IFS0bits.U1RXIF=0;        IFS0bits.U1TXIF=0;                ConfigIntUART1(UART_RX_INT_DIS &amp; UART_RX_INT_PR6 &amp; UART_TX_INT_DIS &amp;UART_TX_INT_PR2);        U1MODEvalue = UART_EN &amp; UART_IDLE_CON &amp; UART_DIS_WAKE &amp; UART_DIS_LOOPBACK &amp;UART_EN_ABAUD &amp; UART_NO_PAR_8BIT &amp; UART_1STOPBIT;              U1STAvalue = UART_INT_TX_BUF_EMPTY &amp; UART_TX_PIN_NORMAL &amp; UART_TX_ENABLE&amp;UART_INT_RX_3_4_FUL &amp; UART_ADR_DETECT_DIS &amp; UART_RX_OVERRUN_CLEAR ;              OpenUART1(U1MODEvalue,U1STAvalue,baudvalue);}int main(void){		InitUART1();	INTx_IO_Init();	while(1)	{				putsUART1((unsigned int*)"AT&#092;r");		while(BusyUART1());		Delay5ms(1000);						putsUART1((unsigned int*)"AT+CSQ&#092;r");		while(BusyUART1());		Delay5ms(1000);				putsUART1((unsigned int*)"AT+CMGF=1&#092;r");		while(BusyUART1());		Delay5ms(1000);		putsUART1((unsigned int*)"AT+CMGS = 3014556841&#092;r");		while(BusyUART1());		Delay5ms(1000);				putsUART1((unsigned int*)"Hello Pooya");		while(BusyUART1());		Delay5ms(1000);		WriteUART1(0x1A);		while(BusyUART1());		WriteUART1('&#092;r');		while(BusyUART1());		Delay5ms(1000);					}	return 0;}Thank you for your time.</description>
						</item>
				</rdf:RDF>