[GPRS]: GPRS EVENT SETUP/ACTIVATE KO (cid=5): -> DISCONNECTED…
its running to this part ,but its not going to ftp connection…
if any one know about this or tried the same application,can you help me out for this
The problem may in you APN settings. Can you check the APN name , UserName & passwords details…
If the APN is correctly configured means it has to connect GPRS properly…
I have given these deatails.....
#define GPRS_APN "websfr" //here you need to write APN address of your SIM network
#define GPRS_USER "a2b" //Username & password if you have..
#define GPRS_PASSWORD "access"
Which SIM you are using right now? Location you are staying?
#define GPRS_APN "airtelgprs.com" //here you need to write APN address of your SIM network
#define GPRS_USER “” //Username & password if you have… #define GPRS_PASSWORD “”
For AIRTEL simcard you can use APN = “airtelgprs.com” and no username & password required to this connection. But you need to activate GPRS connection to browse internet (Mobile Office for Airtel) Please talk with customer care to activate the GPRS.
check your SIM is enabled for GPRS
AT+CGDCONT=1,“IP”,“airtelgprs.com”
OK
AT+CGATT=1
OK
AT+CGACT=1,1
Ok
Hi,
Do you any idea how to get the audio samples in to the wave com module(Q2686)…
I have external mike, i want to connect that to q2686 and need to get the sample of audio when ever i need…
HI,
I’m using FTP sample program to upload some 12kb of data to remote server .
Following are the few extra things I have added to the sample .
/Stack SIZE creation/
const u16 wm_apmCustomStackSize = 256;
const u32 wm_apmIRQLowLevelStackSize = 128;
const u32 wm_apmIRQHighLevelStackSize = 256;
dst_ftp_cx=wip_FTPCreateOpts("59.96.49.101",USER,PASS,NULL,
WIP_COPT_RCV_BUFSIZE,(u32)16384,
WIP_COPT_SND_LOWAT,(u32)1024,
WIP_COPT_RCV_LOWAT,(u32)16,
WIP_COPT_NODELAY,FALSE,
WIP_COPT_TOS,1, /* see type of service RFC 791 */
WIP_COPT_TTL,10,/* time to live for packets */
WIP_COPT_END);
if(g_dst_ftp_cx!=NULL) {
wip_debug("will take some time. Continuing in background...\n\r");
g_iBytesWritten=0;
} else {
wip_debug("problem\n\r");
}
But It was uploading first few data(2kb of data) correctly and it was just duplicating and dumping the same data (first 2kb) to entire buffer at the server side.
kindly help me to solve this problem …
rgds
ravee
Hi,
Here is the complete Wip_write part which I have written for FTP upload .
case WIP_CEV_WRITE:
nwrite = wip_write( ev->channel, snd_buffer + snd_offset,
sizeof( snd_buffer) - snd_offset);
wip_debug( “[SAMPLE] Everything has been sent, won’t send more.\n”);
wip_close(dst_data);
wip_close(g_dst_ftp_cx);
} else {
wip_debug( "[SAMPLE] Wrote %i bytes. "
“%i bytes left to send in snd_buffer\n”,
nwrite, sizeof( snd_buffer) - snd_offset);
}
break;
Today I have tried upload the file Using TCP , In this it uploads fully if the data is text(i.e correct character ) , but it didnt upload the data if the buffer is filled with binary data (data is like different character : €{{~€}v}~€{z}€|z|}~€|y|}~|x|}€{y{}|w|€„}|}|~}) it upload only 3kbs out of 12kb, i tried to upload many times but result is same…