Hi,
Here is what the
lwip-port/AT32UC3A/netif/ethernetif.c::ethernetif_input() function from
the AVR32-SoftwareFramework-1.0.0-AT32AP7000 looks like:
static void ethernetif_input(void * pvParameters) {
-wait for macb and loop packet input, not important- {
if( ERR_OK != ethernet_input( p,
Hi,
On Fri, Apr 27, 2012 at 04:23:11PM +0200, Simon Goldschmidt wrote:
> Sylvain Rochet wrote:
> > lwip-port/AT32UC3A/netif/ethernetif.c::ethernetif_input() function from
> > the AVR32-SoftwareFramework-1.0.0-AT32AP7000 looks like:
> >
> > static void etherneti
Hi Cyrille,
On Fri, Apr 27, 2012 at 06:13:32PM +0200, Boulanger, Cyrille wrote:
>
> Best is to check the online ASF bugzilla (asf.atmel.com/bugzilla).
> Btw I found this bug (http://asf.atmel.com/bugzilla/show_bug.cgi?id=959)
This bugzilla seems to only really work for those actually working f
Hi Kieran,
On Fri, Apr 27, 2012 at 07:57:37PM +0100, Kieran Mansley wrote:
> On 27 Apr 2012, at 16:03, Sylvain Rochet wrote:
> >
> > By the way, I wrote a AVR32UC3 LwIP port working with the current LwIP
> > HEAD revision, what's the best way to contribute this
Hi Nick,
On Sat, Apr 28, 2012 at 04:17:31PM +0300, N.Karakotas wrote:
> Hi,
>
> Im trying to update the time with SNTP but the timestamp received is
> wrong. Then ctime printf rubbish. I also checked the received
> timestamp is seems wrong. This is strange. I cant understand why its
> not worn
Hi Marco,
On Wed, May 02, 2012 at 05:45:55PM +0200, Marco Jakobs wrote:
> Hi,
>
> i have some UDP transmissions where i need to definitely set the
> source port (my transmission port) to a given value!
Maybe this is pretty old for 1.4.0, but it may help you.
I wrote several years ago a NTP serv
Hi,
In fsm_rtermreq(), if f->state equals LS_OPENED, which is the Connection
terminated by peer condition, we send a Termination Ack, which seems logical.
But, in this case, we call TIMEOUT(fsm_timeout, ...), but we don't send
any request at this time, what are we waiting for exactly ?
With PP
Hi,
On Mon, May 07, 2012 at 10:15:52PM +0200, goldsi...@gmx.de wrote:
>
> This is not really an answer to your post, rather a clarification
> about our PPP code in general:
>
> I know I have said this before and it sounds like a lame excuse, but
> the PPP code is not our own code - we just copi
Hi,
Probably a dumb question, but how can we fetch the lwIP contrib Git ?
I saw one commit on it but failed to find the related Git URL.
Sylvain
signature.asc
Description: Digital signature
___
lwip-users mailing list
lwip-users@nongnu.org
https://li
Hi,
On Fri, May 11, 2012 at 11:08:47PM +0200, goldsi...@gmx.de wrote:
>
> [...], the link to the contrib rep vanished from the website when we
> moved from CVS to git. Also, we haven't found a volunteer to update
> the "landing site" on savannah to provide more useful information than
> right
Hi Kieran,
On Mon, May 14, 2012 at 05:20:22PM +0100, Kieran Mansley wrote:
> On Mon, 2012-05-07 at 23:10 +0200, Sylvain Rochet wrote:
> >
> > Pppd have a well established codebase, this is probably not so hard
> > to
> > backport 2.4.5 or at least check the dif
Hi Nick,
On Mon, May 14, 2012 at 08:37:18PM +0300, N.Karakotas wrote:
> Hi,
>
> I can help you to debug the PPPoS over my end.
Yeah, will need :-)
> I'm currently using it in my project and have found some issues with
> it. Especially when I initiate a PPP connection, send data and then
> c
Hi Kieran,
On Mon, May 14, 2012 at 07:22:33PM +0100, Kieran Mansley wrote:
>
> Why don't we get this pushed into the default branch of the git repo
> so that others can experiment with it. There should be time before
> 1.5.0 to sort it all out. It obviously wouldn't get backported to the
>
Hi Simon,
On Mon, May 14, 2012 at 09:08:04PM +0200, Simon Goldschmidt wrote:
>
> That would be great! If 2.4.x really fixes bugs where we found them,
> that overrides the argument of staying with the 2.3.x code base
> because of smaller code size
PPPd 2.4.x is at least used in all major Linux
Hi,
On Wed, May 16, 2012 at 12:25:09PM -0400, Bill Auerbach wrote:
>
> In my experience, most performance issues have been in my driver or
> hardware platform, not in lwIP. I don't use a real OS so I can't
> speak to its added overhead.
Added to that, considering lwIP is working almost withou
Salut Vincent,
On Thu, May 17, 2012 at 12:35:10AM +, vincent cui wrote:
>
> [...]
> I found that it takes a 1 or 2 seconds to open connect successfully .
> [...]
It looks like a not acknowledged SYN packet, which might be dropped
somewhere from your PHY to lwIP TCP and which is then sent ag
Hi Vincent,
On Thu, May 17, 2012 at 09:51:55AM +, vincent cui wrote:
>
> It is really odd...
This is not.
> I enable display lwip stats, it shows that there is packet dropped..
So, lwIP probably knows it had to drop the SYN packet, you only need to
find out why.
Again, you HAVE TO ge
Hi Vincent,
On Thu, May 17, 2012 at 10:15:36AM +, vincent cui wrote:
>
> When lwIP performance goes down, the Ethernet DMA's RX buffer
> unavailable flag is always set ... don't know why, it seems HW
> problem.
This is kind of a hazardous way to suspect first a hardware problem
before ch
Hi Vincent,
On Thu, May 17, 2012 at 11:19:28PM +, vincent cui wrote:
> Hi all:
>
> I found the root cause and got it done. The Ethernet interrupt handler
> has a potential bug .
Ah ah!, I knew it!
> Thank you for all your help..
You're welcome :-)
Sylvain
signature.asc
Description
Hi,
On Sun, May 20, 2012 at 04:37:02PM +0300, N.Karakotas wrote:
>
> Im having trouble compiling the ppp-new for micro. In the auth.c a
> lot of the includes are dependent on linux operating system.
Yeah, maybe you should read this thread more conscienciously :-)
I already said the port is not
Hi Bernard,
On Thu, May 24, 2012 at 01:21:29PM +0800, bernard wrote:
>
> NOTE: RT-Thread Application will be dynamic linked when running.
Basically:
.o(GPL) + .o(BSD) => GPL (i.e. GPL source code compiled with BSD
source code)
.so(GPL) + .o(BSD) => G
Hi Bernard,
On Thu, May 24, 2012 at 04:34:47PM +0800, bernard wrote:
> Thank Sylvain,
>
> That is:
> RT-Thread RTOS (GPLv2)
> Application (GPLv2, PIC ELF) #1 + CyaSSL like (GPLv2)
> Application (close source, PIC ELF) #2
Where did you saw that RT-Thread is able to parse and run ELF binaries ?
A
Hi Nick,
On Wed, May 16, 2012 at 08:44:18AM +0300, N.Karakotas wrote:
> Hi,
>
> Is the PPP port available so I can test it? I have a SIO port for
> LPC17xx.
I removed all POSIX-centric code and re-enabled the PPPoS code in the
ppp-new branch, it builds, maybe it works :-)
I changed a bit the
Hi Nick,
On Sun, Jun 03, 2012 at 11:49:24PM +0300, N.Karakotas wrote:
> Ok most probably know don't try and code after a few glasses of whine!! :)
> I got it to compile for now, had to comment out pwd.h,unistd.hand
> fcntl also undef __P for Redlib as it defines it as __P 1 somewehere
> in its lib
Hi Nick,
On Mon, Jun 04, 2012 at 10:52:44AM +0300, N.Karakotas wrote:
> Hello Sylvain,
>
> Im trying to get it to run, almost there. A few things need added
> and addressed.
> In lcp.c line 425 I added:
> phase = PHASE_INITIALIZE;
>
> This was left out it cause the the input thread to exit the
Hi Nick,
On Mon, Jun 04, 2012 at 12:17:17PM +0300, N.Karakotas wrote:
> Hey Sylvain,
>
> Got it to connect to my ISP through PPPoS! It got an IP back..WOW
> its fast!!!
Same here. I had access to my AVR32 target today, PPPoE worked out of
the box with the new PPP stack. \o/
Sylvain
signature
Hi Bill,
On Mon, Jun 04, 2012 at 09:17:41AM -0400, Bill Auerbach wrote:
>
> Sha1 is specified as GPL2. Is that OK to mix with lwIP?
No, it is not.
> Does it change lwIP's license or effect the application that includes
> lwIP?
Yep, GPL is viral and changes whole project license.
However,
Hi Nick,
On Mon, Jun 04, 2012 at 07:43:13PM +0300, N.Karakotas wrote:
> After all it was in the file ipcp.c . You have a comment: do we
> really need this and returns 0.
> mask = get_mask(go->ouraddr);
>
> It default the netmask to zero so all the data was routed to pp0
> instead of em0.
Yep, I
Hi Nick,
On Mon, Jun 04, 2012 at 06:08:23PM +0300, N.Karakotas wrote:
>
> I have noticed that once I add the interface pp I cant connect to
> the Ethernet httpd but can ping. I cant seem to spot the change from
> the previous code. I did a test where I removed the pp and the
> Ethernet came back
Hi Nick,
On Mon, Jun 04, 2012 at 02:21:38PM +0300, N.Karakotas wrote:
> Nice,
>
> Can we strip away some of the debug stuff, as I see it has a 1024 buffer.
Yeah, I already noticed the "char buf[1024];" in the logit() function,
which is a huge stack requirement.
PPPd for sure require an heavy
Hi Nick,
On Mon, Jun 04, 2012 at 10:40:39AM +0200, Sylvain Rochet wrote:
> On Mon, Jun 04, 2012 at 10:52:44AM +0300, N.Karakotas wrote:
> > Hello Sylvain,
> >
> > Im trying to get it to run, almost there. A few things need added
> > and addressed.
> > In
Hi Ivan,
On Tue, Jun 05, 2012 at 10:05:52AM -0600, Ivan Delamer wrote:
>
> Sylvain: can you post this as a task in Savannah, then we can discuss this
> addition there.
Yep, will do.
> Some small RTOSes are configured without support for deleting threads so
> we need to see how to handle this.
Hi Nick,
On Wed, Jun 06, 2012 at 10:40:25AM +0300, N.Karakotas wrote:
> Hey Sylvain,
>
> Does your system run OK? After 2 days mine died and unfortunately I
> did have my debug open to catch the fault!
Humm it is, but I am still resetting my MUC at the end of the
connection, because the current
Hi Alex,
On Wed, Jun 06, 2012 at 10:52:11PM -0700, Alex2051 wrote:
>
> static void sys_thread_wrapper(void * arg)
> {
>
> sys_thread_timeouts_mark_empty();
>
> vTaskDelete(0);// after this operator program goes to hard fault exeption
> }
>
> But if I setup low ptimisation for best d
Hi Alex,
On Thu, Jun 07, 2012 at 02:20:22AM -0700, Alex2051 wrote:
>
> unbelievable! thank You Sylvain.
> it works... but I can not eplain why... Why?
Well, you'll have to look at what your compiler does when optimizing
that, I agree, troubleshooting ASM-optimized output is not the easy part :-
Hi Nick,
On Wed, Jun 06, 2012 at 01:36:06PM +0300, N.Karakotas wrote:
> Hi,
>
> Hmm thats a dirty trick! :-)
>
> I have the lwip stack to 1200 bytes
> The ppp thread 1200 bytes.
>
> The only thing running is the ppp the ethernet is idle. It looks
> that something is overflowing or there is a le
Hi Nick,
On Thu, Jun 07, 2012 at 03:36:51PM +0200, Sylvain Rochet wrote:
>
> [...], ppp_input() does not free pbuf in some cases, this is my fault, [...]
I just pushed an early fix about that, but shouldn't change anything in
most cases.
Sylvain
signature.asc
Description: Digita
Hi Nick,
On Thu, Jun 07, 2012 at 10:17:20PM +0300, N.Karakotas wrote:
>
> The drop calls the snmp_inc_ifindiscards, this will work if you have
> snmp enabled I just have defines so it doesn't complain. Should it
> call something more suitable?
Nope, snmp_inc_ifindiscards() is defined as an empty
Hi,
On Tue, Jun 19, 2012 at 10:11:36PM +0300, Mehmet Ali Ekici wrote:
> Hi All,
>
> I have seen a problem at PPP stack. I saw that GPRS modem sends "NO
> CARRIER" but PPP stackt doesn't recognize it and doensn't shut the
> connection down.
>
> Is it the PPP stack has to detect it or driver ?
Hi,
On Wed, Jun 20, 2012 at 04:03:54PM +1200, David Empson wrote:
>
> I don't know offhand if this is a standard feature of LWIP's PPP
> stack.
It is.
> This method is likely to be considerably slower to react to a
> connection loss than a hard-wired DCD signal.
Yeah, considering the requi
Hi Nick,
On Wed, Jun 13, 2012 at 08:30:01PM +0300, N.Karakotas wrote:
> Hello Sylvain,
>
> However im having a problem when the link is lost. This is the debug:
> []
>
> I tried to simulate it by removing the SIM card. It never reaches
> the drop the packet and I get a Hard Fault somewhere i
Hi Simon,
On Tue, May 15, 2012 at 10:02:20PM +0200, goldsi...@gmx.de wrote:
>
> I tested it with the Win32 port from contrib. There is (by now) a
> working SIO port included which should work with PPPoS. I tested
> that against window's PPP-Server, which still did not work fully.
> But given the
Hi Ivan,
On Tue, May 15, 2012 at 09:52:32AM -0600, Ivan Delamer wrote:
> Just wanted to say, that this is a great project to take on, thanks
> Sylvain. I can volunteer to test your port as I have a test PPP client
> running 24/7 here in the office.
We are almost to the point where it should work
Hi Simon,
On Mon, May 14, 2012 at 09:37:53PM +0200, goldsi...@gmx.de wrote:
>
> It's sad that this project seems to "die" though, given the fact
> that (at least in germany), PPPoE is still use pretty often in DSL
> routers, and many of them use linux.
Same here (in France), because operators a
Hi Nick,
On Sat, Jun 23, 2012 at 06:34:05PM +0300, N.Karakotas wrote:
> Hello Sylvain,
>
> Im trying the new port but I cant connect. I then receive a NO
> CONNECT from the modem. I have tried AUTH_PAP and AUTH_ANY.
Well, this is not really helpful... could you send the output with
PPP_DEBUG an
Hi Nick,
On Sat, Jun 23, 2012 at 07:40:58PM +0300, N.Karakotas wrote:
>
> sent [proto=0x237d] c0 21 7d 21 7d 21 7d 20 7d 34 7d 22 7d 26 7d 20
> 7d 20 7d 20 7d 20 7d 25 7d 26 7d 5e dc fb 9a 7d ...
The issue is there, 0xc021, the protocol ID for PPP LCP seem to suffer
from 2 a byte offset.
Howev
Hi Nick,
On Sat, Jun 23, 2012 at 08:38:04PM +0300, N.Karakotas wrote:
> Hi Sylvain,
>
> The uart is a circular buffer and is protected by a lock. Im looking at the
> dump:
>
> dump_packet("sent", (unsigned char *)nb->payload+2, nb->len-2);
>
> Maybe that's why you are not seeing the 0xff 0x03
Hi Nick,
On Sat, Jun 23, 2012 at 10:13:28PM +0300, N.Karakotas wrote:
> Hey Sylvain,
>
> I grabbed the latest push you made and it work now.
I pushed this morning fixes about PPPoS and you sent your first mail way
after my latest push about that. So I made the assumption that you were
trying t
Hi Nick,
On Sat, Jun 23, 2012 at 07:06:28PM +0300, N.Karakotas wrote:
> Hi,
>
> Yes I thought so :-) Didn't know about the PRINTPKT_SUPPORT.
> Attached is the output.
>
> rcvd [LCP ConfReq id=0x1 ]
> fsm_input(0): Rcvd packet in state 0
This is almost impossible too... ppp_over_serial_open() s
Hi Ivan,
On Mon, Jun 25, 2012 at 09:38:21AM -0600, Ivan Delamer wrote:
> Hello Sylvain,
>
> Great news! I will download the ppp branch and start testing it this
> week.
>
> Sounds like really good work you've done.
Hey!, you might be interested, I added IPv6 support to PPP, LL
assignation wo
Hi,
I am using the TCP raw API for a tiny-tiny telnet implementation. I am
enqueuing output data using tcp_write(). Actually I am currently using
tcp_write() to do all the queueing job by calling it even 10 or 20 times
in a row with small amount of data, especially when output is mostly
made o
Hi,
On Sat, Jun 30, 2012 at 06:43:43PM +0200, Krzysztof Wesolowski wrote:
> > "last_unsent->oversize_left >= oversize_used
> > unsent_oversize mismatch (pcb->unsent is NULL)"
> >
> I have encounter same assert line while streaming big chunks of data
> using netconn API, so this is rather OVERSIZE
Hi,
On Sun, Jul 01, 2012 at 08:20:23PM +0200, Sylvain Rochet wrote:
> On Sat, Jun 30, 2012 at 06:43:43PM +0200, Krzysztof Wesolowski wrote:
> > > "last_unsent->oversize_left >= oversize_used
> > > unsent_oversize mismatch (pcb->unsent is NULL)"
> >
Hi,
On Sat, Jul 07, 2012 at 11:56:45AM +0100, Kieran Mansley wrote:
>
> They probably wouldn't. TCP is designed to cope with links coming and
> going, and will just retransmit if any packets are lost while the link
> is down for example. Connections should survive link being removed
> and r
Hi Nick,
On Sat, Jul 14, 2012 at 05:24:47PM +0100, Nick Brereton wrote:
>
> When I get get a NETCONN_EVT_RECVPLUS event with 0 length for the
> listening connection I add this to a queue of accept event, which I
> then drain whenever I have memory available to process the connection.
> As I h
Hi,
On Fri, Jul 20, 2012 at 02:05:24PM +, vincent cui wrote:
> Hi :
>
> I write TELNET application with socket and run under FreeRTOS. As
> system boot, TELNET works well. And can be connected with hypertim.
>
> I close telnet socket and delete the TELNET task in another Task. And
> create
Hi Nick,
On Sun, Jul 29, 2012 at 01:07:56PM +0300, N.Karakotas wrote:
> Hello,
>
> I tried the latest revision of the PPP code but im having problems. I
> had to increase the tcp_input_thread from 300 to 500 or else it
> crashed. Then the ppp thread connected to the ISP and got ip etc. But
> i
Hi Nick,
On Sun, Jul 29, 2012 at 11:58:49PM +0300, N.Karakotas wrote:
> Hi Sylvain,
>
> When it configures the ip,gateway and adds pp to the netif list etc
> I cant connect to the internet.
Sounds like a routing issue, is your PPP netif interface set as your
default route through ppp_set_defaul
Hi,
On Wed, Aug 08, 2012 at 06:14:52AM -0700, H.A. wrote:
>
> Do you mean that I should check if the connection is open in the interrupt
> routine? If open send the message. If not open, open the connection, return
> and let the connect callback send the message? Can the connection be closed
> be
Hi,
On Wed, Aug 08, 2012 at 06:29:47AM -0700, H.A. wrote:
>
> Of course not what? I had at least 3 questions.
This is why I quoted only the relevant part.
> I do understand that the LWIP stack is not reentrant but the Stellaris code
> is using tcp_write and tcp_output from the serial interrup
Hi,
On Tue, Aug 14, 2012 at 03:01:59PM +0200, Stefan Lankes wrote:
> Hi LwIP users,
>
> I have an ARP problem and I am not sure, if this a problem of LwIP.
>
> In our academic operating system, we use LwIP 1.4.0 as TCP/IP stack.
> My test system posses two network devices and each device belong
Hi,
On Thu, Aug 23, 2012 at 04:21:30PM +0200, Tomás Svec wrote:
> Well, to clarify, I send whole Ethernet frames via SPI. ARP should be
> handled by the external chip, though, as it does not let any ARP packages
> through and responds to ARP queries without the TCP/IP stack.
Maybe you should tell
Hi,
On Thu, Aug 23, 2012 at 04:50:07PM +0200, Tomás Svec wrote:
> The problem is, the external chip is a prototype, so this would not help
> the cause. I am currently in contact with the manufacturer to clarify the
> ARP packages. But I am sure it does not have an embedded stack, just ARPs.
Well,
Hi John,
On Fri, Aug 24, 2012 at 02:03:30PM -0400, John Bishop wrote:
> Dear all,
>
> We are developing a device that uses an ATMEL 32 bit chip, and it uses the
> FreeRTOS for programs. I understand that lwIP has been included in
> FreeRTOS.
>
> We have been asked by a number of customers to pro
Hi Tomás,
On Mon, Aug 27, 2012 at 01:41:03PM +0200, Tomás Svec wrote:
> Hi again,
>
> I just wanted to let you know this was a firmware problem of the
> Ethernet chip - as there is another stack running on this thing, it
> did utilize ARP packets, but then discarded them. We were promised an
Hi Anil,
On Fri, Sep 07, 2012 at 11:09:47AM +0530, Anil kumar wrote:
> We are using lwip as a linux kernel module in a multi threaded environment.
>
> Here is the sequence of events that are leading to the crash in my case.
>
> As the application is continuously sending data, do_write continuous
Hi,
On Tue, Sep 18, 2012 at 08:51:13PM +1200, A G wrote:
>
> Thanks, where you say it "uses a pseudo network interface that somehow
> passes raw ethernet packets", what do you mean by "somehow"; is this
> functionality provided by lwip, or do I need to do the lwip to raw
> ethernet packet inte
Hi Yueyue,
On Thu, Nov 01, 2012 at 09:17:29AM +0800, yueyue papa wrote:
> Hi
>
> I coudl only check out lwIP in the GIT repository.Where is the lwIP
> contrib part in the GIT?
http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git
Sylvain
signature.asc
Description: Digital signature
_
Hi,
On Fri, Nov 16, 2012 at 10:28:17AM +0100, Mikael Eiman wrote:
> Hi,
>
> I had a similar problem recently, and in my case I was first using
> lwIP functions from multiple threads (it's not thread safe, don't do
> that), and then causing a double free() by calling essentially
> tcp_close() t
Hi,
On Sun, Dec 09, 2012 at 10:53:58AM +0100, Simon Goldschmidt wrote:
> Zach Smith wrote:
>
> > I am having a problem when I connect my IPv6 device running lwip to
> > a hub instead of a switch. [..] Since a hub forwards all packets
> > received onto all ports it is echoing my devices neighbor
Hi Mark,
On Thu, Dec 20, 2012 at 11:55:19AM -0800, Mark Lakata wrote:
>
> I'm using the head of the ppp-new branch. I'm going to plead almost
> complete ignorance of how git works (haven't gotten around to
> learning it) and learned just enough to download the ppp-new branch.
So if I understand
Hi Szymon,
On Mon, Jan 14, 2013 at 03:25:22PM +0100, Szymon Tarnowski wrote:
> Hi,
> I am developing a commercial application for embedded device using lwip.
> My device is listening on specific tcp port for incomming message, if client
> connects can send request and get response then decide if w
Hi,
On Wed, Jan 23, 2013 at 07:38:17AM +0100, Simon Goldschmidt wrote:
>
> Unfortunately, we don't have documents on how-to-upgrade between
> versions (yet?).
lwip/UPGRADING seems quite complete for me, well this is not a
step-by-step how-to strictly speaking but should be enough for anyone
Hi Nikolas,
On Mon, Feb 18, 2013 at 11:52:02PM +1100, Nikolas Karakotas wrote:
> Hello Sylvain,
>
> I have been using latest ppp-new commit from git and also lwip but im
> experiencing a problem ONLY when I close the ppp connection. When the ppp
> thread is left open (running always) everything
Hi Nikolas,
On Tue, Feb 19, 2013 at 02:55:27PM +1100, Nikolas Karakotas wrote:
> Hi Sylvain,
>
> Ok I think I found the problem. I use PPP_INPROC_OWNTHREAD and once
> I added ppp_delete() to the end it seems to fix the problem.
> I also removed the ppp_delete from the linkStatusCB. Somehow a cle
Hi Fabian,
On Mon, Feb 25, 2013 at 11:00:33AM +0100, Fabian Cenedese wrote:
>
> I'm using the official 1.4.1 lwip, not current from git.
> [...]
>
> Should the ipv6 code be compilable (I don't worry about functionable
> now)?
IPv6 is not available from the 1.4.1 release but it is available (a
Hi Nikolas,
On Wed, Feb 20, 2013 at 07:07:29PM +1100, Nikolas Karakotas wrote:
> Hi Sylvain,
>
> Ok I followed your suggestions and it works nicely. I just call
> ppp_close and don't delete the thread. When I want to reconnect I
> call ppp_reopen and it simply changes the netif interface to match
Hi Thomas,
On Wed, Mar 06, 2013 at 01:14:57AM -0800, ThomasJ wrote:
>
> Could it be the fact I'm using netconn_write in one task and netconn_recv in
> another? Would it help using them in the same task? (First check for
> received data and then send data if any to send?)
Yes, this is the issue,
Hi Thomas,
On Wed, Mar 06, 2013 at 03:03:55AM -0800, ThomasJ wrote:
>
> or is it better to use a semaphore around the netconn_recv and
> netconn_write, so no write can be done during receiving and no receive
> during wrie?
>
> How does you handle it?
This is exactly the same from the lwIP point
Hi Thomas,
On Wed, Mar 06, 2013 at 06:43:15AM -0800, ThomasJ wrote:
> Hi
>
> Just an idea... and would it work?
>
> If I keep my TX task and RX task.
> I then make make sure the TXTask does not use the netconn_write while the
> RXTask is in the netconn_recv call.
> Would that be ok or must the n
Hi,
On Sat, Mar 09, 2013 at 04:31:28PM +0100, Maciej Gajdzica wrote:
> Hello
>
> After solving issue with fragmented 3G packets I ran into some performance
> related problems. [...]
>
> Further investigation revealed that problem is probably caused by limited
> memory for memp objects and pbufs.
Hi Christian,
On Wed, Mar 20, 2013 at 03:59:13PM +0100, Christian Fuchs wrote:
>
> ..., the pcb is in state ESTABLISHED and goes then to FIN_WAIT_1. So
> the memory for MEMP_TCP_PCB_LISTEN will never be freed.
>
> So, what I'm doing wrong?
It looks like your port timers are not working properly
Hi Simon,
On Fri, Mar 22, 2013 at 09:14:39AM +0100, Richner Simon wrote:
>
> Would it be possible to use PPPoE and DHCP on the same interface in
> parallel?
It depends on what you mean by interface,
on the same Ethernet hardware interface: yes
on the same lwIP software interface (i.e. netif):
Hi,
On Thu, May 23, 2013 at 12:56:07PM -0400, Pomeroy, Marty wrote:
>
> Do not call tcp_new() or netconn_new() from outside the lwip thread.
Not true, netconn API *IS* thread-safe.
Sylvain
signature.asc
Description: Digital signature
___
lwip-use
Hi,
On Fri, May 24, 2013 at 07:35:49AM +0200, Furiantes Furiantes wrote:
> Is tcp_new() thread safe too ? or just netcon. My scenario is that:
No, as said in doc/rawapi.txt :-)
Raw API is *NOT* thread safe: udp_*(), tcp_*(), netif_*(), ...
Netconn API is thread safe: netconn_*()
Socket API is
Hi Sebastian,
On Mon, May 27, 2013 at 10:01:44AM -0700, Sebastian Gonzalez wrote:
> Hi,
>
> I am using lwIP 1.3.2 with an Atmel AT91SAM7X512, and FreeRTOS. We have
> already used this combination in other projects with no problem, but now we
> using our design in a network with high density of U
Hi Dimax,
On Tue, May 28, 2013 at 03:19:41PM +0300, Dimax wrote:
> Hi,
> Thanks for your answer. But I need to clarify it
> If I set MTU=1500 am I guaranteed not to get Ethernet frames bigger then
> 1514 bytes?
You are not, MTU is Maximum -Transmission- Unit, not receive. You might
receive gian
Hi Ahmed,
On Mon, Jun 03, 2013 at 09:28:58AM -0700, Ahmed Fayek wrote:
> Hi,
>
> I can't initialize the PPP connection with a GPRS I have this log:
>
> data sent to GPRS is strange it don't start with 0x7E,
> code continue to initialize eather net and then stop logging and hang.
>
> I am using
Hi Ahmed,
On Sat, Jun 01, 2013 at 04:22:56AM -0700, Ahmed Fayek wrote:
> Hi,
>
> My application is a GPRS router that route data to/from eathernet
> interface and serial GPRS module usin ti stellaris LM3S6918.
>
> I try to use the ppp_new code, I need to know the sequence to start
> the pppos
Hi Ahmed,
On Tue, Jun 04, 2013 at 10:52:23AM -0700, Ahmed Fayek wrote:
> Hi Sylvain,
>
> thank you very much for your help.
> I'll try that.
>
> just a question regarding 2nd part about sio. In my application as I
> said I route data from ethernet. do IP forwarding do the job
> automatically
Hi Nikolas,
On Wed, Jun 12, 2013 at 10:38:07PM +1000, Nikolas Karakotas wrote:
> Hi Sylvain,
>
> At what case does your sio_read returns len < 0 ?
This is just an example, mine never return < 0, however, a read()
function which is conforming to POSIX.1-2001 returns -1 in case of
error:
"REA
Hi Nikolas,
On Thu, Jun 13, 2013 at 09:39:59AM +1000, Nikolas Karakotas wrote:
> Hi,
>
> I thought so, by the way where is the best place to call pppapi_sighup?
When DCD state change to NO CARRIER, but DCD is rarely wired nor
relevant with GPRS modems, so you just have to wait for LCP timeout.
Hi Joe,
On Tue, Jun 25, 2013 at 12:49:31AM +1000, Joe Bloggs84 wrote:
> Hi All,
>
> I am interested in whether there is already a way to do this and I
> am missing something or whether a change like I am proposing would
> be useful to others.
>
> cc.h defines LWIP_PLATFORM_DIAG(x)
> as
> #define
Hi,
On Tue, Jun 25, 2013 at 12:25:02PM -0400, Bill Auerbach wrote:
> Maybe because the protocol and type checks are 2 byte checks while the ip
> address and hwaddr checks total 10 bytes to check?
And maybe because ARP/IPv6/PPPoE are dealing with broadcast/multicast
addresses, so checking the add
Hi Pierre-Yves,
On Mon, Jul 22, 2013 at 09:38:42AM +0200, pierre-yves.boisbunon wrote:
> Hi Lwip Users,
>
> I am using LWIP with a GPRS module (through PPP connection). I am wondering
> how to cleanly terminate a task in case of lost of GPRS signal.
>
> Indeed with the modem I'm using, I can cat
Hi Stefano,
On Sat, Sep 14, 2013 at 02:02:43PM +0200, Stefano Marini wrote:
> I'm using ppp-new branch donwloaded from git repositories
> and it works fine with vodafone SIM Card (see vodafone.txt attached file).
>
> When I change SIM Cards and I try to use TIM, I receive and LPC
> error (see tim
Hi Dave,
On Mon, Oct 07, 2013 at 10:42:13PM +0700, Dave McLaughlin wrote:
> Hi all,
>
> I am new to the group and new to the library and looking for a bit of
> advice.
>
> I have a project to build a sensor interface with a GSM modem and I need to
> have the ability to connect via TCP/IP over P
Hi Enrique,
On Sun, Oct 20, 2013 at 11:33:11AM +0200, Enrique Wellborn wrote:
> Hi,
> I was wondering whether it is possible to use the lwip linux port so that
> it'll use an ip address on my existing subnet.
> The scenario i'm trying to create is as follows:
> My Ubuntu machine has a single ether
Hi,
On Thu, Oct 31, 2013 at 08:34:06AM +, Niall Donovan wrote:
> Hi,
> There is evidence that Windows 7 and 8 ignore the MSS value if it is less
> 576. I have TCP links working between my embedded app and both Windows XP
> and Windows 7. In my case XP was always working (TCP_MSS = 1518) bu
Hi,
On Mon, Dec 16, 2013 at 07:41:06AM +0100, Satz Klauer wrote:
> Hi,
>
> I'm currently new to lwIP and so I'm still trying to understand it.
> Thus I used the httpserver_raw example as starting point for my
> application.
>
> Since I do not need a http-connection which closes socket after ever
1 - 100 of 440 matches
Mail list logo