Re: [lwip-users] Using BOOTP with lwIP

2017-08-10 Thread Amit Ashara
Thansk Simon. That did the trick.

Just an information to anyone looking for it, I put the following define in
my project lwipopts.h

#define LWIP_IP_ACCEPT_UDP_PORT(dst_port) ((dst_port) == PP_NTOHS(68))

#define LWIP_DHCP   0   // default is 0


On Wed, Aug 9, 2017 at 2:30 PM, goldsi...@gmx.de  wrote:

> Amit Ashara wrote:
>
>> I am trying to get BOOTP working with lwIP 1.4.1 stack. [..]However the
>> call back function for udp does not get invoked. After debugging the same,
>> the issue seems to be in ip.c file.
>>
>
> Of course that doesn't work out of the box. DHCP has a workaround, which
> is disabled for LWIP_DHCP==0. However, by defining LWIP_IP_ACCEPT_UDP_PORT
> correctly, you can get the same behaviour for your own application.
>
> Simon
>
> ___
> lwip-users mailing list
> lwip-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] Advice on wifi module

2017-08-10 Thread Noam Weissman
Hi Sergio,

Murata, Microchip and all other readymade modules are a bit expensive. Around 
30-45$... 

Some time ago I have searched for such module and finally we chose ROVING 
RN-171... They may have a 
newer one, now.

ROVING module was also around $29 for small quantities but after talking with 
their representative they were
willing to drastically go down on price if we take large quantities (1K and 
more).

ROVING have a full TCP stack on their module + ability to write some code under 
their own micro. The second
option is using the module in PASS THROUGTH mode via fast RS232 920Kbit or 
something. In this mode one can
configure the WiFi and then send/get data over this serial connection. This is 
good for small systems that does
not need to send lots of data.

BR,
Noam.



-Original Message-
From: lwip-users [mailto:lwip-users-bounces+noam=silrd@nongnu.org] On 
Behalf Of Sergio R. Caprile
Sent: Thursday, August 10, 2017 5:38 PM
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] Advice on wifi module

> I recall having seen an asian SDIO module, but I can't remember the 
> part number.

Found it:
WF111 from BlueGiga, now Silicon Labs.

Atmel has a module series too, but I personally don't like Microship.
Murata is also building a number of modules, some based on the Cypress 
(formerly Broadcomm) chip mentioned in this thread.

Nice to know we do have some options these days.


___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] Advice on wifi module

2017-08-10 Thread Sergio R. Caprile
> I recall having seen an asian SDIO module, but I can't remember the part
> number.

Found it:
WF111 from BlueGiga, now Silicon Labs.

Atmel has a module series too, but I personally don't like Microship.
Murata is also building a number of modules, some based on the Cypress
(formerly Broadcomm) chip mentioned in this thread.

Nice to know we do have some options these days.


___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] IPv6 multicast support by Socket API?

2017-08-10 Thread Dirk Ziegelmeier
"We have task #14394 (Improve socket options) for this"

does not mean that somebody is or will be working on it - it is just there
so the issue is not forgotten.

Have you been able to test my patch?

Dirk
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] IPv6 multicast support by Socket API?

2017-08-10 Thread Andrej Butok
Hi Simon,
It is good that this is known issue and you are going to fix it.

I have discovered another issue but with the IPV6_V6ONLY option.
It was not possible to set this option for UDP sockets. Probably, it was caused 
by copy-paste mistake.

The fix is following (sockets.c, line 2515):
case IPV6_V6ONLY:
#if 0 // BUG FIX
  LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, optlen, int, NETCONN_TCP);
#else
  LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, int);
#endif

Please add it to the task #14394

Thanks,
Andrey Butok

Date: Wed, 9 Aug 2017 21:27:45 +0200
From: "goldsi...@gmx.de" 
To: Mailing list for lwIP users 
Subject: Re: [lwip-users] IPv6 multicast support by Socket API?

Andrej Butok wrote:
> BUT it looks like the lWIP Sockets does not support IPv6 multicast join/leave.
>
> Did I miss something?

No, you're right. This is not yet done.

> Are you going to add this missing functionality?

We have task #14394 (Improve socket options) for this. I'm not sure when this 
will be done though. Patches would be welcome :-)


Simon


___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users