Mahesh Mahadevan
65942ba906
MIMXRT1050: Fix ENET issues
...
This is a fix for Issue 10239. The change aligns
the receive buffer lengths
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-04-03 08:18:58 -05:00
Kevin Bracey
9ad90691a3
CellularBase -> CellularInterface tidy
...
Remove remaining references to deprecated CellularBase in code, avoiding
one warning.
Add deprecation to Doxygen.
2019-03-20 10:12:14 +02:00
Cruz Monrreal
dbb33ef423
Merge pull request #9801 from vmedcy/fix-eventqueue-h
...
Correctly include EventQueue.h
2019-03-16 22:52:40 -05:00
Martin Kojtal
5252163534
Merge pull request #9900 from michalpasztamobica/dns_async_handle_would_block
...
DNS send returning WOULD_BLOCK forces delayed retry
2019-03-14 13:01:20 +01:00
Martin Kojtal
c0c02e2bd8
Merge pull request #9872 from KariHaapalehto/burst_nonblock_test_fix
...
Fix for NUCLEO_F207 UDPSOCKET_ECHOTEST_BURST_NONBLOCK fails.
2019-03-14 09:16:59 +01:00
Michal Paszta
ee056daf86
DNS recv/send returning WOULD_BLOCK force delayed retry
2019-03-11 13:33:06 +02:00
kegilbert
194fa129fb
Update recently added previous macro name uses in tests
2019-03-01 13:53:47 -06:00
kegilbert
8cef1904c5
Move socket-stats-enable to socket-stats-enabled.
...
This conforms with the other stats config option names
2019-03-01 13:31:33 -06:00
Martin Kojtal
6bdbe754cd
Merge pull request #9799 from VeijoPesonen/bugfix-esp8266-dns
...
Increase events.share-eventsize to 768B because of ESP8266 AT driver and asynchronous DNS
2019-02-27 11:30:38 +01:00
Kari Haapalehto
7de864c465
Fix for NUCLEO_F207 UDPSOCKET_ECHOTEST_BURST_NONBLOCK fails.
...
Increase eth-rxbufnb from 1 to 2 will fix the problem
2019-02-27 10:33:24 +02:00
Veijo Pesonen
517799fd06
NetworkStack: halts if unable to add an event to the event queue
2019-02-26 09:44:15 +02:00
d-kato
78923d8135
Add missing license description to RZ/A1 driver
2019-02-26 11:52:29 +09:00
Cruz Monrreal
044d0c9cb1
Merge pull request #9778 from michalpasztamobica/add_missing_wifi_config_params
...
Add missing wifi parameters to test configs
2019-02-25 17:30:36 -06:00
Michal Paszta
42404be824
Change all wifi and WiFi occurences to Wi-Fi
2019-02-25 14:54:18 +02:00
Seppo Takalo
7a33700bb4
Replace Copyright ARM with a proper Apache 2 license header
2019-02-25 14:17:42 +02:00
Seppo Takalo
b14df9e0de
Add missing copyright header to STM32 driver
2019-02-25 14:09:36 +02:00
Michal Paszta
08b06e25d0
Document network parameters in netsocket/mbed_lib.json
2019-02-22 10:13:21 +02:00
Volodymyr Medvid
b0a33273ff
Correctly include EventQueue.h
...
There are two EventQueue.h in mbed-os codebase:
events/EventQueue.h
features/FEATURE_BLE/ble/pal/EventQueue.h
By accident, `mbed compile` generates includes.txt with the correct
order of include search paths. This is not the case for the CMake
exporter: targets with FEATURE_BLE enables fail to compile with errors:
mbed-os/features/cellular/framework/AT/ATHandler.h:99:60: error:
'events' has not been declared
Update all places to always include either "events/EventQueue.h"
or "ble/pal/EventQueue.h": to always find the correct header.
2019-02-21 17:59:05 +02:00
Martin Kojtal
dbd92c746b
Merge pull request #9387 from tymoteuszblochmobica/Sockets
...
Multihoming initial release
2019-02-21 13:50:03 +01:00
Cruz Monrreal
b088bd493a
Merge pull request #9759 from michalpasztamobica/memory_handling_fixes
...
Multiple memory handling fixes
2019-02-20 12:07:45 -06:00
Martin Kojtal
5ada4bf9af
Merge pull request #9746 from blind-owl/retire_cellularbase_class
...
Cellular: retire CellularBase class
2019-02-20 15:30:43 +01:00
Tymoteusz Bloch
641189c357
Multihoming change parameter orded in gethostbyname
2019-02-20 14:37:33 +02:00
Michal Paszta
fa6a3f5604
Multiple memory handling fixes
...
Based on valgrind reports running on unit tests following changes were introduced:
* TLSSocketWrapper frees allocated cert buffer in case of errors from mbedtls,
* nsapi_addr has a mem_init() function, initializing all of its memory during construction.
2019-02-20 14:15:57 +02:00
Jari Poyhonen
7a195ae227
Cellular: fix for binary compability requirement for CY8CKIT_062_4343W
2019-02-20 10:03:34 +02:00
Cruz Monrreal
e3bc37b4de
Merge pull request #9655 from mirelachirica/nonip_doxygen_updates
...
Cellular: Non-IP doxygen updates
2019-02-19 15:29:14 -06:00
Cruz Monrreal
feae56eea1
Merge pull request #9493 from RonEld/add_platform_initialization_in_trng_test
...
Initialize platform in trng test
2019-02-19 15:27:40 -06:00
Tymoteusz Bloch
49141376ee
Multihoming initial release
...
Added Multihoming feature to LWIP (ability to use more than one network interfaces) for increasing networking reliability.
This involves:
LWIP interface
LWIP IP routing
DNS storage
Sockets (bind to interface name possibility)
possibility to add non default network interface
cellular middleware modifications if cellular connection is used
2019-02-19 17:39:46 +02:00
Martin Kojtal
723236f855
Merge pull request #9307 from mtomczykmobica/ONME-3949
...
Configuration options for STM_EMAC buffer counts
2019-02-19 14:09:24 +01:00
Jari Poyhonen
b0c7c266c6
Cellular: add SPDX identifier
2019-02-19 10:42:04 +02:00
Marcin Tomczyk
a5f93e0b07
ONME-3949 Configuration options for STM_EMAC buffer counts
2019-02-19 08:18:18 +01:00
Jari Poyhonen
90c9a85397
Cellular: retire CellularBase class
...
It was decided to retire CellularBase class which served as a pure
virtual interface class from which Cellular network stack
implementations would get inherited. However, the current view is that
we may be the only user of it so we could retire CellularBase.
2019-02-18 11:50:43 +02:00
Ron Eldor
c94b5861e4
Add mbedtls platform setup and teardown to modules
...
Add calls to `mbedtls_platform_setup()`
and `mbedtls_platform_teardown()` to all modules and tests using Mbed TLS.
2019-02-18 11:43:32 +02:00
Mirela Chirica
57a93bbd0a
Cellular: Non-IP doxygen updates
2019-02-18 09:53:59 +02:00
Cruz Monrreal
3e6cd4e89d
Merge pull request #9501 from caixue1102/mbed-os-rda
...
Add WIFI support for RDA target UNO_91H
2019-02-12 20:05:27 -06:00
Cai
d92e33dcee
Add WIFI support for RDA target UNO_91H
2019-02-12 22:59:53 +08:00
Cruz Monrreal
92e1464024
Merge pull request #9584 from michalpasztamobica/tlssocket_would_block
...
TLSSocket send/recv return WOULD_BLOCK error instead of NO_CONNECTION
2019-02-11 18:45:50 -06:00
Martin Kojtal
10bb66a053
Merge pull request #9424 from SeppoTakalo/ONME-4125
...
Allows multiple network status listeners
2019-02-11 10:41:35 +01:00
Nir Sonnenschein
8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
...
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Michal Paszta
9db97247a2
TLSSocket returns WOULD_BLOCK error instead of ALREADY
...
In case mbedtls fails to execute handshake advertising
MBEDTLS_ERR_SSL_WANT_READ or MBEDTLS_ERR_SSL_WANT_WRITE,
TLSSocketWrapper::continue_handshake returns NSAPI_ERROR_WOULD_BLOCK.
2019-02-07 10:33:37 +02:00
Seppo Takalo
2744200cb7
Add NetworkInterface::attach() back, as it might be referred from binaries
2019-02-01 16:02:45 +02:00
Seppo Takalo
06aea98f99
Call "new" instead of no-throw version and the MBED_ERROR.
...
Standard new operator already calls MBED_ERROR in failure.
2019-01-31 15:21:12 +02:00
Seppo Takalo
9c98d1572b
Allow multiple network status listeners
...
Allow more than one callback to be register to NetworkInterfaces.
This introduces new APIs:
void NetworkInterface::add_event_listener(...);
void NetworkInterface::remove_event_listener(...);
Which internally calls interfaces attach() functions.
2019-01-31 15:04:24 +02:00
Ari Parkkila
47a8f24b1e
Cellular: Fix astyle
2019-01-31 04:15:01 -08:00
Martin Kojtal
a12ab30f98
Merge pull request #9414 from SeppoTakalo/ONME-4013
...
Clarify asynchronous Networkinterface::connect() and disconnect() API
2019-01-31 11:30:29 +01:00
Cruz Monrreal
f5730a91b2
Merge pull request #9474 from VeijoPesonen/fix-newlines_at_end-of-files
...
Fix newlines at end of files
2019-01-28 10:33:37 -06:00
Ari Parkkila
52ee61e1ae
Fix NetworkInterface::set_default_parameters binary compatibility
2019-01-28 03:27:10 -08:00
Jan Jongboom
ca987568d8
TCPSocket.cpp setting socket should terminate with semicolon
2019-01-24 14:25:34 -08:00
Veijo Pesonen
a6d4c6b609
L3IPInterface: make inheriting virtual explicit
2019-01-23 17:04:42 +02:00
Veijo Pesonen
9f3830aa72
Adds newlines to avoid compiler warnings
2019-01-23 16:43:32 +02:00
Michal Paszta
2cda5d28b8
Documentation of TLSSocket behavior on AUTH_FAILURE
2019-01-22 12:40:42 +01:00