djahmednawaz
Newbie level 3
I am Sending Data Through GPRS using SIM300DZ
I am making connection by Following commands..
Through these commands i connect to server successfully. I send any thing to uart its receive on server. But i want to send data through at+cipsend.
How to solve this problem???
I am making connection by Following commands..
Code:
void connectGPRS()
{
UART1_Write_Text("AT\r\n");
Delay_ms(3000);
UART1_Write_Text("AT+CIPMODE=1\r\n");
Delay_ms(3000);
UART1_Write_Text("AT+CLPORT=\"TCP\",\"800\"\r\n");
Delay_ms(3000);
UART1_Write_Text("AT+CIPCSGP=1,\"zonginternet\",\"zong\",\"zong\"\r\n");
Delay_ms(3000);
UART1_Write_Text("AT+CSTT=\"zonginternet\",\"zong\",\"zong\"\r\n");
Delay_ms(3000);
UART1_Write_Text("AT+CIICR\r\n");
Delay_ms(10000);
UART1_Write_Text("AT+CIFSR\r\n");
Delay_ms(3000);
UART1_Write_Text("AT+CIPSTART=\"TCP\",\"64.86.142.81\",\"800\"\r\n");
Delay_ms(5000);
}
Through these commands i connect to server successfully. I send any thing to uart its receive on server. But i want to send data through at+cipsend.
How to solve this problem???