Commit Graph

176 Commits (e7979d06224e1dbeaa45c66678da0031f92553c4)

Author SHA1 Message Date
Debdeep Saha e5d82f058e Added API to get Wi-SUN Neighbor Table
- Added API to get Wi-SUN neighbor table information
  and added more parameters in Wi-SUN statistics GET API
  in mbed-mesh-api.
2021-04-23 16:07:52 +05:30
Martin Kojtal 1d1a8f9e74
Merge pull request #14462 from mikaleppanen/feat_wisun_start_wisun_if
[feature-wisun] Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
2021-04-14 11:11:45 +02:00
Arto Kinnunen 72c3981318
Merge pull request #14439 from debdeep-arm/reset-mac-wisun-stats
[feature-wisun] Added API to reset MAC and Wi-SUN statistics.
2021-04-13 15:32:55 +03:00
Arto Kinnunen e00a1febd1 Merge tag 'mbed-os-5.15.7' into feature-wisun
This is the mbed-os-5.15.7 release. For a full list of changes please refer to the release notes.

* tag 'mbed-os-5.15.7': (160 commits)
  Update Mbed version block
  Improve WisunInterface set_network_size docs
  Add integer overflow check to the malloc wrappers
  targets:evkbimxrt1050: Adjust the SEMC re-order rules
  targets:RT1050: Fix the flash erase and program issue for qspi nor flash.
  targets:RT1050: Fix the low speed switch issue
  targets:clock: Update the coreclock value
  targets: clock: change default core clock to 528M
  targets:uart: Add uart_3 support
  targets:lpspi: Update the lpspi driver and api
  targets:MIMXRT1050: Add LPSPI4 support
  targets:MIMXRT1050: Update link file for application
  targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
  targets:TARGET_IMX: Fix the memset issue for FLASHIAP
  targets:TARGET_IMX: Fix the flash init risk
  targets:MIMXRT1050: Add QSPI Flash boot support
  MIMXRT1050: Update for deep sleep latency
  MXRT1050: Add bootloader support
  MIMXRT1050: Enable FlashIAP support
  MIMXRT1050: Reduce NOR size used by mbed-os
  ...
