Commit Graph

385 Commits (dda1dcf2292c92b24f807054e27fd34f87b4f8d1)

Author SHA1 Message Date
Rob Walton 1ed468b540 Remove invalid unicode characters from mesh-api/mbed_lib.json 2020-07-08 21:11:17 +01:00
Lingkai Dong d27ec8272a Apply astyle fix from CI 2020-07-03 16:24:38 +01:00
Lingkai Dong acfbca7ada Fix duplication of KW41Z Nanostack driver 2020-07-03 15:57:07 +01:00
Martin Kojtal 9ad4aa5334
Merge pull request #13152 from debdeep-arm/add-wisun-interface-api
Add Wi-SUN Interface APIs
2020-07-01 10:25:56 +02:00
Martin Kojtal 3e42991289
Merge pull request #13046 from hugueskamba/hk_use_chrono
Use std::chrono based functions
2020-06-18 22:16:00 +02:00
Debdeep Saha ef385619d4 [master] Added Wi-SUN Interface APIs
Implemented
-info_get API for Wi-SUN router to get RPL information.
-info_get API for Wi-SUN BR to get RPL information.
-routing_table_get API for Wi-SUN BR.
2020-06-18 18:01:49 +05:30
Martin Kojtal 29aa6d8ea5
Merge pull request #13115 from NXPmicro/MXRT1050_USB
MIMXRT1050_EVK: Add USB support
2020-06-18 09:56:47 +02:00
Martin Kojtal 0c77249067
Merge pull request #13119 from LDong-Arm/nanostack-target-dir
Move target implementations of NanostackRfPhy into nanostack-interface
2020-06-18 09:37:22 +02:00
Mahesh Mahadevan 9e8998a91c KW41Z: Avoid using TARGET_NXP macro
Having Freescale and NXP macro causes compile from both
TARGET_Freescale and TARGET_NXP HAL folders.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-06-17 11:04:35 -05:00
Hugues Kamba a3f4cf212d Use std::chrono based functions
The chrono based functions improve readability. Using them also removes
warnings related to usage of deprecated warnings.
2020-06-17 14:52:50 +01:00
Lingkai Dong 8a31b6a7ca Apply astyle suggestions from the CI 2020-06-16 15:29:48 +01:00
Mika Leppänen ee5f077b0c Added Wi-SUN statistics interface
Added network and MAC statistics to Wi-SUN interface.
2020-06-16 16:08:07 +03:00
Martin Kojtal eb33549fbe
Merge pull request #12900 from mikaleppanen/ns_kv_store_
Added kv store adaptation to nanostack file interface
2020-06-16 13:55:26 +02:00
Martin Kojtal ff024d2fa7
Merge pull request #12898 from mikaleppanen/new_wisun_conf_param_
Add new configuration parameters to Wi-SUN network interface and Border Router class
2020-06-16 13:46:54 +02:00
Lingkai Dong 7149877c5d Move target implementations of NanostackRfPhy into the nanostack-interface library
Fixes: #13109

Prior to this commit, target implementations of NanostackRfPhy
are not guarded by any mbed_lib.json - they are always visible
to the build even if the interface itself is not enabled
(e.g. when using the "requires" attribute of mbed_app.json).
It causes build errors.

To resolve this, this commit move target code into
nanostack-interface, similar to what we do with BLE targets.
2020-06-15 16:45:13 +01:00
Arto Kinnunen fc465e7581 Merge commit '93c77e83625be3989aecb9b3c2b7e930b34eb529'
* commit '93c77e83625be3989aecb9b3c2b7e930b34eb529':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
2020-06-08 15:41:20 +03:00
Martin Kojtal b21d5e8125
Merge pull request #13042 from hugueskamba/hk_override_warning_fix
Ensure all overridden virtual functions are marked with `override`
2020-06-05 15:49:06 +02:00
Hugues Kamba 1beb8d3810 Ensure all overridden virtual functions are marked with `override`
This also removes warnings.
2020-06-01 10:39:42 +01:00
Mika Tervonen ad6ed89e10 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-01 11:47:12 +03:00
Mika Leppänen d414f742f5 Added Wi-SUN Border Router class 2020-05-20 09:32:13 +03:00
Mika Leppänen cfda4a4018 Added new configuration parameters to Wi-SUN interface 2020-05-20 09:32:13 +03:00
Mika Leppänen 06daaf48ec Added kv store adaptation to nanostack file interface 2020-05-20 09:24:44 +03:00
Martin Kojtal e48a659f81
Merge pull request #12903 from kjbracey-arm/chrono_ns
Nanostack HAL: Convert to Chrono
2020-05-15 08:21:41 +02:00
Kevin Bracey c037d50e1b Nanostack HAL: Convert to Chrono 2020-05-13 12:30:32 +03:00
Martin Kojtal 296961de02
Merge pull request #12836 from felipeLeast/wisun_bz
Wi-SUN added regulatory domain Brazil
2020-05-12 17:14:36 +02:00
Juha Heiskanen 3471c3b8c1 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-04 13:51:01 +03:00
Marcelo Salazar 0864aa86be Remove NCS36510 target 2020-04-30 09:56:36 +01:00
MarceloSalazar e24a9f5d95 Remove KW24D target 2020-04-30 09:56:34 +01:00
Martin Kojtal 58c0259dd6
Merge pull request #12522 from artokin/network_interface_property_api
Add property API to InternetSocket
2020-04-28 18:10:18 +02:00
Felipe b0ab86034c ws: added support for brazilian regulatory domain 2020-04-22 09:09:41 -03:00
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 a7d3a981b7 Add getsockopt option to reading 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.
2020-04-17 08:55:48 +03: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