Martin Kojtal
f2b0cdac6d
Merge pull request #12895 from mikaleppanen/ns_kv_store_5_15
...
Added kv store adaptation to nanostack file interface (Mbed OS 5.15)
2020-06-08 09:04:58 +02:00
Martin Kojtal
a3fdbc7944
Merge pull request #12894 from mikaleppanen/fea_wisun_nanostack_device_type_config_5_15
...
Nanostack: Add config for Wi-SUN device type (Mbed OS 5.15)
2020-06-08 09:04:37 +02:00
Martin Kojtal
014c926c3b
Merge pull request #12892 from mikaleppanen/new_wisun_conf_param_5_15
...
Add new configuration parameters to Wi-SUN network interface and Border Router class (Mbed OS 5.15)
2020-06-08 08:59:02 +02:00
Martin Kojtal
2d20bb16e6
Merge pull request #12882 from artokin/backport_pr_12522
...
[Mbed OS 5.15] Add getsockopt option to read network property
2020-06-08 08:58:02 +02:00
Mika Tervonen
bd00cf19e9
Allowed to set Wi-SUN certificates in DISCONNECTED state
...
Before certificates were able to set only once.
Now after disconnect those can be set Again
Also those can be set when stack is active
2020-06-05 12:49:50 +03:00
Arto Kinnunen
314eb7a586
Merge commit '1687b4aa4f8e24dffa1b019757c081da48bf526d' into feature-wisun
...
* commit '1687b4aa4f8e24dffa1b019757c081da48bf526d':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..9a2166869f
2020-05-11 11:42:39 +03:00
Juha Heiskanen
e1c9c586d9
Add possibility to configure Mesh MAC neighbourtable size.
...
Accepted values are 5-255. MAC neighbour table size is limited to 8-bit number so thats why 255 is max value.
2020-05-06 14:30:05 +03:00
Juha Heiskanen
fe26e15c52
Add possibility to configure Mesh MAC neighbourtable size.
...
Accepted values are 5-255. MAC neighbour table size is limited to 8-bit number so thats why 255 is max value.
2020-05-06 11:07:28 +03:00
Arto Kinnunen
8d61f3ba46
Merge pull request #12883 from artokin/feature_wisun_backport_12522
...
[feature-wisun] Add getsockopt option to read network property
2020-05-05 13:07:24 +03:00
Mika Leppänen
50ea32e6a2
Added kv store adaptation to nanostack file interface
2020-04-30 09:56:51 +03:00
Arto Kinnunen
f5bd0a521b
Nanostack: Add config for Wi-SUN device type
...
Add configuration option for Wi-SUN device types.
2020-04-30 09:44:21 +03:00
Mika Leppänen
754861d201
Added Wi-SUN Border Router class
2020-04-30 09:12:45 +03:00
Mika Leppänen
3ad3ebef85
Added new configuration parameters to Wi-SUN interface
2020-04-30 09:12:25 +03:00
Arto Kinnunen
35d28d4aa5
Merge pull request #12657 from mikaleppanen/new_wisun_conf_param
...
Added new configuration parameters to Wi-SUN network interface and Border Router class
2020-04-29 16:16:30 +03:00
Arto Kinnunen
4d8af9f333
Add getsockopt option to read network property
...
Add getsockopt options NSAPI_LATENCY and NSAPI_STAGGER to read
network specific timing constraints from socket.
-NS_LATENCY returns estimated latency to given address.
-NSAPI_STAGGER returns estimated initial delay that application
should wait before transmitting data to network.
Application can use the new options to avoid network congestion by
adjusting transmission delays and retry timeouts.
Add wrappers to make API usage easier:
-get_rtt_estimate_to_address
-get_stagger_estimate_to_address
This is backport of the https://github.com/ARMmbed/mbed-os/pull/12522
2020-04-29 13:20:42 +03:00
Arto Kinnunen
77f268e681
Add getsockopt option to read network property
...
Add getsockopt options NSAPI_LATENCY and NSAPI_STAGGER to read
network specific timing constraints from socket.
-NS_LATENCY returns estimated latency to given address.
-NSAPI_STAGGER returns estimated initial delay that application
should wait before transmitting data to network.
Application can use the new options to avoid network congestion by
adjusting transmission delays and retry timeouts.
Add wrappers to make API usage easier:
-get_rtt_estimate_to_address
-get_stagger_estimate_to_address
This is backport of the https://github.com/ARMmbed/mbed-os/pull/12522
2020-04-29 10:02:15 +03:00
Mika Leppänen
92704874cc
Added kv store adaptation to nanostack file interface
2020-04-28 16:04:46 +03:00
Mika Leppänen
7709193140
Added Wi-SUN Border Router class
2020-04-27 09:43:22 +03:00
Mika Leppänen
6219d75e64
Added new configuration parameters to Wi-SUN interface
2020-04-27 09:17:40 +03:00
Arto Kinnunen
1317bf6df7
Merge commit '8696907765975bba8cb098c2772c89198c71a783' into feature-wisun
...
* commit '8696907765975bba8cb098c2772c89198c71a783':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..cc03296c27
2020-04-16 14:23:56 +03:00
Arto Kinnunen
199407f4d4
Squashed 'features/nanostack/coap-service/' changes from e5e0c138e6..5aa54b8e62
...
5aa54b8e62 Merge pull request #127 from ARMmbed/sync_with_mbedos
6fe78412d2 Follow Mbed OS coding style
2b708be451 trace group defiined for shared_rng
d4c2caca41 more error handling added for ctr and hmac
cace1e9c22 Added missing optimizations based on mbedtls/baremetal.h config
2cc7442ba5 Added new global rng, needed for MbedTLS optimisations
f861157576 Prepare for upcoming MbedTLS changes
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 5aa54b8e622ec2b44bdf323cc02bd1cfc5ffd904
2020-04-16 13:08:27 +03:00
Arto Kinnunen
190eb9acfb
Merge remote-tracking branch 'upstream/mbed-os-5.15' into feature-wisun
...
* upstream/mbed-os-5.15: (45 commits)
Revert "Backport #12603 : Add CYSBSYSKIT_01"
Update STM32 EMAC driver based on review
Update STM32 EMAC driver - limit RX frame length
WHD: Remove an assert from get_rssi()
crypto: Use updated ECC curve macros
crypto: Update the service for Mbed Crypto 3.x
crypto: Upgrade to Mbed Crypto 3.1.0
tls: Upgrade to Mbed TLS 2.20.0
Backport #12701 : Custom BT Firmware for CYW9P62S1_43012EVB_01
Backport #12603 : Add CYSBSYSKIT_01
Backport #12492 : Update psoc6cm0p to version 1.1.1.
Backport #12422 : Cypress Asset Update
Backport #12421 : Cypress target reorganization
Backport #12394 : Fix Cypress 1M SDIO + other minor bugs
Backport #12097 : Cypress: Fix IAR Warnings
Backport #12052 : Fix for ARM issue 11859.
Backport #12038 : Remove qspi_frequency() call.
Backport #12019 : rework cypress lptimer hal
Cellular: ALT1250 PPP cellular driver for mbed-os 5.15
RZ_A1H and GR_LYCHEE: Enable bootloader support (Mbed OS 5.15)
...
2020-04-16 13:03:48 +03:00
Arto Kinnunen
bbf2db37c9
Merge commit 'd104328f556c60ee09bb316ffc700ba8f1deca19' into mbed-os-5.15
...
* commit 'd104328f556c60ee09bb316ffc700ba8f1deca19':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..cc03296c27
2020-04-16 11:43:53 +03:00
Arto Kinnunen
9f3c053626
Merge commit '4daaaf126d9dfbfcbe638753573139d95442da1f' into mbed-os-5.15
...
* commit '4daaaf126d9dfbfcbe638753573139d95442da1f':
Squashed 'features/nanostack/coap-service/' changes from e5e0c138e6..5aa54b8e62
2020-04-16 11:42:16 +03:00
Mika Leppänen
f28b8cbdf0
Added Wi-SUN statistics interface
...
Added network and MAC statistics to Wi-SUN interface.
2020-04-14 10:04:44 +03:00
Martin Kojtal
9929ddd038
Merge pull request #12723 from AnttiKauppila/mbedtls_fixes5.15
...
Mbedtls fixes for 5.15.2
2020-04-08 08:57:12 +02:00
Antti Kauppila
5bdc7314f4
more error handling added for ctr and hmac
2020-03-31 16:04:54 +03:00
Antti Kauppila
3dbe97b8cb
MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib
2020-03-31 08:26:46 +03:00
Antti Kauppila
af12d0642b
trace group defiined for shared_rng
...
Unittests fixed
2 mbedtls functions were updated to reflect the api
2020-03-31 08:26:35 +03:00
Teppo Järvelin
377e363059
Added missing optimizations based on mbedtls/baremetal.h config
2020-03-31 08:26:11 +03:00
Teppo Järvelin
163e5c90e3
Added new global rng, needed for MbedTLS optimisations
2020-03-31 08:25:47 +03:00
Teppo Järvelin
a325320c47
Prepare for upcoming MbedTLS changes
2020-03-31 08:25:05 +03:00
Arto Kinnunen
0051c0ee74
Nanostack: Add config for Wi-SUN device type
...
Add configuration option for Wi-SUN device types.
2020-03-19 17:02:47 +02:00
Arto Kinnunen
a237e58aa1
Merge commit '02e9af5a29789203f54f3c0d5dc91512f3a85e92' into feature-wisun
...
* commit '02e9af5a29789203f54f3c0d5dc91512f3a85e92':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-26 13:23:21 +02:00
Arto Kinnunen
526f19d718
Merge commit '0a23c6b5960a3169530cd67643462151d1d715fe' into feature-wisun
...
* commit '0a23c6b5960a3169530cd67643462151d1d715fe':
Squashed 'features/nanostack/coap-service/' changes from b919a3366f..e5e0c138e6
2020-02-26 13:22:26 +02:00
Arto Kinnunen
b1a86dc776
Merge commit '2792e61d87df13c64d8abaf30ccde13b6f75eeda' into nanostack_for_mbedos_5_15
...
* commit '2792e61d87df13c64d8abaf30ccde13b6f75eeda':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-21 11:01:00 +02:00
Arto Kinnunen
c8d1b3b51b
Merge commit 'c9610e1a78b2b94fb659539b30d7fb4e0f1e36c8' into nanostack_for_mbedos_5_15
...
* commit 'c9610e1a78b2b94fb659539b30d7fb4e0f1e36c8':
Squashed 'features/nanostack/coap-service/' changes from b919a3366f..e5e0c138e6
2020-02-21 10:59:22 +02:00
Martin Kojtal
9f34b255be
Merge pull request #11958 from mikaleppanen/ws_rf_ch_conf
...
Add support for Wi-SUN RF channel configuration
2019-11-29 09:47:05 +01:00
Michal Paszta
ea04c4f85e
Remove internal usage of deprecated APIs in IPCore
...
Updated:
* netsocket classes,
* unittests, stubs and mocks,
* greentea tests
2019-11-27 20:02:20 +02:00
Mika Leppänen
2a908b51ff
Added support for Wi-SUN RF channel configuration
...
Added support to Wi-SUN tasklet for following mbed-mesh-api .json configuration options:
wisun-uc-channel-function
wisun-bc-channel-function
wisun-uc-fixed-channel
wisun-bc-fixed-channel
wisun-bc-interval
wisun-bc-dwell-interval
wisun-uc-dwell-interval
This allows e.g. enabling single channel configuration for testing.
This pull request does not change existing functionality since when
defaults from mbed-mesh-api .json are used, no new or changed
ws_management_* interface calls are made.
2019-11-27 14:04:25 +02:00
Martin Kojtal
38a8c0e28f
Merge pull request #11914 from michalpasztamobica/refactor_string_based_apis
...
Deprecate string-based APIs in IPCore
2019-11-22 12:00:56 +01:00
Michal Paszta
fd5b4b9119
Deprecate string-based APIs in IPCore
...
MBED_DEPRECATE macros is added to string-based APIs.
New, non-string-based APIs are added in their place.
Wiced binaries rebuilt
Any existing stubs or mocks are adjusted to compile and run with the newly added non-string based functions.
2019-11-22 11:31:12 +02:00
Jarkko Paso
79f8355334
Fixed compilation warnings
2019-11-19 15:15:12 +02:00
Jarkko Paso
12d4497ab7
Merge commit '0b6ccc5816e44df9fe89c476514cb7043dfb483b'
...
* commit '0b6ccc5816e44df9fe89c476514cb7043dfb483b':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0824752..9b3e144
2019-11-18 15:08:32 +02:00
Martin Kojtal
9e87200809
Merge pull request #11556 from mikter/master
...
modified Wi-SUN tasklet to return success when calling connect twice
2019-10-18 16:07:25 +02:00
Mika Leppänen
3c39dbd737
Corrected nanostack PAE controller
2019-10-15 09:53:36 +03:00
Martin Kojtal
57c4a08e48
Merge pull request #11539 from mikaleppanen/cert_key_len_supp
...
Enable DER coded certificate support to Wi-SUN mesh API
2019-10-15 13:05:23 +08:00
Anna Bridge
917d982913
Merge pull request #11639 from JarkkoPaso/nanostack_release_for_mbedos_5_14_1
...
Nanostack patch release for mbedos 5.14.1
2019-10-11 10:59:16 +01:00
Jarkko Paso
4cab344c59
Merge commit 'ffb05c770964013a9f1ee9fb89d25e9fd09e886d'
...
* commit 'ffb05c770964013a9f1ee9fb89d25e9fd09e886d':
Squashed 'features/nanostack/coap-service/' changes from e9edb1b..b919a33
2019-10-07 13:08:20 +03:00
Jarkko Paso
c15478021b
Merge commit '3e6cb31659a56d343c7b8fe37645f195eb87ffcf'
...
* commit '3e6cb31659a56d343c7b8fe37645f195eb87ffcf':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from c473148..0824752
2019-10-07 13:00:49 +03:00
Mika Tervonen
86e3a5a021
Modified Wi-SUN tasklet to return correct status when calling connect twice
...
When calling mesh connect method twice NSAPI_ERROR_IS_CONNECTED is returned
instead of NSAPI_ERROR_DEVICE_ERROR Following the mesh API documentation.
2019-09-30 14:15:14 +03:00
int_szyk
a60df639fe
thread_mle_message_handler: fix null comparison.
...
Fixes Coverity issue about comparing nullptr.
2019-09-24 12:53:53 +02:00
Mika Leppänen
47e5dd74e2
Enabled DER coded certificate support to Wi-SUN mesh API
...
Wi-SUN mesh API uses now nanostack certificate interface with length parameters.
This enables that either PEM or DER formatted certificates can be used. Using
the length configuration for certificates and keys is optional, so existing
applications using the PEM certificates do not require changes.
2019-09-20 13:15:28 +03:00
Jaeden Amero
60f383e01f
tls: Update export keys callback to use const
...
Mbed TLS's export keys callback requires the hello.random (for both
server and client) to be const. Make the callbacks in Mbed OS that use
the key export feature use const to match.
2019-09-17 12:57:05 +01:00
Jarkko Paso
4ebbbc592d
Merge commit '396dae52ab4eef15910011432f2c7a4261fc22b7'
...
* commit '396dae52ab4eef15910011432f2c7a4261fc22b7':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 4a19dc4..c473148
2019-09-05 14:28:22 +03:00
Jarkko Paso
da0fe81bfd
Mesh API, Wi-SUN: Initialize Wi-SUN settings with values from json
2019-09-04 15:53:21 +03:00
Martin Kojtal
d6304e322c
Merge pull request #11181 from artokin/mbed_wisun_api_update
...
mbed-mesh-api: Add new API for Wi-SUN configuration
2019-08-28 13:50:13 +02:00
Martin Kojtal
a6372e521c
Merge pull request #11345 from yogpan01/fix-bare-metal-pdmc
...
Fix bare-metal configuration to support Pelion Device Management Client
2019-08-28 13:07:36 +02:00
Arto Kinnunen
f8289ec0ac
mbed-mesh-api: Add API set_file_system_root_path
2019-08-28 09:34:30 +03:00
Arto Kinnunen
774162dd83
mbed-mesh-api: Add new Wi-SUN certificate API
...
Add new API for setting Wi-SUN:
-Setting own/trusted certificates
-Removing own/trusted certificates
2019-08-28 09:34:30 +03:00
Arto Kinnunen
c0f3cb7568
mbed-mesh-api: Add new Wi-SUN API
...
Add new API for setting Wi-SUN:
-network name
-regulatory domain, operating mode and operating class
2019-08-28 09:34:30 +03:00
Yogesh Pande
6edab0e13a
Fix to use correct build flag MBED_CONF_NANOSTACK_CONFIGURATION
...
The bare-metal configuration should be using MBED_CONF_NANOSTACK_CONFIGURATION
instead of MBED_CONF_NANOSTACK_CONFIG.
Fixing the typo for flagging.
2019-08-27 17:20:40 +03:00
Yogesh Pande
076deeb4a9
Bare metal support for running PDMC
...
PDMC requires event loop to also support bare metal configuration.
It requires to adapt eventloop for bare-metal configuration.
2019-08-27 13:09:56 +03:00
Jarkko Paso
2bcb1a6c9d
Merge commit '7c99079717dd610f0674f6cf38a77af14f987dc6'
...
* commit '7c99079717dd610f0674f6cf38a77af14f987dc6':
Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 7745556..276ff28
2019-08-26 15:46:10 +03:00
Jarkko Paso
b0f3ff2156
Merge commit '928754fbc507c71890fa69fbd9cd20ab37f1d2a6'
...
* commit '928754fbc507c71890fa69fbd9cd20ab37f1d2a6':
Squashed 'features/nanostack/coap-service/' changes from 3b447d2..e9edb1b
2019-08-26 15:21:38 +03:00
Jarkko Paso
00bf399628
Merge commit 'b7910939daa15a8e658dbc58bccaeb3bb101d338'
...
* commit 'b7910939daa15a8e658dbc58bccaeb3bb101d338':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 3c7d50e..4a19dc4
2019-08-26 15:13:00 +03:00
Martin Kojtal
cf6fbda971
Merge pull request #11250 from JarkkoPaso/master
...
hal fhss timer: removed unnecessary and potentially unsafe memset
2019-08-23 10:19:20 +02:00
Martin Kojtal
edcde1ce8c
Merge pull request #10796 from NXPmicro/tickless
...
NXP: Enable MBED_TICKLESS on various NXP platforms
2019-08-22 10:30:14 +02:00
Mika Leppänen
ab3a4699c9
Added missing header to wisun interface
2019-08-20 13:37:12 +03:00
Mika Leppänen
a2df462f65
Nanostack changes for PPP service
...
Created PPP interface for PPP service. Re-used the ethernet tasklet
and PHY driver structure for PPP.
2019-08-20 13:37:12 +03:00
Jarkko Paso
2aacb1c527
hal fhss timer: all static functions inside anonymous namespace
2019-08-19 13:20:46 +03:00
Jarkko Paso
3e9d7b3598
hal fhss timer: removed unnecessary and potentially unsafe memset
2019-08-16 11:46:10 +03:00
Mahesh Mahadevan
9ebbdbf1bb
MCUXpresso: Update KW41 nanostack drivers to not enter deep sleep when active
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-12 10:57:11 -05:00
Arto Kinnunen
d902c1a135
Merge commit 'c51a57a0334645b14794f6082737b11d8b8c56db' into prepare_for_mbedos_5_13_3
...
* commit 'c51a57a0334645b14794f6082737b11d8b8c56db':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0345477..3c7d50e
2019-08-02 13:52:37 +03:00
Arto Kinnunen
dac37a8994
Merge commit '489fa3adeb46ef38d46db4339dfe8935c9444b02' into prepare_for_mbedos_5_13_3
...
* commit '489fa3adeb46ef38d46db4339dfe8935c9444b02':
Squashed 'features/nanostack/coap-service/' changes from 3c79829..3b447d2
2019-08-02 13:51:07 +03:00
Kevin Bracey
0bb4c050b7
SingletonPtr: API extensions, make constexpr
...
* Adjust definition to make the default constructor `constexpr`.
This permits use in classes that want lazy initialization and their
own `constexpr` constructor, such as `mstd::mutex`.
* Add `get_no_init()` method to allow an explicit optimisation for
paths that know they won be the first call (such as
`mstd::mutex::unlock`).
* Add `destroy()` method to permit destruction of the contained object.
(`SingletonPtr`'s destructor does not call its destructor - a cheat
to omit destructors of static objects). Needed if using in a class
that needs proper destruction.
2019-07-18 20:02:04 +03:00
Tero Jääskö
14bb4399b3
nanostack: silence compiler warnings for implicit virtual call_in
...
ARMCC reminds of the missing virtual declaration of call_in in the
Nanostack.h.
Warnings silenced:
---8<---8<---
Compile [ 52.3%]: LoWPANNDInterface.cpp
[Warning] Nanostack.h@278,0: #1300-D: call_in inherits implicit virtual
Compile [ 52.4%]: NanostackEMACInterface.cpp
[Warning] Nanostack.h@278,0: #1300-D: call_in inherits implicit virtual
Compile [ 52.5%]: MeshInterfaceNanostack.cpp
[Warning] Nanostack.h@278,0: #1300-D: call_in inherits implicit virtual
Compile [ 52.6%]: NanostackEthernetInterface.cpp
[Warning] Nanostack.h@278,0: #1300-D: call_in inherits implicit virtual
Compile [ 52.7%]: ThreadInterface.cpp
[Warning] Nanostack.h@278,0: #1300-D: call_in inherits implicit virtual
ompile [ 53.0%]: WisunInterface.cpp
[Warning] Nanostack.h@278,0: #1300-D: call_in inherits implicit virtual
2019-06-26 16:55:10 +03:00
Kevin Bracey
2fbbd9d2ca
Introduce Semaphore::acquire methods
...
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().
Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".
Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
Martin Kojtal
b2abfc3529
Merge pull request #10624 from artokin/prepare_for_mbedos513
...
Nanostack release for Mbed OS 5.13
2019-05-23 11:16:56 +01:00
Arto Kinnunen
07aac7b911
Merge commit '1c29564f653e93a2bda270b257c9bb239de9b61e' into prepare_for_mbedos513
...
* commit '1c29564f653e93a2bda270b257c9bb239de9b61e':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 84a07ce..0345477
2019-05-21 14:22:20 +03:00
Arto Kinnunen
a24db795a5
Squashed 'features/nanostack/coap-service/' changes from 086e7ba..3c79829
...
3c79829 Merge pull request #122 from ARMmbed/sync_with_mbedOS
5dd3ab9 (via Mbed OS) test_soap_connection_handler leaks memory when open_connection fails
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 3c79829ee3bb2bf7d9308a88f2b5c3596f6fea4b
2019-05-21 14:21:19 +03:00
Arto Kinnunen
9687f59555
Update mesh related configuration help texts
...
-Update mbed-mesh-api nanostack heap-size configuration help
-Add WISUN to netsocket default-mesh-type configuration help
2019-05-20 13:29:53 +03:00
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
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
Martin Kojtal
f1f64266c0
Merge pull request #8600 from KariHaapalehto/wisuninterface_created
...
Wi-SUN interface implementation.
2018-11-22 10:55:58 +01:00
Kari Haapalehto
26beb983d4
Correct network status callbacks with Nanostack.
...
Ethernet-tasklet needs to be registered for emac link state changes.
Ethernet-tasklet will then handle ethernet cable connection/disconnection events.
2018-11-21 10:27:52 +02:00
Michal Paszta
392bccf835
Add unit tests for TLSSocket and TLSSocketWrapper
...
This also includes their Datagram counterparts: DTLSSocket and DTLSSocketWrapper.
Coverage missing for timer-related functionality, but this would require more advanced stub development.
The extra (d)tls_test_config.h is necessary for successful compilation without HW support for the mbedtls features in unittests.
I reused the mbedtls stub found in features/nanostack/coap-service/test/coap-service/unittest/stub/mbedtls_stub.c and amended it slightly with a few missing functions.
2018-11-19 15:19:49 +02:00
Cruz Monrreal II
49b940c9a7
Merge branch 'prepare_for_mbedos511' of ssh://github.com/artokin/mbed-os into rollup-b.1
2018-11-15 18:26:12 -06:00
Martin Kojtal
3f9d1a9271
nanostack eventloop: fix coding style
2018-11-15 07:20:13 +00:00
Martin Kojtal
eec4e1329a
nanostack interface: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
29a1149bd6
nanostakc cmsis rtos: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
3aab38140a
nanostack mesh: fix coding style
2018-11-15 07:20:12 +00:00
Arto Kinnunen
d879422f5e
Merge commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3' into mbedos511
...
* commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from ccd30a3..513a38e
2018-11-10 20:16:03 +02:00
Arto Kinnunen
e1ef0e4347
Merge commit 'e6a851f0a7310462f5f65e9f7955f9fdc71b84f0' into mbedos511
...
* commit 'e6a851f0a7310462f5f65e9f7955f9fdc71b84f0':
Squashed 'features/nanostack/coap-service/' changes from bc331ca..c45afcd
2018-11-09 16:40:43 +02:00
Arto Kinnunen
9e661a9846
Merge commit '623607c9da4ccd5cc1d3d75ff185b3f8d29a473b' as 'features/nanostack/sal-stack-nanostack-eventloop'
2018-11-09 15:31:56 +02:00
Arto Kinnunen
2457efc20a
Remove sal-stack-nanostack-eventloop
2018-11-09 15:29:30 +02:00
Kari Haapalehto
6163e6f425
Review changes corrected
2018-11-08 14:50:54 +02:00
Cruz Monrreal II
75368766f7
Merge branch 'fix_compile_warning' of ssh://github.com/KariHaapalehto/mbed-os into rollup
2018-11-06 21:29:08 -06:00
Arto Kinnunen
ef39a19ba9
Merge commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b' into mbedos511
...
* commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2535a6c..ccd30a3
2018-11-05 17:08:28 +02:00
Arto Kinnunen
3c37456f4c
Merge commit '6a6dc452aa482a87421de660b3c57590cd43d6fa' into mbedos511
...
* commit '6a6dc452aa482a87421de660b3c57590cd43d6fa':
Squashed 'features/nanostack/coap-service/' changes from cbe656a..bc331ca
2018-11-05 14:22:43 +02:00
Kari Haapalehto
4aaf013b0e
Fix memory leak
2018-11-05 13:09:56 +02:00
Kari Haapalehto
c7afb91f62
Fix compile warning about initializing and variable order
2018-11-05 12:45:53 +02:00
Kari Haapalehto
4440612d42
This is a initial version of Wi-Sun interface implementation.
...
To get Wi-Sun mesh network working, also nanostack with Wi-Sun support
is needed. ws_empty_functions.c and ws_management_api.h are temporary
included here, so that wisun_tasklet will compiled without problems.
They will replaced with the official versions with next nanostack release.
2018-10-31 15:48:33 +02:00
deepikabhavnani
451cf7ccb3
Add required namespace instead of relying on mbed.h
...
mbed.h has 'using namespace mbed;', hence some of the files skip
adding required namespace to the code, it is always good to specify the
namespace around the elements in header and `using namespace` in
specific CPP files, instead of all
2018-10-25 12:43:59 -05:00
Jarkko Paso
61f4af0320
FHSS timer driver: Check if timeout alloc fails
2018-10-18 16:38:06 +03:00
Jarkko Paso
1b01709b3b
FHSS timer driver: Make number of timeouts configurable
2018-10-18 16:37:51 +03:00
Jarkko Paso
ea0f4863a2
FHSS timer: Calculation in critical state
2018-10-18 16:37:37 +03:00
Jarkko Paso
440fbfd694
NS hal: Implemented FHSS driver
2018-10-18 16:37:00 +03:00
Cruz Monrreal
8054060bf2
Merge pull request #8439 from KariHaapalehto/connection_status
...
Correct mesh network connection status callback functionality.
2018-10-17 17:41:46 -05:00
Kari Haapalehto
1b1f5e7c0d
Correct mesh network connection status callback functionality.
...
Now the status callback is only called if the status changed.
2018-10-17 08:30:58 +03:00
Deepika
9db31d299b
Resolve build issues in test
...
mbed.h was added in test, via greentea and utest header files. 'mbed.h' is removed
from header files and required header file and namespace is added to CPP/C files
2018-10-16 11:50:16 -05:00
Deepika
a47c6b8139
Nanostack: Add required header file and namespace element instead add all
2018-10-15 10:57:21 -05:00
Kevin Bracey
1ef213ec89
Clean up Thread deprecation warnings
...
Static Thread methods and signal methods have been deprecated. Remove
all references in the main code, and most of the tests. Some tests of
the deprecated APIs themselves remain.
2018-10-12 14:57:13 +03:00
Martin Kojtal
9c28794b2e
Merge pull request #8210 from JarkkoPaso/master
...
platform timer: Call timer start in enable
2018-10-09 10:34:57 -05:00
Jarkko Paso
a3ec9f3982
platform timer: Call timer start in enable
...
This timer was never started and therefore read_us returned always 0 causing bad timings.
2018-09-21 11:53:56 +03:00
Steven
9a0fc98bdc
Hotfix for PR #7778
...
TB_SENSE_12 would have been left behind by the changes in #7778 . This commit implements the changes in mbed to allow targets to provide a default network interface for Silicon Labs targets.
2018-09-19 12:30:21 +02:00
Seppo Takalo
1ef04796ee
On KW24D and NCS36510 default to smaller Nanostack configuration
...
These boards do not fit the full Nanostack, so we need to select
6LoWPAN-ND as a default.
2018-09-01 12:37:46 -05:00
Cruz Monrreal
06a98e7dcf
Merge pull request #7778 from SeppoTakalo/provide_default_mesh
...
Fix MeshInterface::get_default_instance()
2018-08-30 16:11:00 -05:00
Seppo Takalo
488632bc79
Fix LoWPANInterface to provide ::get_target_default()
...
LoWPANInterface should provide target default, instead of default.
2018-08-28 18:50:59 +03:00
Martin Kojtal
b2a05511d0
Merge pull request #7818 from kjbracey-arm/eui64_get_early
...
Allow ThreadInterface::device_eui64_get() before connect()
2018-08-28 12:11:47 +02:00
Seppo Takalo
9836b9bd6a
Provide default mesh driver on NCS36510
2018-08-28 11:02:58 +03:00
Seppo Takalo
c5064a8e33
Fix *MeshInterface::get_default_instance()
...
This was returning object, instead of pointer.
Also it was trying to call lowpan(reference), instad of lowpan(ptr).
2018-08-28 11:02:58 +03:00
Mika Leppänen
1250ceb82c
Corrected thread tasklet during interface disconnect/connect
...
Added check for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added variable for mac api so that it
is not tried to set again after re-connecting.
2018-08-27 15:08:48 +03:00
Mika Leppänen
68f5739e09
Corrected 6lowpan tasklet during interface disconnect/connect
...
Removed main tasklet ID and used instead tasklet id. Added check
for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added small delay to re-connect
so that stack has time to send its status events to application
after disconnect.
2018-08-27 15:08:48 +03:00
Cruz Monrreal
2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
...
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
Deepak Venugopal
8c94411882
Merge commit '94f82102284f73721f685ec9ae535aef815e0d69'
...
* commit '94f82102284f73721f685ec9ae535aef815e0d69':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7963594..2535a6c
2018-08-22 10:52:10 +03:00
Cruz Monrreal
b53a9ea4c0
Merge pull request #7780 from artokin/nsrc510_p1
...
Rename nanostack configuration (.cfg) files
2018-08-21 10:21:15 -05:00
Juha Ylinen
b8a7e25e84
Nanostack: Fix return code for unsupported socket options
2018-08-20 16:30:19 +03:00
Kevin Bracey
e014104258
Allow ThreadInterface::device_eui64_get() before connect()
...
Perform necessary driver initialisation so that we can read
the EUI-64 before connecting.
Fixes #7391 .
2018-08-17 16:41:23 +03:00