Commit Graph

357 Commits (c78f17f85bc2b2586446d3fdd46f4df9dc3e63ac)

Author SHA1 Message Date
Mika Leppänen c78f17f85b Added certificate remove before add to wisun tasklet
This prevents tasklet from adding own certificates multiple times
to Nanostack in case bootstrap is made again.
2020-10-08 12:03:11 +03:00
Martin Kojtal b67e542a69
Merge pull request #13495 from artokin/upstream_mesh_network_size_api_to_5_15
[mbed-os-5.15] Add WiSun network size configs in JSON
2020-09-30 11:30:44 +01:00
Martin Kojtal 7b57ac62b6
Merge pull request #13559 from artokin/nanostack_release_v12_5_0_mbedos_5_15
[mbed-os-5.15] Nanostack release v12.5.0
2020-09-30 10:43:41 +01:00
Arto Kinnunen cbfbca5bd4 Merge commit '3d6d4d5a9e08a05dbafd3592e8b0c69e05454523' into mbed-os-5.15
* commit '3d6d4d5a9e08a05dbafd3592e8b0c69e05454523':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 48609aeded..d879e6db87
2020-09-07 11:10:05 +03:00
Debdeep Saha b0c2443ec1 Typo fixed. 2020-09-02 13:49:01 +03:00
Debdeep Saha 72c28ee497 Resolving comments 2020-09-02 13:49:01 +03:00
Debdeep Saha c5386c0cee Updating mbed-mesh-api.
-Adding new parameters for Wi-SUN interface information.
2020-09-02 13:49:01 +03:00
fred.li a219f8a581 Add WiSun network size configs in JSON 2020-08-26 10:52:53 +03:00
Arto Kinnunen 0a6e65629e Merge commit '946061932982cee2928784163fec649bc718692f' into mbed-os-5.15
* commit '946061932982cee2928784163fec649bc718692f':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from b3fe5744d1..48609aeded
2020-08-18 12:14:57 +03:00
Arto Kinnunen 7764d75934 Merge commit '07bd840fb601902f653b4adaa9d8d768b137ad8c' into mbed-os-5.15
* commit '07bd840fb601902f653b4adaa9d8d768b137ad8c':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 276ff28179..b560a9da36
2020-08-18 12:08:49 +03:00
Anna Bridge 455041e9ae
Merge pull request #13151 from debdeep-arm/wisun-interface-api-add
[mbed-os-5.15] Added Wi-SUN Interface APIs
2020-07-27 17:20:41 +01:00
Debdeep Saha 3f69826bd4 [mbed-os-5.15] Added Wi-SUN Interface APIs
-info_get for Wi-SUN router.
-info_get for Wi-SUN BR.
-routing_table_get for Wi-SUN BR.
2020-06-18 16:40:30 +05:30
Felipe dd546ed28e WS Management API missing include 2020-06-17 22:53:17 -03:00
Anna Bridge 0515ed1f9f
Merge pull request #13072 from mikter/ws_certificate_set_change_5.15
[mbed-os-5.15] Allowed to set Wi-SUN certificates in DISCONNECTED state
2020-06-12 14:48:23 +01:00
Anna Bridge 82e2f9016c
Merge pull request #13080 from artokin/nanostack_release_12_3_0_to_5_15
[mbed-os-5.15] Nanostack release v12.3.0
2020-06-12 14:47:34 +01:00
Arto Kinnunen 364a81b43a Merge commit 'e3c2a36da0985647730e26c63b50d480cce9ef79' into mbed-os-5.15
* commit 'e3c2a36da0985647730e26c63b50d480cce9ef79':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
2020-06-08 14:27:38 +03:00
Mika Leppänen 7b6ee061ba Added Wi-SUN statistics interface
Added network and MAC statistics to Wi-SUN interface.
2020-06-08 13:07:09 +03:00
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
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
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 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
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
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 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