Commit Graph

27 Commits (e48b7b9ffde5a2d4af0cdfcb96f028bdeaca8d83)

Author SHA1 Message Date
Martin Kojtal e48b7b9ffd
Merge pull request #14552 from debdeep-arm/reset-ws-stats-5.15
mbed-os-5.15: Add API to reset MAC statistics and Wi-SUN statistics
2021-06-24 13:02:04 +02:00
Debdeep Saha 41ddf0ed64 Added API to reset MAC statistics and Wi-SUN statistics. 2021-05-26 18:09:37 +05:30
Debdeep Saha 6935ea343c Added API to get Wi-SUN Neighbor Table 2021-05-26 18:03:52 +05:30
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
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 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
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 3ad3ebef85 Added new configuration parameters to Wi-SUN interface 2020-04-30 09:12:25 +03: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
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
Jarkko Paso da0fe81bfd Mesh API, Wi-SUN: Initialize Wi-SUN settings with values from json 2019-09-04 15:53:21 +03:00
Arto Kinnunen 774162dd83 mbed-mesh-api: Add new Wi-SUN certificate API
Add new API for setting Wi-SUN:
-Setting own/trusted certificates
-Removing own/trusted certificates
2019-08-28 09:34:30 +03:00
Arto Kinnunen c0f3cb7568 mbed-mesh-api: Add new Wi-SUN API
Add new API for setting Wi-SUN:
 -network name
 -regulatory domain, operating mode and operating class
2019-08-28 09:34:30 +03:00
Mika Leppänen 9e22354f63 Corrected json and added check to ensure that needed json options are set 2019-05-17 10:42:26 +03:00
Mika Leppänen 5fbbfee201 Added Wi-Sun certificate options to mesh api configuration json
Added possibility to configure Wi-Sun root certificate, own certificate
and own certificate keys to mesh api.
2019-05-16 15:04:03 +03:00
Jarno Lamsa 740488d061 Set tasklet parameters before connecting
Set tasklet parameters before connecting to prevent the parameters to be set to 0.
The tasklet parameters are reset to 0 when wisun_tasklet_connect gets called,
thus those need to be set in the wisun_tasklet_configure_and_connect_to_network
before they are used. This is also done this way in other tasklets.
2019-01-30 13:06:17 +02:00
Kari Haapalehto 6d8320fd8c Coverity fixes.
These issues has been found by coverity.
2018-12-04 15:32:02 +02:00
Michal Paszta e101943cce Fix compilation warnings (apart from nanostack) 2018-11-26 14:27:48 +01:00
Kari Haapalehto 6163e6f425 Review changes corrected 2018-11-08 14:50:54 +02:00
Kari Haapalehto 4440612d42 This is a initial version of Wi-Sun interface implementation.
To get Wi-Sun mesh network working, also nanostack with Wi-Sun support
is needed. ws_empty_functions.c and ws_management_api.h are temporary
included here, so that wisun_tasklet will compiled without problems.
They will replaced with the official versions with next nanostack release.
2018-10-31 15:48:33 +02:00