Bartek Szatkowski
ae11b51b26
Split lwip initialisation and interface bringup
...
Split IP stack initialisation from mbed_lwip_bringup to mbed_lwip_init.
2016-10-04 14:32:44 +01:00
Bartek Szatkowski
98eb50f592
Refactor lwip_stack function names to include mbed prefix
...
Mbed function names, prefixed with lwip are confusing, as the name
suggest that they are part of lwip ip stack.
2016-10-04 14:22:24 +01:00
Bartek Szatkowski
d0be5733db
EMAC: Fix LWIP_IPV4 and DEVICE_EMAC flag usage
2016-10-03 17:46:39 +01:00
Christopher Haster
5cd2d7869e
Merge remote-tracking branch 'upstream/master' into feature_wifi_ublox_merge
2016-10-02 07:29:07 -05:00
Christopher Haster
13bf0bd470
Merge commit 'upstream/master~' into feature_wifi_ublox
2016-10-02 06:35:12 -05:00
Sam Grove
04a2af7395
Update net tests to use feature name LWIP and not IPv4
2016-10-01 02:21:04 -05:00
Christopher Haster
c2d9fc29ff
restructure - Fixed include paths damaged by the restructure
2016-09-30 19:18:09 -05:00
Christopher Haster
ba99a1f31d
restructure - Restructured features/net directory
...
features/net/network-socket -> features/netsocket
features/net/FEATURE_IPV4 -> features/FEATURE_LWIP
features/net/nanostack-binaries -> features/nanostack
features/net/FEATURE_NANOSTACK -> features/nanostack/FEATURE_NANOSTACK
2016-09-30 19:18:09 -05:00
Christopher Haster
175ae6b610
restructure - Fixed include bug in features/unsupported/net/lwip
...
time.h brings in struct timeval
lwip defines custom struct timeval
resolved through disabling lwip's struct timeval
2016-09-30 19:18:09 -05:00
Christopher Haster
bf643bcb0e
restructure - Moved libraries to features/unsupported
...
libraries -> features/unsupported
2016-09-30 19:18:09 -05:00
Christopher Haster
6440ffab98
cellular - Matched changes to the WiFiinterface in cellular
2016-09-30 16:36:11 -05:00
Christopher Haster
0f40c121d5
wifi - Moved wifi_ap_t into its own class WiFiAccessPoint
...
Using a class for this structure is more idiomatic C++, allows
future deprecations, and more flexibility of the internal structure.
Additionally, this matches to design of the SocketAddress class
specific to the network-socket api.
2016-09-30 15:56:05 -05:00
Christopher Haster
5b12539074
wifi - Removed asynchronous functions
...
Current asynchronous functions do not match the blocking/attach
pattern of the current codebase.
Unfortunately, the asynchronous api can not be updated in the
current time constraints. The async functions will be removed
for now and can be reconsidered at a later date.
2016-09-30 15:41:46 -05:00
Sam Grove
b0b7b3cf9c
Merge pull request #2849 from pan-/fix_nordic_critical_section
...
Fix nordic critical section entry and exit
2016-09-30 15:00:43 -05:00
Sam Grove
d8e484d091
Merge pull request #2812 from jeromecoutant/PR_Add_MAC
...
[STM32 NUCLEO] Init MAC address
2016-09-30 14:52:46 -05:00
Martin Kojtal
cca026dc6d
WiFiInterface - revert removal of connect method
2016-09-30 19:07:43 +01:00
Martin Kojtal
63f0ff1b49
NetworkInterface: remove dhcp and static ip methods
...
These use cases are already supported by NetworkInterface class via
set_dhcp, and set_network.
2016-09-30 18:47:18 +01:00
Martin Kojtal
0fe1246bf4
WiFiInterface - remove data arguments
...
Callback class provides API to support class callbacks.
2016-09-30 18:47:07 +01:00
Seppo Takalo
bdfa22a6e6
Update CONTRIBUTING.md
2016-09-30 16:20:25 +03:00
Seppo Takalo
6ba8068c62
Allow mesh-api to configure routing.
2016-09-30 15:53:46 +03:00
Martin Kojtal
e7b7fecc47
NetworkInterface: fix start_dhcp argument type
2016-09-30 11:33:35 +01:00
Martin Kojtal
ebe02274ff
NetworkInterface- fix comments for dhcp and ip methods
2016-09-30 11:10:59 +01:00
Martin Kojtal
e31f198810
lwip_stack: remove emac int enable/disable functions
...
Already done in emac interface.
2016-09-30 10:59:27 +01:00
Martin Kojtal
ad8b52fe85
EthernetInterface: revert unrelated changes
2016-09-30 10:48:22 +01:00
Martin Kojtal
372f8e4a8c
lwip stack: dhcp in bringup not done for emac targets
2016-09-30 09:59:48 +01:00
Martin Kojtal
961cde39af
WiFiInterface: change variables to protected
...
A wifi instance should be able to set those data.
2016-09-30 08:51:21 +01:00
Martin Kojtal
7c8afa91fb
IPStackInterface: removal of this layer
...
Use NetworkInterface that defines the same API (extended to cover some additional
requirements that comes from wifi).
2016-09-30 08:48:09 +01:00
Martin Kojtal
780ec1ebe4
eth arch: duplication of declarations removal
2016-09-29 17:36:15 +01:00
Martin Kojtal
ac8f5d1b8c
eth arch: missing endif fix
2016-09-29 14:44:53 +01:00
Martin Kojtal
d40c19bc73
lwipstack: add start dhcp and static ip functions
2016-09-29 14:44:03 +01:00
Martin Kojtal
1b797bbd16
EthernetInterface: ctor uses connect() method
2016-09-29 14:38:45 +01:00
Seppo Takalo
bf8d8211fa
Update Nanostack binaries to 5.0.6
2016-09-29 14:31:19 +03:00
Seppo Takalo
cbce88d422
[ONME-2736] Macro Def. of 6LP-ND Security Mode
...
* Application has been using MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE as the macro to define Secuity mode.
* The fall back mechanism, in case of absence of neo or yotta macro definition, was setting the macro to
be yotta format which was not used at all in the application.
* The bug was fixed by changing YOTTA_CFG_MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE to
MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE in the fall back mechanism.
2016-09-29 14:11:02 +03:00
Seppo Takalo
822567bfa1
Initialize mac_api only once.
2016-09-29 14:06:49 +03:00
andreas.larsson
841c9b5809
Fixed missing timeout argument for lwip_start_dhcp
2016-09-29 11:57:14 +01:00
andreas.larsson
6040561841
Added start_dhcp and start_static_ip
2016-09-29 11:54:50 +01:00
andreas.larsson
8af75511ca
Removed check since the interface is not fully up yet so we can't block DHCP/ARP
2016-09-29 11:54:12 +01:00
Bartek Szatkowski
f122695fd3
WiFi: Decuple IP stack bringup and IP address provisioning
2016-09-29 11:54:10 +01:00
Bartek Szatkowski
c80641fe11
EMAC: Fix "#if DEVICE_EMAC " usage
2016-09-29 11:52:43 +01:00
andreas.larsson
b07d60259a
Added missing ;
2016-09-29 11:51:37 +01:00
andreas.larsson
40cd23c4f7
Added pointer for wifi_ap_t in wifi_connect_cb_t to be able to use NULL
2016-09-29 11:51:35 +01:00
andreas.larsson
26c3eef028
Fixed return type for disconnect
2016-09-29 11:50:58 +01:00
Seppo Takalo
1317eda555
Rename FEATURE_IPV6 to FEATURE_NANOSTACK
2016-09-29 13:50:32 +03:00
Bartek Szatkowski
7a3a580a4b
WiFi: Add IPStackInterface abstraction for IP stacks
2016-09-29 11:49:05 +01:00
Bartek Szatkowski
a30aa8f21f
EMAC: Add LWIP adaptation layer
2016-09-29 11:47:24 +01:00
Martin Kojtal
5ed97d5cca
nsapi: error no ssid name correction
2016-09-29 10:46:51 +01:00
Martin Kojtal
da7529801a
WiFiInterface: change scope of wifi_ap_t structure
2016-09-29 10:44:43 +01:00
Martin Kojtal
33d95654df
WifiInterface - use Callback class for callbacks
2016-09-29 10:41:43 +01:00
Vincent Coubard
dcf03310d0
NRF5 - Fix usage of volatile variable in nordic critical section implementations.
2016-09-29 10:05:02 +01:00
Martin Kojtal
517f0509ca
IPStackInterface - add ip address
...
Currently only for IPv4. lwip was updated to accept 2 arguments for getting
the ip address (buffer and length).
2016-09-29 09:50:11 +01:00