Mika Leppänen
9e22354f63
Corrected json and added check to ensure that needed json options are set
2019-05-17 10:42:26 +03:00
Mika Leppänen
5fbbfee201
Added Wi-Sun certificate options to mesh api configuration json
...
Added possibility to configure Wi-Sun root certificate, own certificate
and own certificate keys to mesh api.
2019-05-16 15:04:03 +03:00
Anna Bridge
f28b82b831
Merge pull request #10475 from kivaisan/ns_eventloop_tick_timer
...
Implement nanostack eventloop tick timer
2019-04-26 13:38:17 +01:00
Anna Bridge
1647282de9
Merge pull request #10462 from michalpasztamobica/nanostack_semaphore_release_connecting
...
Nanostack: release connect_semaphore only when it is pending
2019-04-26 13:37:53 +01:00
Anna Bridge
016ce322b4
Merge pull request #10434 from michalpasztamobica/nanostack_network_handler_fix
...
Nanostack network handle does not always call status cb for BOOTSTRAP events
2019-04-26 13:33:46 +01:00
Anna Bridge
9f18456114
Merge pull request #10410 from michalpasztamobica/nanostack_translate_sendmsg_errors
...
Nanostack: translate errors from sendmsg
2019-04-26 13:32:59 +01:00
Anna Bridge
b1cd3dab16
Merge pull request #10258 from davidsaada/david_remove_feature_storage
...
Remove FEATURE_STORAGE and all underlying deprecated features
2019-04-26 13:31:37 +01:00
Kimmo Vaisanen
7349bc8a47
Implement nanostack eventloop tick timer
...
Nanostack eventloop tick timer can be used in case high resolution
platform timer is not needed. One usecase for that is Pelion
Cloud client when using for example cellular connectivity. This enables
PDMC application to enter deep sleep state.
2019-04-25 12:01:52 +03:00
Michal Paszta
2b26a62cc7
Nanostack: release connect_semaphore only when it is pending
...
Only release if the current _connect_status is CONNECTING. If the semaphore is released many times for each connect, then the next connect will not wait(), as it will be able to decrement the semaphore imediatelly.
2019-04-24 11:31:16 +03:00
Michal Paszta
8d1edc7db8
Nanostack network handle does not always call status cb for BOOTSTRAP events
...
UBLOX_EVK_ODIN_W2 advertises more events than we expect.
1) When disconnecting first network connectivity is lost and then an
actual disconnection event arrives. The first one is unexpected.
2) When reconnecting MESH_BOOTSTRAP_START_FAILED shows up, but the board
eventually manages to connect
2019-04-17 19:31:36 +03:00
Kevin Bracey
69c6cc341b
Networking: Fix some ARMC6 warnings
...
Some int-versus-long and signed-versus-unsigned format string
mismatches, and missing `class` keyword.
2019-04-17 16:03:44 +03:00
Michal Paszta
d1d0118752
Nanostack: translate errors from sendmsg
...
Translate errors to NSAPI_ERROR_*, instead of always returning
NSAPI_ERROR_DEVICE_ERROR
2019-04-16 15:03:50 +03:00
Martin Kojtal
801e555121
Merge pull request #9981 from janjongboom/patch-8
...
test_soap_connection_handler leaks memory when open_connection fails
2019-04-08 10:39:56 +02:00
Cruz Monrreal
9c381f27ec
Merge pull request #10243 from michalpasztamobica/nanostack_bringdown_blocking
...
Nanostack::EthernetInterface::bringdown() can handle blocking mode
2019-03-29 10:20:47 -05:00
Cruz Monrreal
cd8d362899
Merge pull request #10231 from artokin/nanostack_armc6_update
...
Nanostack ARMC6 update
2019-03-28 17:07:32 -05:00
Cruz Monrreal
48c78ae79a
Merge pull request #9971 from KariHaapalehto/status_callback
...
Correct thread status callback functionality
2019-03-28 17:05:34 -05:00
David Saada
732dd36c90
Remove FEATURE_STORAGE and all underlying deprecated features
2019-03-28 23:10:05 +02:00
Michal Paszta
ccc83f7e3b
Nanostack::EthernetInterface::bringdown() can handle blocking mode
...
This let the tests-network-interface test pass for nanostack.
2019-03-27 16:34:46 +02:00
Arto Kinnunen
adedd05139
Fix compiler warnings in Nanostack HAL
...
Fix compiler warnings:
-"warning: 'size' argument to memset is '0'"
-"warning: implicit declaration of function"
2019-03-26 13:19:33 +02:00
Arto Kinnunen
f348325dbd
Squashed 'features/nanostack/coap-service/' changes from 227cc3d..086e7ba
...
086e7ba Adjust variable scope (#121 )
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 086e7ba8a1afdcfe3df16ae92ef28cae1af5a4a6
2019-03-26 13:19:18 +02:00
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
Kari Haapalehto
d9448364da
Correct thread status callback functionality.
...
At the start-up, there was 2 NSAPI_STATUS_CONNECTING callbacks,
so extra one removed from ThreadInterface.cpp.
At the network lost case, there was NSAPI_STATUS_DISCONNECTED and
NSAPI_STATUS_LOCAL_UP callbacks. NSAPI_STATUS_DISCONNECTED has been removed,
since the NSAPI_STATUS_LOCAL_UP is enought.
2019-03-12 13:13:55 +02: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
Jan Jongboom
3e4010748c
test_soap_connection_handler leaks memory when open_connection fails
...
sckt_data is not free'd when `coap_connection_handler_open_connection` fails.
2019-03-07 16:27:59 +01: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