Christopher Haster
b251c59ffe
Added support for NSAPI_KEEPALIVE in LWIPInterface
2016-07-22 02:02:37 -05:00
Christopher Haster
0d0d008411
Match changes to NSAPI in LWIPInterface
...
mirrored from:
https://developer.mbed.org/teams/NetworkSocketAPI/code/LWIPInterface/
2016-07-22 02:02:37 -05:00
Christopher Haster
a7c07996d9
Separate Stack/Interface concept into two distinct classes
2016-07-22 02:02:37 -05:00
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
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