Re: [lwip-users] SYS mbox

2011-11-13 Thread goldsi...@gmx.de
Per Klint wrote: I'd rather not change the lwip stack code. But perhaps it is possible to replace all calls to sys_mbox_trypost with sys_mbox_post instead? Why would you need that? To avoid to lose any messages! But if it needs to work from ISR it's ofcourse not an option to do that. And let

Re: [lwip-users] SYS mbox

2011-11-12 Thread Per Klint
11 nov 2011 kl. 18:55 skrev Simon Goldschmidt : > Per Klint wrote: > >> So my question is what will happen to those messages? Will they be >> lost forever or will the lwip-stack retry again later? > > Yes, they will be lost, that's the intention. You have to design the mbox > sizes in a way th

Re: [lwip-users] SYS mbox

2011-11-11 Thread Simon Goldschmidt
Per Klint wrote: > So my question is what will happen to those messages? Will they be > lost forever or will the lwip-stack retry again later? Yes, they will be lost, that's the intention. You have to design the mbox sizes in a way that thins is OK for your application. > I'd rather not change

Re: [lwip-users] SYS mbox

2011-11-11 Thread Per Klint
Hi again and thanks for your answer Iwan! >> I have a question regarding the mbox:es. >> We have very short on memory in our system, so we want to have >> the queue length in the mbox set as low as possible. >> This however results that we sometimes gets mbox errors due to >> that the mbox queue i

Re: [lwip-users] SYS mbox

2011-11-03 Thread Iwan Budi Kusnanto
On Thu, Nov 3, 2011 at 1:21 PM, Per Klint wrote: > Hi! > > I have a question regarding the mbox:es. > We have very short on memory in our system, so we want to have the queue > length in the mbox set as low as possible. > This however results that we sometimes gets mbox errors due to that the mbox

[lwip-users] SYS mbox

2011-11-02 Thread Per Klint
Hi! I have a question regarding the mbox:es. We have very short on memory in our system, so we want to have the queue length in the mbox set as low as possible. This however results that we sometimes gets mbox errors due to that the mbox queue is full. So my question is what happens when the mbox