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
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
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
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
f8289ec0ac
mbed-mesh-api: Add API set_file_system_root_path
2019-08-28 09:34:30 +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
ab3a4699c9
Added missing header to wisun interface
2019-08-20 13:37:12 +03:00
Mika Leppänen
a2df462f65
Nanostack changes for PPP service
...
Created PPP interface for PPP service. Re-used the ethernet tasklet
and PHY driver structure for PPP.
2019-08-20 13:37:12 +03:00
Kevin Bracey
2fbbd9d2ca
Introduce Semaphore::acquire methods
...
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().
Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".
Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +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
Anna Bridge
1647282de9
Merge pull request #10462 from michalpasztamobica/nanostack_semaphore_release_connecting
...
Nanostack: release connect_semaphore only when it is pending
2019-04-26 13:37:53 +01:00
Anna Bridge
016ce322b4
Merge pull request #10434 from michalpasztamobica/nanostack_network_handler_fix
...
Nanostack network handle does not always call status cb for BOOTSTRAP events
2019-04-26 13:33:46 +01:00
Michal Paszta
2b26a62cc7
Nanostack: release connect_semaphore only when it is pending
...
Only release if the current _connect_status is CONNECTING. If the semaphore is released many times for each connect, then the next connect will not wait(), as it will be able to decrement the semaphore imediatelly.
2019-04-24 11:31:16 +03:00
Michal Paszta
8d1edc7db8
Nanostack network handle does not always call status cb for BOOTSTRAP events
...
UBLOX_EVK_ODIN_W2 advertises more events than we expect.
1) When disconnecting first network connectivity is lost and then an
actual disconnection event arrives. The first one is unexpected.
2) When reconnecting MESH_BOOTSTRAP_START_FAILED shows up, but the board
eventually manages to connect
2019-04-17 19:31:36 +03:00
Kevin Bracey
69c6cc341b
Networking: Fix some ARMC6 warnings
...
Some int-versus-long and signed-versus-unsigned format string
mismatches, and missing `class` keyword.
2019-04-17 16:03:44 +03:00
Cruz Monrreal
9c381f27ec
Merge pull request #10243 from michalpasztamobica/nanostack_bringdown_blocking
...
Nanostack::EthernetInterface::bringdown() can handle blocking mode
2019-03-29 10:20:47 -05:00
Michal Paszta
ccc83f7e3b
Nanostack::EthernetInterface::bringdown() can handle blocking mode
...
This let the tests-network-interface test pass for nanostack.
2019-03-27 16:34:46 +02:00