Commit Graph

354 Commits (93db82f59146277ff8a9615a54fd5280fae54bb4)

Author SHA1 Message Date
Martin Kojtal 27405bff31
Merge pull request #12671 from hugueskamba/hk-netsocket-remove-armc5-support
Netsocket/lwIP Stack: Remove support for ARM Compiler 5
2020-04-20 14:16:20 +02:00
Arto Kinnunen 152c1030b9 Merge commit 'e357a4329c5f417bf8246b26f5423e416cb55718'
* commit 'e357a4329c5f417bf8246b26f5423e416cb55718':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 89a497a386..cc03296c27
2020-04-14 11:32:26 +03:00
Arto Kinnunen 6275f710bf Merge commit '185db1333ed41be03e3a565e0f0171cad90857a1'
* commit '185db1333ed41be03e3a565e0f0171cad90857a1':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..89a497a386
2020-04-03 14:57:23 +03:00
Arto Kinnunen 54f3465e45 Merge commit '9cb63ab0e4b525c8d067ea94d7e4302203ba835a'
* commit '9cb63ab0e4b525c8d067ea94d7e4302203ba835a':
  Squashed 'features/nanostack/coap-service/' changes from e5e0c138e6..5aa54b8e62
2020-04-03 14:56:53 +03:00
Antti Kauppila 7904ff05b3 more error handling added for ctr and hmac 2020-03-31 15:59:56 +03:00
Antti Kauppila abb37c09be MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib 2020-03-31 14:21:45 +03:00
Antti Kauppila 69c6f29ab6 trace group defiined for shared_rng
Unittests fixed

2 mbedtls functions were updated to reflect the api
2020-03-31 14:21:45 +03:00
Teppo Järvelin c5d5d21f05 Added missing optimizations based on mbedtls/baremetal.h config 2020-03-31 14:21:45 +03:00
Teppo Järvelin 17e513891b Added new global rng, needed for MbedTLS optimisations 2020-03-31 14:21:44 +03:00
Teppo Järvelin 793837cafe Prepare for upcoming MbedTLS changes 2020-03-31 14:21:44 +03:00
Hugues Kamba 209f1e6a71 Netsocket/lwIP Stack: Remove support for ARM Compiler 5
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-31 10:54:36 +01:00
Arto Kinnunen 1b171791c3 Nanostack: Add config for Wi-SUN device type
Add configuration option for Wi-SUN device types.
2020-03-19 08:44:37 +02:00
Martin Kojtal 9ec6f5d8fa
Merge pull request #12536 from DavidLin1577/patch-7
Fixed typo 'thead' in thread_neighbor_class.h
2020-03-04 13:23:26 +00:00
David Lin d5f4b8effb
Fix function spelling mistake in Thread
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:05:18 +08:00
David Lin 922452d8d0
Fix function spelling mistake in border_router.c
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:00:39 +08:00
David Lin d76df4c3d0
Fix function spelling mistake in iphc_decompress.c
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:56:43 +08:00
David Lin c2e649a4c3
Fix function spelling mistake in lowpan_context.c
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:53:32 +08:00
David Lin 5a883a2fe2
Fix function spelling mistake in lowpan_context.h
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:50:39 +08:00
David Lin 949bcaa155
Fixed typo 'thead' in thread_neighbor_class.h
Note that the word 'thead' is wrong,
so that 'thead' should been replaced with thread'.
2020-02-29 08:44:22 +08:00
Martin Kojtal 3739ccda0f
Merge pull request #12488 from kjbracey-arm/override_ns
C++11-ify virtualisation in Nanostack classes
2020-02-27 08:52:08 +00:00
Martin Kojtal 18ad99a883
Merge pull request #12481 from artokin/nanostack_release_for_mbed_os_6
Nanostack release for Mbed OS 6
2020-02-25 10:08:59 +00:00
Martin Kojtal 9205bdf890
Merge pull request #12490 from DavidLin1577/patch-3
Fixed  error of structure mlme_key_descriptor_t
2020-02-24 15:45:35 +00:00
Martin Kojtal 3f4e2a6746
Merge pull request #12491 from DavidLin1577/patch-6
Fixed error of function 'mac_fcf_lenght'
2020-02-24 12:44:04 +00:00
David Lin d2d4a87c3d
Fixed error of function 'mac_fcf_lenght'
Note that the function 'mac_fcf_lenght' is wrong,
so that 'mac_fcf_lenght' should been replaced with 'mac_fcf_length'.
2020-02-21 23:19:56 +08:00
David Lin 20f6a83f67
Fixed error of structure
KeyDeviceFrameCouterList -> KeyDeviceFrameCounterList
2020-02-21 22:21:00 +08:00
David Lin cd2d3ce422
Fixed spelling mistake of structure
KeyDeviceFrameCouterList -> KeyDeviceFrameCounterList
2020-02-21 22:15:48 +08:00
Kevin Bracey 04580b73d8 C++11-ify virtualisation in Nanostack classes
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.

Some other C++11 simplifications.

Eliminate two unused header files (with no corresponding source files).

Reduces code size.
2020-02-21 15:20:57 +02:00
Martin Kojtal 8f1bf967d3
Merge pull request #11942 from michalpasztamobica/remove_deprecated_apis
IPCore String-based API removal
2020-02-21 12:14:06 +00:00
Arto Kinnunen 85e85ee93a Merge commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d'
* commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-20 16:29:05 +02:00
Martin Kojtal 1b8370d495
Merge pull request #12444 from DavidLin1577/patch-5
Fixed typo: 'lenght' in ns_crc.h
2020-02-19 14:32:26 +00:00
David Lin 1df601dea0
Fixed typo: 'lenght' in ns_crc.h
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 18:31:22 +08:00
David Lin e8f632a3d1
Fixed typo: 'lenght' in coap_service_api.h
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 18:26:14 +08:00
Michal Paszta f21b8c7fc1 Remove remaining string-based API functions
This removes any compiler warnings.
2020-02-06 11:27:50 +02:00
Arto Kinnunen 5836b7e580 Update Wi-SUN configuration
-Improve help texts of Wi-SUN configuration values
-Add min/max value checks to Wi-SUN configuration values
-Define default values for some parameters, instead of referring to
 Nanostack internal default values.
2020-02-05 15:01:04 +02:00
Juha Heiskanen b71d5edd38 Nanostack Socket event handler fix
SOCKET_TX_DONE not generate event signal anymore for SOCKET_MODE_DATAGRAM.
Event handler try to read socket which is not necessary in that case.
2020-01-03 18:24:12 +02:00
Juha Heiskanen 3e51bd41ee Wi-sun network event handler update
Wi-sun network event ARM_NWK_NWK_CONNECTION_DOWN will set Bootstrap state to active and notify interface state to MESH_BOOTSTRAP_STARTED
2019-12-16 12:56:53 +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