Commit Graph

130 Commits (3bb13c24055df86d6e6a7cabf65251c063ecc648)

Author SHA1 Message Date
Jarkko Paso a52c2e2b4d Fixed astyle issue 2021-01-28 11:03:06 +02:00
Jarkko Paso 5d3edd568e Mesh api: Added PHY mode and channel plan IDs 2021-01-15 12:43:24 +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
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 ff9a560737 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-09-25 15:19:14 +03:00
Mika Leppänen e9a4c729fa 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-09-14 12:37:08 +03:00
Mika Leppänen 013ab40ec7 Added initialization check to RADIUS ipv6 address
This prevents the border router from printing unnecessary error trace
when RADIUS is not enabled.
2020-09-10 09:57:52 +03:00
Arto Kinnunen 85f2537a1c
Merge pull request #13521 from debdeep-arm/add-wisun-param
[feature-wisun] Added APIs for Device min sense and CCA threshold table.
2020-09-04 12:17:20 +03:00
Debdeep Saha 1d02005677 Resolved comments. 2020-09-03 21:24:26 +05:30
Mika Leppänen 417c888baf Added configuration for RADIUS retry timer 2020-09-03 12:12:18 +03:00
Arto Kinnunen e46dd971df
Merge pull request #13507 from artokin/enable_nanostack_dns_cache
[feature-wisun] Enable Nanostack DNS cache usage
2020-09-03 11:46:41 +03:00
Debdeep Saha a69af3f848 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-09-02 15:26:38 +05:30
Arto Kinnunen 22c3c35996 Follow Mbed OS coding style 2020-09-02 12:41:14 +03:00
Arto Kinnunen 207250fe84 Update WisunBorderRouter class
Add set_dns_query_result to WisunBorderRouter.
2020-09-02 12:41:14 +03:00
Mika Leppänen a327210fd0 RADIUS shared secret .json parameter set correction 2020-09-01 12:18:00 +03:00
Mika Leppänen befd783e59 Added support for RADIUS configuration options to Wi-SUN
Added support for 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.
2020-08-20 11:43:01 +03:00
Debdeep Saha 0e64f7de8a Typo fixed. 2020-08-19 15:24:04 +05:30
Debdeep Saha 2b11de8629 Resolving comments 2020-08-19 15:24:04 +05:30
Debdeep Saha 80c9b270cd Updating mbed-mesh-api.
-Adding new parameters for Wi-SUN interface information.
2020-08-19 15:24:04 +05:30
Arto Kinnunen 3ab72c71b7
Merge pull request #13134 from fredlee12001/WiSun_Size
Add WiSun network size configs in JSON
2020-07-03 10:12:11 +03:00
Arto Kinnunen c77b2f4beb
Merge pull request #13132 from debdeep-arm/fix-routing-table-get-api
[feature-wisun] Fix routing_table_get API
2020-06-22 16:51:41 +03:00
fred.li b728321721 Add WiSun network size configs in JSON 2020-06-18 18:59:31 +08:00
Debdeep Saha 7b1ff34b50 [feature-wisun] Fix routing_table_get API
-Return value is modified.
2020-06-17 16:48:06 +05:30
Arto Kinnunen cef4dde453 Merge remote-tracking branch 'upstream/mbed-os-5.15' into feature-wisun
* upstream/mbed-os-5.15: (47 commits)
  Update mbed version to 5.15.4
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
  Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
  802.15.4 MCR20A RF driver update
  802.15.4 Atmel RF driver update
  802.15.4 STM S2LP driver update
  Added Wi-SUN statistics interface
  Allowed to set Wi-SUN certificates in DISCONNECTED state
  Change unrecognised features to a warning, rather than error
  Fix assertation ordering in tests
  Define mbedtls_ecc_group_to_psa inline for NS world
  Remove references to mbed-crypto
  Move Mbed Crypto Greentea tests to Mbed TLS
  Update Mbed TLS to latest version
  Adjust Mbed TLS importer and config script
  tls: Remove apache-2.0.txt from importer script
  tools: Fix grammar in feature error message
  M2351: Enable non-PSA minimal secure build
  Cellular: Enable tac info for ALT1250
  Nuvoton: Change WDT clock source to LXT
  ...
2020-06-17 12:21:07 +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
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
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
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 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
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
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