2021-04-08 16:39:12 +03:00
Mika Leppänen fcac235ddc Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
Previously WisunBorderRouter start() used NetworkInterface type for mesh interface, although only
WisunInterface type is possible for the call. Added a new overloads of the start with the
WisunInterface as mesh interface type and deprecated the old ones. This makes the calls stricter
about the interface type and safer. It also allows to remove the reinterpret_cast that causes
compiler warning on ARM compiler.
2021-04-08 09:33:22 +03:00
Debdeep Saha e686f6849b Reset all stats from wisun_tasklet.c 2021-04-06 18:04:57 +05:30
Debdeep Saha 11caebcc04 [feature-wisun] Added API to reset MAC and Wi-SUN statistics. 2021-04-06 18:04:57 +05:30
Anna Bridge beebd93a8a
Merge pull request #14431 from artokin/update_set_network_size_documentation
[feature-wisun] Improve WisunInterface set_network_size docs
2021-03-26 14:50:27 +00:00
Arto Kinnunen c84e30af25 Review corrections
Updated based on review comments.
2021-03-23 11:44:47 +02:00
Martin Kojtal fcabc21c9b
Merge pull request #14443 from artokin/update_set_network_size_doc_515
[mbed-os-5.15] Improve WisunInterface set_network_size docs
2021-03-22 14:23:16 +01:00
Martin Kojtal f9501e79b7
Merge pull request #14147 from mikaleppanen/nano_coverity_corr_5_15
[mbed-os-5.15] Corrected nanostack coverity warnings
2021-03-22 14:22:39 +01:00
Martin Kojtal 37957e7972
Merge pull request #14251 from JarkkoPaso/feature-wisun
Mesh API: Get and validate functions for PHY mode and channel plan IDs
2021-03-22 10:59:04 +01:00
Arto Kinnunen f8f01fd04e Improve WisunInterface set_network_size docs
Clarify set_network_size usage and possible parameter values.
Clarify wisun-network-size help text in mbed-mesh-api/mbed_lib.json
2021-03-18 11:56:17 +02:00
Arto Kinnunen 77b9eb5dba Improve WisunInterface set_network_size docs
Clarify set_network_size usage and possible parameter values.
Clarify wisun-network-size help text in mbed-mesh-api/mbed_lib.json
2021-03-18 11:44:18 +02:00
Jarkko Paso df08498562 Mesh API: Functions to set/get/validate FAN v1.1 domain configuration. 2021-03-11 11:23:33 +02:00
Mika Leppänen 1270a59df2 Added missing const qualifier to mesh ethernet mac addr get 2021-02-10 13:45:39 +02:00
Mika Leppänen b193f9bcea Added missing const qualifier to mesh ethernet mac addr get 2021-02-10 13:29:55 +02:00
Mika Leppänen 9500f9f6a6 Corrected nanostack coverity warnings 2021-02-02 15:32:02 +02:00
Jarkko Paso a52c2e2b4d Fixed astyle issue 2021-01-28 11:03:06 +02:00
Martin Kojtal 9454bb00cd
Merge pull request #13920 from artokin/mac_address_set_get_mbed_os_5_15
[mbed-os-5.15] Network interface MAC address set/get
2021-01-25 08:50:21 +00:00
Arto Kinnunen 3d0abfb4f5 Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
2021-01-21 10:14:21 +02:00
Arto Kinnunen c5e3507e39 Update set_mac_address signature
Use nsapi_size_t instead of size_t.
Update missing method description.
2021-01-21 10:14:20 +02:00
Arto Kinnunen 90fd693061 Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2021-01-21 10:14:20 +02:00
Arto Kinnunen e71e312444 MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2021-01-21 10:14:20 +02:00
Arto Kinnunen f6f0286d38 Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2021-01-21 10:14:20 +02:00
Jarkko Paso 5d3edd568e Mesh api: Added PHY mode and channel plan IDs 2021-01-15 12:43:24 +02:00
Mika Leppänen b8611bd653 Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
Corrected Wi-SUN certificate add and remove functions to work properly
with .json certificates. .json certificates are used only if certificates
added by add functions are not set. Corrected certificate add and remove
functions to work properly and improved function descriptions.
2020-12-15 14:36:17 +02:00
Martin Kojtal 84d991342a
Merge pull request #13902 from artokin/set_mac_address
[feature-wisun] Network interface MAC address set/get
2020-12-14 13:52:44 +00:00
Mika Leppänen 66273c7944 Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
Corrected Wi-SUN certificate add and remove functions to work properly
with .json certificates. .json certificates are used only if certificates
added by add functions are not set. Corrected certificate add and remove
functions to work properly and improved function descriptions.
2020-12-09 13:16:30 +02:00
Arto Kinnunen 69675417e6 Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
2020-11-26 17:07:24 +02:00
Arto Kinnunen cb1419d2e7 Update set_mac_address signature
Use nsapi_size_t instead of size_t.
Update missing method description.
2020-11-20 12:35:57 +02:00
Arto Kinnunen c81aca4d03 Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2020-11-16 16:37:46 +02:00
Arto Kinnunen 7155c9aa9d MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2020-11-16 16:09:09 +02:00
Arto Kinnunen 26b322e3de Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2020-11-11 14:54:51 +02:00
Martin Kojtal 99661bd2c8
Merge pull request #13715 from mikaleppanen/mesh_global_up_5.15
mbed-os-5.15: Mesh interface global up is indicated always on bootstrap ready
2020-10-30 14:19:38 +00:00
Martin Kojtal abf8a03de9
Merge pull request #13775 from mikaleppanen/radius_init_5_15
mbed-os-5.15: Add initialization to radius retry values
2020-10-30 10:35:22 +00:00
Martin Kojtal 30076a42a3
Merge pull request #13774 from mikaleppanen/radius_trace_corr_5_15
mbed-os-5.15: Add initialization check to RADIUS ipv6 address
2020-10-30 10:35:07 +00:00
Martin Kojtal 2cf237efb7
Merge pull request #13758 from artokin/add-min-sens-wisun-param-mbed-os-5.15
mbed-os-5.15: Add APIs for Device min sense and CCA threshold table
2020-10-30 10:33:12 +00:00
Martin Kojtal 2c2b134ee2
Merge pull request #13735 from artokin/enable_nanostack_dns_cache_mbed_os_5_15
mbed-os-5.15: Enable Nanostack DNS cache usage
2020-10-29 14:03:44 +00:00
Martin Kojtal ef235632ef
Merge pull request #13736 from mikaleppanen/cert_remove_5_15
mbed-os-5.15: Add certificate remove before add to wisun tasklet
2020-10-22 15:59:08 +01:00
Mika Leppänen b0f08862f1 Added initialization to radius retry values
This corrects uninitialized scalar field coverity warning.
2020-10-16 14:45:46 +03:00
Mika Leppänen f5cad8368a Added initialization check to RADIUS ipv6 address
Added initialization check to RADIUS ipv6 address that prevents the border router from printing unnecessary error trace
when RADIUS is not enabled.
2020-10-16 14:33:12 +03:00
Arto Kinnunen 12ccb70617 Follow Mbed OS coding style 2020-10-14 09:12:30 +03:00
Arto Kinnunen a35f724af6 Update WisunBorderRouter class
Add set_dns_query_result to WisunBorderRouter.
2020-10-14 09:12:30 +03:00
Debdeep Saha 46b141eea5 Resolved comments. 2020-10-13 15:06:38 +03:00
Debdeep Saha c0eb6df2e8 Added APIs for Device min sense and CCA threshold table.
-Added get, set and validate API for device min sens.
-Added get API for CCA threshold table.
2020-10-13 15:06:27 +03:00
Mika Leppänen e41a6988d1 [feature-wisun] Added initialization to radius retry values
This corrects uninitialized scalar field coverity warning.
2020-10-08 12:51:51 +03:00
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
Mika Leppänen 18a0f76334 [mbed-os-5.15] Added external RADIUS server configuration to Wi-SUN Border Router
Added configuration functions and .json configuration options for:
- external RADIUS server IPv6 address
- RADIUS shared secret.
- RADIUS client retry trickle timer configuration. This can be used to set how fast
the RADIUS client retries Access-Request messages to RADIUS server in case reply
from server is not received.
2020-10-08 10:23:03 +03:00
Mika Leppänen 26a9079263 [mbed-os-5.15] Mesh interface global up is indicated always on bootstrap ready
This indicates e.g. to client that IP address has changed or connection
to network has been established.
2020-10-05 13:28:36 +03:00