11 years, 10 months ago.

integrate lwip with wifly!

Hi, Has Anyone tried to integrate lwip with wifly wireless module instead of using its own tcp/ip stack?If yes,please share your experience. Thanks in advance.

2 Answers

11 years, 10 months ago.

While I'm not very familiar with lwip, I don't think this is really possible.

The wifly modules do not expose their internals in a manner that you could integrate these two together. If you have the wifly user manual, you will see that the available APIs. Further, since the wifly module supports only a single connection (both end-point and port) at a time, it might be quite difficult to graft these two stacks together.

Accepted Answer

Thanks for the answer, Well,That might be true.Going through the manual,they have just provided the info on the APIs regarding making connections.There is much info on the Command Mode and less on the Data Mode of the operation.I am not still clear,what exactly what wifly accepts as data. IP packets,TCP packets or Ethernet packets or just the data that is to be enclosed in the TCP or UDP packets??

posted by Rupak Dahal 09 Dec 2013

As I have used them, when in data mode it is basically a pass-thru of the "data" from the IP transactions (not the Ethernet packet). You will have already set (via the APIs) the IP address and port number and mode (TCP or UDP).

posted by David Smart 09 Dec 2013

Thanks,now I have tried that ..It seems to be the case!

posted by Rupak Dahal 10 Dec 2013
11 years, 10 months ago.

WIFLY is a complete TCP/IP stack "engine" - running on an independent processor. So all the traffic between it and the remote end is the same as any other pair of TCP nodes ...