[lwip-users] netconn_connect function returns error '-12'.

2015-06-16 Thread rohanm
Hi, I am working on the code which connects to FTP server to access files. I am successfully able to connect a socket from the client that is able to Login.but when i try to send a file,FTP server making call to netconn_connect function to connect back with the client.In this scenario netconn_conn

[lwip-users] lwip ppp lower physical layer to app layer communication

2015-04-04 Thread rohanm
Hi, i am working on lwip ppp over serial using gsm.I am successfully able to post to my web server.but 1)On calling lwip_read(s, Get_Post_Buffer_GSM, PPP_BUF_SIZE),it calls the netconn_recv_data function,there is a call to sys_arch_mbox_fetch(&conn->recvmbox, &buf, 0);on line 427 in api_lib.c.wh

Re: [lwip-users] ppp over serial works with gsm modem sim900d but not working with sim5216j using same controller harware

2015-04-01 Thread rohanm
thank you for ur quick response. pfa. LOG_2.log this is what i got in the log. sorry for messy log. -- View this message in context: http://lwip.100.n7.nabble.com/ppp-over-serial-works-with-gsm-modem-sim900d-but-not-working-with-sim521

[lwip-users] ppp over serial works with gsm modem sim900d but not working with sim5216j using same controller harware

2015-04-01 Thread rohanm
hii , i have implemented ppp over serial using gsm modem sim900d. and it works fine.device gets ip address properly. but when I replaced GSM modem with sim5216j ,ppp not able to established connection with sim5216j. i am using same code and hardware which used for sim900d implementation. so i ha

Re: [lwip-users] ppp over serial using gsm.once GSM link is down what Should i do??

2015-03-19 Thread rohanm
i think i need to restart the whole system... but reset whole system is not good thing to do while running multiple threads in our system. is is there any way to reconnect GPRS link without reset.. any suggestion would be appreciated...thanks in advance. -- View this message in context: http:/

[lwip-users] ppp over serial using gsm.once GSM link is down what will i do??

2015-03-17 Thread rohanm
hii, i am using ppp over serial using gsm. i have question ,once gsm link is down because of some reasons then i need to reinitialize tcpip_init() function and pppOverSerialOpen(fd,cb,ls) function or just need to reinit gsm function to link up gsm connection. or any thing else that i can do..pls

[lwip-users] How to shut TCP and PPP tasks.

2015-03-16 Thread rohanm
hiii. i am working on ppp over serial code using GSM.i have successfully connected ppp using gsm.but in my application,i need to stop whole lwip functions and again resume it after some application level task.so is it possible to stop ppp and tcp ip threads and again resume it.i have tried lwip_cl

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-10 Thread rohanm
finally problem solved. previously i have set BYTE order as BIG ENDIAN then i have chaged it to LITTLE ENDIAN... thanks u for your support. -- View this message in context: http://lwip.100.n7.nabble.com/DNS-host-not-resolving-using-lwip-gethostbyname-function-using-ppp-over-serial-tp23972p241

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-04 Thread rohanm
thank you Sergio for reply. but i have tried every thing .i almost read all wiki topics related to it.and follow some solution lke increase time out period and increase MAX_DNS_RETRY. but still having same problem. while debugging above issue ,i have observed ,no response form gsm modem.device con

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-02 Thread rohanm
hello, thanks for your reply. now i start from start. 1)I am trying to implement ppp over serial using gsm modem to post data on server . 2)till now i have done following things: i have initialized GSM and lwip and successfully and able to receive ip address which i have already shared in .DNS_L

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial

2015-03-01 Thread rohanm
hello, any solution for my problem?please help me.or u need more input?? regards, rohan. -- View this message in context: http://lwip.100.n7.nabble.com/DNS-host-not-resolving-using-lwip-gethostbyname-function-using-ppp-over-serial-tp23972p24016.html Sent from the lwip-users mailing list arch

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function using ppp over serial.

2015-02-25 Thread rohanm
Hii, l have observed IP route issue while comparing (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) function.and observed netif_default value is null so function returns error value. To solve this probelm ,i have set netif_default value to netif value which i received from ipcp. by

Re: [lwip-users] DNS host not resolving using lwip_gethostbyname function.

2015-02-24 Thread rohanm
hello, i have enabled DNS_DBUG in lwipopts.h and get DNS debug log.PFA. DNS_LOG.log -- View this message in context: http://lwip.100.n7.nabble.com/DNS-host-not-resolving-using-lwip-gethostbyname-function-tp23972p23973.html Sent from the

[lwip-users] DNS host not resolving using lwip_gethostbyname function.

2015-02-24 Thread rohanm
i have received IP address and link is connected.but i have another issue.once link is connected.i am calling 'lwip_gethostbyname' function to resovle dns host name.i want to post data on this host.but this function is returining 'NULL'.GPRS is working in sim card.so do u have any idea whats wr

Re: [lwip-users] ppp over serial using gsm modem getting config acknowledgement reject packet.

2015-02-22 Thread rohanm
hello sylvain sorry for messy log .thank you for your support.i think it is working now.i received IP address and now link is connected.but now i have another issue.once link is connected.i am calling 'dns_gethostbyname' function to resovle dns host name.i want to post data on this host.but this f

Re: [lwip-users] ppp over serial using gsm modem getting config acknowledgement reject packet.

2015-02-19 Thread rohanm
goldsimon- i have already subscribed .. Sylvain please check debug log and please let me know is it enough or u need more detailed Debug_log.log data. -- View this message in context: http://lwip.100.n7.nabble.com/ppp-over-serial-usi

Re: [lwip-users] ppp over serial using gsm modem getting config acknowledgement reject packet.

2015-02-19 Thread rohanm
hii, thank you for your valuable response, please find attachment of received frame form sio_read function. lcp_conf_reject.csv -- View this message in context: http://lwip.100.n7.nabble.com/ppp-over-serial-using-gsm-modem-gett

[lwip-users] ppp over serial using gsm modem getting config acknowledgement reject packet.

2015-02-18 Thread rohanm
hii, i am trying to implement ppp over serial using lwip version 1.4.1 for our project.i am working on this from last 15 to 20 days.i have first initialized gsm modem SIM900D and dial using ATD*99# command and once it gets connected call below code . tcpip_init(lwIPInit,NULL); xTaskCreate(vPPP