Russ Butler
eb76d0ebd6
Pull in lwip-eth updates from mbedmicro/mbed
...
Sync the directory lwip-eth with that of mbedmicro/mbed at revision
b32f7a9aaf
.
2016-05-28 00:08:28 -05:00
Russ Butler
966ef8c35e
Remove hal
...
Remove all the hal files in preparation for pulling in mbedmicro/mbed.
2016-05-27 17:53:53 -05:00
Devaraj Ranganna
506d63e8b7
Incrase netif_up semaphore timeout from 1500ms to 2500ms
2016-05-26 11:18:45 +01:00
Christopher Haster
83f65c0d3a
Add rudimentary support for server side
...
mirrored from:
https://developer.mbed.org/teams/NetworkSocketAPI/code/LWIPInterface/
2016-05-13 11:41:20 -05:00
Christopher Haster
9e415df196
Match changes to NSAPI in LWIPInterface
...
mirrored from:
https://developer.mbed.org/teams/NetworkSocketAPI/code/LWIPInterface/
2016-05-13 11:41:19 -05:00
Christopher Haster
d17fa4faad
Separate Stack/Interface concept into two distinct classes
2016-05-13 11:41:13 -05:00
Christopher Haster
16929af278
Rename Interface -> Stack
...
NetworkInterface -> NetworkStack
EthernetInterface -> EthernetStack
WiFiInterface -> WiFiStack
CellularInterface -> CellularStack
MeshInterface -> MeshStack
2016-05-13 11:41:07 -05:00
Christopher Haster
59549cb4df
Standardized comment style
2016-05-13 11:41:02 -05:00
Christopher Haster
525c7b361c
Revised stack specific configurations
...
Adds the following functions for direct configuration of interface
- (set|get)stackopt
- (set|get)sockopt
2016-05-13 11:41:00 -05:00
Christopher Haster
141b245dfc
Added better support for SocketAddress/string addresses/ports
2016-05-13 11:40:57 -05:00
Christopher Haster
455f023949
Renamed NetworkInterface create/destroy methods to match Socket methods
...
- socket_create -> socket_open
- socket_destroy -> socket_close
2016-05-13 11:40:53 -05:00
Christopher Haster
c33d246fa6
Move to single state-change interrupt
...
Pros
- Easier to implement
- More similar to SIGIO in BDS sockets
Cons
- Less information, but this information had a high risk of being
faulty/spurious
2016-05-13 11:40:52 -05:00
Christopher Haster
c3eec0322b
Remove shutdown parameter from close call
...
Pros
- Simplifies interface
- Easier base implementation
Cons
- May need shutdown functionality, in this case shutdown
can be added as another function in the future
2016-05-13 11:40:51 -05:00
Christopher Haster
f0f7972a64
Move to asynch lwip sockets based on armmbed/sal-stack-lwip
...
Move the backend of LWIPInterface from the LWIP socket API to the
asynch UDP/TCP APIs used in https://github.com/armmbed/sal-stack-lwip .
Provides asynchronous functionality for the LWIPInterface.
2016-05-13 11:40:48 -05:00
Martin Kojtal
1524c5fca9
lwip - fix size of sys mutex for RTX 4.79
...
The size was increased to 4 bytes. Thanks @c1728p9 for spotting this.
2016-04-14 21:47:17 +01:00
Christopher Haster
03475f35bb
Matched changes NetworkSocketAPI
...
Responded to feedback from mbed-client implementation
to introduce a full feature set that should support most
of the use cases for the API.
2016-04-06 08:50:56 -05:00
Bogdan Marinescu
1fd427fc59
Preparing new layout - moving lwip (2)
2016-04-05 16:40:57 +01:00
Bogdan Marinescu
fa71088cdc
Preparing new layout - moving lwip (1)
2016-04-05 16:40:57 +01:00