Commit Graph

251 Commits (23cd1aa083cc099ce3ce2a0a024da3578d711204)

Author SHA1 Message Date
Cruz Monrreal b433b16a11
Merge pull request #10014 from artokin/nanostack_interface_error_mapping
Update nanostack-interface error mapping
2019-03-16 22:58:24 -05: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 4cf7864bb5 Merge branch 'wisun_network_default_name' of https://github.com/artokin/mbed-os into rollup 2019-03-15 08:45:57 +00:00
Arto Kinnunen f0d7e205ff Update nanostack-interface error mapping
Use status NSAPI_ERROR_PARAMETER instead of NSAPI_ERROR_UNSUPPORTED
when error is caused by parameter.
2019-03-08 16:28:20 +02:00
Arto Kinnunen e92e7b9a88 Merge commit 'fbef0d8e70234611e131a94c4f4e97bd99634548'
* commit 'fbef0d8e70234611e131a94c4f4e97bd99634548':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 76da6a5..84a07ce
2019-03-07 17:26:32 +02:00
Arto Kinnunen 7ec9be6a6d Update Wi-SUN network default name 2019-03-04 10:07:31 +02:00
Arto Kinnunen 5486a38527 Merge commit 'b182455f1947ff8fa48f37ad5fde17d89d67efa5'
* commit 'b182455f1947ff8fa48f37ad5fde17d89d67efa5':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2cd155b..76da6a5
2019-02-27 11:02:44 +02:00
Arto Kinnunen 650f9d9887 Merge commit '514ed9930160b041a598b922a3b69789e2fb6fcf'
* commit '514ed9930160b041a598b922a3b69789e2fb6fcf':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from c5ee9e4..2cd155b
2019-02-26 11:04:54 +02:00
Arto Kinnunen 9784e93ae0 Merge commit '7a7888227901179597fffc163a23dd15c8d055a9'
* commit '7a7888227901179597fffc163a23dd15c8d055a9':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from b8b664b..7745556
2019-02-25 15:53:04 +02:00
Arto Kinnunen b68e5edbc7 Merge commit '780e9afb8f3b8f09e66573e7d4ba096dd9a87dd7'
Nanostack v10.1.0 for Mbed OS 5.12

* commit '780e9afb8f3b8f09e66573e7d4ba096dd9a87dd7':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 513a38e..c5ee9e4
2019-02-25 14:24:47 +02:00
Arto Kinnunen 433ab3e843 Merge commit 'e046a96f8bd369720d4bf65dd4441ad19ebe22e7'
* commit 'e046a96f8bd369720d4bf65dd4441ad19ebe22e7':
  Squashed 'features/nanostack/coap-service/' changes from c45afcd..227cc3d
2019-02-25 13:40:37 +02:00
Arto Kinnunen 220470c577 Merge commit '99c2f61463ded19baa49346f6210f9eb3e62161f'
* commit '99c2f61463ded19baa49346f6210f9eb3e62161f':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 778c4db..b8b664b
2019-02-25 12:56:24 +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
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
Arto Kinnunen 932b3a2938 Update Nanostack_HAL licenses and copyright year
-Add Apache License to files that were missing a licence
-Update copyright year
2019-02-19 12:53:38 +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
Cruz Monrreal 39441655bf
Merge pull request #9684 from KariHaapalehto/ethernet_tasklet_correction
enet_tasklet_disconnect() should generate event to tasklet.
2019-02-14 09:13:15 -06:00
Cruz Monrreal b66678d6d7
Merge pull request #9696 from naveenkaje/thread_extn_warning_fix
features: nanostack: fix warning in thread_extension.h
2019-02-13 18:29:53 -06:00
Cruz Monrreal 9be82d96d8
Merge pull request #9694 from naveenkaje/fix_icmpv6_warning
nanostack: icmpv6: fix build warning
2019-02-13 18:29:33 -06:00
Cruz Monrreal b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Naveen Kaje 1f015aa0b7 features: nanostack: fix warning in thread_extension.h
Fix the following build warning seen with GCC

Compile [ 51.2%]: thread_bootstrap.c
[Warning] thread_extension.h@88,44: statement with no effect [-Wunused-value]
2019-02-13 10:48:33 -06:00
Naveen Kaje 8d0c94e8dc nanostack: icmpv6: fix build warning
Fix the following build warning seen when building with GCC

