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
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
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
Martin Kojtal
81932ee3c3
lwip emac - remove non-existent header inclusion
2016-09-29 09:49:51 +01:00
Martin Kojtal
f12676dfc7
Merge branch 'master' into feature_wifi
...
Conflicts:
features/net/FEATURE_IPV4/lwip-interface/lwip_stack.c
hal/targets.json
2016-09-29 09:20:46 +01:00
Sam Grove
6856a892ef
Merge pull request #2841 from javier-moreno-tridonic-com/fix-border-router-shudown-reconections
...
Fixed assert failure on reconections
2016-09-28 14:59:52 -07:00
Martin Kojtal
3d14c20224
WiFiInterface: remove connect implementation
...
We do not want to mix Ethernet and Wifi at the moment, thus WiFiInterface
should implement own connect using emac.
2016-09-28 09:54:59 +01:00
Martin Kojtal
b256b2fdc7
network-sockets: revert API for static configuration
...
WifiInterface - add set_credentials
2016-09-28 09:24:56 +01:00
Martin Kojtal
febf1a8d55
lwipipstack: lwip_bringup arguments update
...
It now accepts additional arguments, that lwipipstack do not use, thus
all 0 and false for dhcp.
2016-09-28 09:24:12 +01:00
javier-moreno-tridonic-com
51fd80bb63
Fixed assert failure on reconections
...
When the border router is switched off, the several retries will end up triggering the asserts in NanostackSocket::open. This is caused because socket_tbl elements, are never set to NULL.
2016-09-28 09:59:12 +02:00
Mika Leppänen
e5c291d347
Added version to nsapi get host by name
2016-09-28 08:48:45 +03:00
Mika Leppänen
1f98cc3d54
Corrected tcp socket send
2016-09-28 08:48:45 +03:00
Mika Leppänen
95383dde32
Added ipv6 support to lwip dns adaptation and updated dchp functionality
2016-09-28 08:48:45 +03:00
Mika Leppänen
283ee52228
Added lwip status parameter
2016-09-28 08:48:45 +03:00
Mika Leppänen
0a88251b6c
Declare heap ourselves to specify section
2016-09-28 08:48:45 +03:00
Mika Leppänen
1d2130f032
Updated STM mac for lwip 2.0 and IPv6.
2016-09-28 08:48:44 +03:00
Mika Leppänen
a349c1123c
Updated VK_RZ_A1H mac for lwip 2.0 and IPv6.
2016-09-28 08:48:44 +03:00
Mika Leppänen
c61973c954
Updated RZ_A1H mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
f270fcbd12
Updated LPC17 mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
f4e76bb704
Updated NUC472 mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
bb50717dc3
Updated lwip API and configuration files to lwip 2.0
2016-09-28 08:48:43 +03:00
Mika Leppänen
5f7a953325
K64F: Use older multicast filtering API
2016-09-28 08:48:43 +03:00
Mika Leppänen
2f9c5e92ef
Updated K64F mac for lwip 2.0 and IPv6
2016-09-28 08:48:43 +03:00
Mika Leppänen
98c452dafb
Added json configuration file and mbed ignore file to lwip stack.
2016-09-28 08:48:43 +03:00
Mika Leppänen
052d994f10
lwip 2.0 https://github.com/ARMmbed/lwip
2016-09-28 08:48:10 +03:00
Mika Leppänen
66f9ecd758
Delete previous lwIP
...
Leave an empty space for fresh subtree
2016-09-28 08:44:01 +03:00
Martin Kojtal
bd3a81d0ec
lwip: add emac interrupt API
...
ethernet uses eth_arch_xxx_interrupts, emac_xxx_enable_interrupts
2016-09-27 10:42:59 +01:00
0xc0170
20f5adbab2
Merge branch 'master' into feature_wifi
...
Conflicts:
features/net/FEATURE_IPV4/lwip-interface/EthernetInterface.cpp
features/net/FEATURE_IPV4/lwip-interface/lwip_stack.c
features/net/FEATURE_IPV4/lwip-interface/lwip_stack.h
features/net/network-socket/WiFiInterface.h
2016-09-26 16:36:17 +01:00
Sam Grove
157fa65a51
Merge pull request #2809 from geky/lwip-fix-default-dhcp
...
lwip - Fix default behaviour of DHCP
2016-09-26 02:39:20 -05:00
Christopher Haster
358b7f0521
lwip - Fixed default behaviour of DHCP
2016-09-25 23:28:29 -05:00
Christopher Haster
4f7b10f433
nsapi - Moved literal ip parsing out of dns-query
...
- Not inherently a dns operation
- Able to reuse SocketAddress provided to the NetworkInterface
2016-09-25 22:19:18 -05:00
Christopher Haster
2194ca1c1e
nsapi - Increased DNS buffer size to 512 bytes per spec
2016-09-25 22:19:18 -05:00
Christopher Haster
370afe5d82
nsapi - Folded IP parsing logic into SocketAddress
...
Merged duplicated logic into the SocketAddress class. Based
on parallel work by @mkaleppanen and @kjbracey-arm.
Also added small ipv6 parsing fix by @mikaleppanen
2016-09-25 22:19:18 -05:00
Christopher Haster
d237ee8722
nsapi - Reversed arguments to gethostbyname
...
Updated to match prior conventions
- netconn_gethostbyname
- gethostbyname_r
- gethostbyname2_r
- gethostbyaddr_r
2016-09-25 22:19:18 -05:00
Christopher Haster
3858a13b75
nsapi - Added access to gethostbyname and add_dns_server
...
For performing DNS resolution explicitly through the network-socket
user API.
This interface does not require implementation changes and can rely
entirely on the dns query library in the network-socket API.
2016-09-25 22:16:52 -05:00
Sam Grove
20133688f0
Revert "[STM32 NUCLEO] Init MAC address"
2016-09-25 16:53:00 -05:00
Sam Grove
363c041c53
Merge pull request #2743 from jeromecoutant/PR_STM32_MAC
...
[STM32 NUCLEO] Init MAC address
2016-09-24 16:40:13 -05:00
Sam Grove
e0bf4153a4
Merge pull request #2739 from jeromecoutant/PR_Update_IPV4
...
STM32 / IPV4: #2685 has been forgotten with #2731
2016-09-24 16:39:58 -05:00
Sam Grove
29b0551eb7
Merge pull request #2728 from andreaslarssonublox/eth_fix
...
Added ethernet and enabled IPV4 feature for the EVK-ODIN-W2/C029 target
2016-09-24 16:35:49 -05:00