Debdeep Saha
7b1ff34b50
[feature-wisun] Fix routing_table_get API
...
-Return value is modified.
2020-06-17 16:48:06 +05:30
Anna Bridge
cc8bb4596f
Merge pull request #13084 from debdeep-arm/wisun-interface-api-add
...
[feature-wisun] Added Wi-SUN interface and Border Router API.
2020-06-11 12:04:22 +01:00
Debdeep Saha
16e807e2f5
Adding check for RPL instance count.
2020-06-10 20:43:03 +05:30
Mika Tervonen
782141bf98
Allowed to set Wi-SUN certificates in DISCONNECTED state ( #13071 )
...
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-10 17:16:22 +03:00
Debdeep Saha
466a57ada4
resolved astyle - coding format.
2020-06-10 18:26:07 +05:30
Debdeep Saha
0387254ebd
Resolved comments.
...
Rebased with ARMmbed feature-wisun branch.
2020-06-10 18:01:50 +05:30
Debdeep Saha
4c6dd9334a
Fixed coding style.
2020-06-09 18:54:00 +05:30
Debdeep Saha
64851eb5d9
Added Wi-SUN interface and Border Router API.
...
-Taken modification for adding IID in BR info structure.
-Added API to get RPL info for Wi-SUN router and BR.
-Added API to get routing table info from BR.
2020-06-09 18:54:00 +05:30
Arto Kinnunen
5f4ae1f766
Merge commit '528aa2f96fd4702b02ae9fff3dacd546ee984fde' into feature-wisun
...
* commit '528aa2f96fd4702b02ae9fff3dacd546ee984fde':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9a2166869f..b3fe5744d1
2020-06-08 10:12:05 +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
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
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
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
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