Commit Graph

124 Commits (bad78ee326793f7ceb7f848800ec21741966eb99)

Author SHA1 Message Date
Martin Kojtal 32ecdb34b3
Merge pull request #14464 from mikaleppanen/mbed_os_5_15_start_wisun_if
mbed-os-5.15: Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
2021-06-21 11:35:13 +02:00
Debdeep Saha 6935ea343c Added API to get Wi-SUN Neighbor Table 2021-05-26 18:03:52 +05:30
Mika Leppänen da29b80b3c 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-07 11:40:55 +03: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
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
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 9500f9f6a6 Corrected nanostack coverity warnings 2021-02-02 15:32:02 +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
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 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 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
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
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
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
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
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 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
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
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
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
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
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