Compile [ 54.2%]: icmpv6.c
[Warning] icmpv6.c@1091,16: this statement may fall through [-Wimplicit-fallthrough=]
2019-02-13 10:34:51 -06:00
Kari Haapalehto 31c40130d6 enet_tasklet_disconnect() should generate event to tasklet.
enet_tasklet_disconnect() is now generating event to ethernet_tasklet,
which will then handle it.
2019-02-13 13:57:03 +02:00
Jimmy Brisson 724487d545 Require dependencies from nanostack mbed_lib.json 2019-02-07 09:39:10 -06:00
Oren Cohen 32463d64dc Add missing mbed_lib.json for frameworks and nanostack
* mbed-client-randlib
* nanostack-libservice
* coap-service
* nanostack-interface
2019-02-07 09:25:14 -06:00
Oren Cohen 94c17549dc Fix nanostack libs 2019-02-07 09:23:52 -06:00
Jarkko Paso 17e4e287de FHSS timer: Use singleton pointer with timer objects
This is to save statically allocated memory. Without SingletonPtr the timer objects would always be included in build.
2019-02-04 12:13:29 +02:00
Martin Kojtal 272bc14cde
Merge pull request #9546 from jarlamsa/mesh_api_fixes
Mesh api fixes
2019-01-31 11:19:55 +01:00
Michal Paszta 53a82faa5a Prevent double attempt to connect mesh api
Socket network interface tests were failing due to DICONNECTED event
being advertised, where GLOBAL_UP was expected. It turned out that
nanostack receives two events: APPL_EVENT_CONNECT and
APPL_BACKHAUL_INTERFACE_PHY_UP. The second attempt to connect obviously
returns errors, but it also causes events to be sent out to the
application. The second attempt should not take place in case the
bootstrap is already started.

I also fixed two reports being sent with DISCONNECT status, while they
are actually something else.
2019-01-30 15:08:11 +02:00
Jarno Lamsa 740488d061 Set tasklet parameters before connecting
Set tasklet parameters before connecting to prevent the parameters to be set to 0.
The tasklet parameters are reset to 0 when wisun_tasklet_connect gets called,
thus those need to be set in the wisun_tasklet_configure_and_connect_to_network
before they are used. This is also done this way in other tasklets.
2019-01-30 13:06:17 +02:00
Jarno Lamsa d7af9418da Remove yotta-specific lines from .gitignore 2019-01-30 13:04:08 +02:00
Jimmy Brisson 06ea053419 Minor fixes 2019-01-25 09:42:47 -06:00
Brian Daniels ee5281abef Remove unused yotta module metadata 2019-01-24 15:30:20 -06:00
Cruz Monrreal 74f572356d
Merge pull request #9335 from naveenkaje/fix_thred_mle_warning
thread_mle_message_handler: fix build warning
2019-01-17 21:51:37 -06:00
Jimmy Brisson e201fdb6e9 Add placeholder libraries for things we probably refer to as libraries 2019-01-16 14:58:58 -06:00
Naveen Kaje ef8589888b thread_mle_message_handler: fix build warning
Fix the following build warning found when building with

ARMC6 toolchain for NRF52_DK with mbed cli version 1.8.3

[Warning] thread_mle_message_handler.c@762,0:  #188-D: enumerated type mixed with another type
[Warning] thread_mle_message_handler.c@834,0:  #188-D: enumerated type mixed with another type
2019-01-10 07:47:31 -06:00
Mahesh Mahadevan 585a4b6ddd Add nanostack support for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-09 07:43:41 -06:00
Kari Haapalehto 7068e456dd Correcting the error-case trace from mesh-api interfaces 2019-01-07 10:48:46 +02:00
Antti Kauppila bc76c2a2f5 36510 test build fixed 2019-01-03 19:53:17 +02:00
Antti Kauppila 02b0f79e15 mbed.h includes removed 2018-12-28 14:36:10 +02:00
Cruz Monrreal 8bd9772d5d
Merge pull request #8975 from KariHaapalehto/fix_valid_mac_address
Initialize the interface at the construction
2018-12-18 13:22:30 -06:00
Alastair D'Silva d527585394 Align prototype & implementation of enet_tasklet_disconnect & friends
Rework of #8698

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-14 22:19:39 +11:00
Mel W 8de7a36061
Capitalization and punctuation 2018-12-12 11:38:10 +02:00
Kari Haapalehto 7e7af773ea Modify enet_tasklet.h
Change enet_tasklet_network_init() and enet_tasklet_disconnect()
declarations to match code. Also add document enet_tasklet.h functions
2018-12-10 15:49:47 +02:00
Kari Haapalehto f7de4a4a0f Initialize the interface at the construction and make sure
that it's done only once.
2018-12-05 14:44:27 +02:00
Kari Haapalehto 6d8320fd8c Coverity fixes.
These issues has been found by coverity.
2018-12-04 15:32:02 +02:00
Martin Kojtal bf36ff77c1
Merge pull request #8855 from michalpasztamobica/warnings_fix
Fix compilation warnings (apart from nanostack)
2018-12-03 13:31:55 +01:00
Cruz Monrreal 92a0e48435
Merge pull request #8817 from KariHaapalehto/ethernet_cable_status_callback_correction
Correct network status callbacks with ethernet and nanostack
2018-11-30 17:55:15 -06:00
Michal Paszta e101943cce Fix compilation warnings (apart from nanostack) 2018-11-26 14:27:48 +01:00
Martin Kojtal 95b1e75202 Merge branch 'dtls' of https://github.com/SeppoTakalo/mbed-os into dev_rollup 2018-11-23 18:36:55 +00:00