Christopher Haster
def3b408f0
Rename Interface -> Stack
...
NetworkInterface -> NetworkStack
EthernetInterface -> EthernetStack
WiFiInterface -> WiFiStack
CellularInterface -> CellularStack
MeshInterface -> MeshStack
2016-07-22 02:02:37 -05:00
Christopher Haster
3850933298
Standardized comment style
2016-07-22 02:02:37 -05:00
Christopher Haster
e51f157c33
Revised stack specific configurations
...
Adds the following functions for direct configuration of interface
- (set|get)stackopt
- (set|get)sockopt
2016-07-22 02:02:37 -05:00
Christopher Haster
1aa0b6ce2a
Added better support for SocketAddress/string addresses/ports
2016-07-22 02:02:37 -05:00
Christopher Haster
e47bb97eff
Renamed NetworkInterface create/destroy methods to match Socket methods
...
- socket_create -> socket_open
- socket_destroy -> socket_close
2016-07-22 02:02:37 -05:00
Christopher Haster
db8495c7ed
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-07-22 02:02:37 -05:00
Christopher Haster
41d7277a4b
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-07-22 02:02:37 -05:00
Christopher Haster
a25aeea977
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-07-22 02:02:37 -05:00
Martin Kojtal
498add7f9f
lwip - fix size of sys mutex for RTX 4.79
...
The size was increased to 4 bytes. Thanks @c1728p9 for spotting this.
2016-07-22 02:02:37 -05:00
Christopher Haster
697ac558be
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-07-22 02:02:37 -05:00
Bogdan Marinescu
b032d1886f
Preparing new layout - moving lwip
2016-07-22 02:02:28 -05:00