Mika Leppänen
06be25722f
Replaced new calls with nothrow version of the call on mesh api
...
Replaced new calls with nothrow version of the call.
2020-11-25 10:04:58 +02:00
Rajkumar Kanagaraj
d328af9edb
CMake: Add nanostack dependency
...
- Added netsocket libraries to nanostack CMake with target_link_libraries as nanostack has dependency
2020-11-23 20:18:48 +00:00
Arto Kinnunen
82964a3a0c
Update set_mac_address signature
...
Use nsapi_size_t instread os size_t.
2020-11-20 10:05:35 +02:00
Arto Kinnunen
af350de726
Allow method override
...
Remove final keyword to allow inheritance.
2020-11-19 15:50:04 +02:00
Arto Kinnunen
c8b667a7ba
Review correction: Remove unnecessary method
...
Remove unnecessary method: add_ethernet_interface_ns
2020-11-18 17:29:10 +02:00
Arto Kinnunen
e1e0f89699
MAC address set/get support for EMAC interface
...
Add support to set and get MAC address from EMAC interface.
2020-11-18 17:26:04 +02:00
Arto Kinnunen
a607be6623
Method for adding network interface MAC address
...
Add method set_mac_address to set network interface MAC address.
2020-11-18 17:17:54 +02:00
Martin Kojtal
d5b4f42fcd
Merge pull request #13894 from noonfom/fix_compilation_warnings
...
Fix compilation warnings
2020-11-12 08:50:25 +00:00
Abbas Bracken Ziad
3e6cf78d6d
Remove call to function-like macro with no effect
2020-11-11 14:23:42 +00:00
Martin Kojtal
5cbdbcb2d2
Merge pull request #13889 from artokin/nanostack_release_12_6_2
...
Nanostack release v12.6.2
2020-11-11 09:11:27 +00:00
Arto Kinnunen
c8c2e5437f
Merge commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe'
...
* commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..715ae9a693
2020-11-10 13:47:13 +02:00
Hugues Kamba
794e32df74
CMake: Use relative paths to list source files and directories
...
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Hugues Kamba
bf84a5b329
CMake: Rename CMake targets
...
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba
fa98689639
CMake: Componentize Mbed OS into multiple CMake targets ( #13732 )
...
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.
Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba
9b8c5acb99
CMake: Fix build failure due to mbed-trace, mbed-client-randlib, and nanostack dir changes
2020-11-06 17:25:20 +00:00
Hugues Kamba
ec376fb587
CMake: List missing files in sal-stack-nanostack
2020-11-06 17:25:20 +00:00
Hugues Kamba
0c8cb3134c
CMake: Fix build failure due to PSA dir move
2020-11-06 17:25:20 +00:00
Hugues Kamba
c30d9259e9
CMake: Fix build failure due to nanostack dir move
2020-11-06 17:25:19 +00:00
Martin Kojtal
78c8d84214
Merge pull request #13808 from harmut01/license_refactor
...
Remove erroneous character from SPDX identifer
2020-10-27 09:03:41 +00:00
Harrison Mutai
6bfe651aad
Remove erroneous character from SPDX identifer
...
Erroneous '/' was appended to start of comment. This was causing CMake
warning during complition. Removes character from affected files.
2020-10-23 15:08:58 +01:00
Martin Kojtal
ed73a48364
Merge pull request #13733 from artokin/enable_nanostack_dNS_cache_usage-master
...
Enable Nanostack DNS cache usage
2020-10-19 08:23:20 +01:00
Martin Kojtal
61aa6817f0
Merge pull request #13724 from harmut01/license_refactor
...
Add license notice to Arm copyrighted source files
2020-10-16 09:09:53 +01:00
Martin Kojtal
bdb6bd50d4
Merge pull request #13757 from artokin/add-min-sens-wisun-param-master
...
wisun: Add APIs for Device min sense and CCA threshold table.
2020-10-15 15:05:58 +01:00
Martin Kojtal
b7551c2eb5
Merge pull request #13737 from mikaleppanen/cert_remove_master
...
Add certificate remove before add to wisun tasklet
2020-10-15 13:53:28 +01:00
Harrison Mutai
4fad1112e5
Add SPDX license identifier to Arm files
...
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Harrison Mutai
d1d6bf51b3
Add license notice to Arm copyrighted source files
...
Scancode found missing license notices in our source files. This commit
addresses those issues by adding an Apache-2.0 notice to source files
highlighted.
2020-10-15 10:46:35 +01:00
Debdeep Saha
986f9dd946
Resolved comments.
2020-10-13 15:11:27 +03:00
Debdeep Saha
6c84032a33
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 14:56:29 +03:00
Martin Kojtal
77f3f5ebaa
Merge pull request #13714 from mikaleppanen/mesh_global_up_master
...
nanostack: mesh interface global up is indicated always on bootstrap
2020-10-13 11:20:48 +01:00
Martin Kojtal
00402b71d5
Merge pull request #13718 from artokin/nanostack_release_v12_6_0_for_master
...
Nanostack release v12.6.0
2020-10-13 11:19:11 +01:00
Mika Leppänen
09b489bfc2
Added initialization to radius retry values
...
This corrects uninitialized scalar field coverity warning.
2020-10-08 13:57:07 +03:00
Mika Leppänen
657795e621
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:08:56 +03:00
Arto Kinnunen
8598064774
Use macro for isdigit
2020-10-07 17:44:36 +03:00
Arto Kinnunen
a53233da08
Follow Mbed OS coding style
2020-10-07 17:37:56 +03:00
Arto Kinnunen
d02561e5e9
Update WisunBorderRouter class
...
Add set_dns_query_result to WisunBorderRouter.
2020-10-07 17:36:22 +03:00
Arto Kinnunen
da8f3bebca
Follow Mbed OS coding style
2020-10-07 17:26:04 +03:00
Arto Kinnunen
2e790b5ff1
Review corrections
...
-Check address version NSAPI_UNSPEC
-Disable traces
-More specific interface ID parsing
-Harmonize return values
2020-10-07 17:24:59 +03:00
Arto Kinnunen
00ebd65784
Mesh: Enable Nanostack DNS cache usage
...
Inherit methods gethostbyname, gethostbyname_async and get_dns_server
to Nanostack class. Methods will try to find DNS server address
or DNS query results from Nanostack DNS cache.
2020-10-07 17:23:45 +03:00
Arto Kinnunen
51b8b10e65
Merge commit 'b9f37539182bfa5002208dba6885293e17700849'
...
* commit 'b9f37539182bfa5002208dba6885293e17700849':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from d879e6db87..09d9e24f2d
2020-10-05 15:05:30 +03:00
Mika Leppänen
4bf2c3a964
Mesh interface global up is indicated always on bootstrap
...
This indicates e.g. to client that IP address has changed or connection
to network has been established.
2020-10-05 12:59:44 +03:00
Martin Kojtal
ccc5c8528b
nanostack: fix inclusion of kvstore
...
Protect kvstore headers as well as they should not be included if kvstore is not enabled
in nanostack file system.
2020-09-30 08:49:48 +01:00
Mika Leppänen
23c13d74ec
Added 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.
- 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-09-08 14:42:18 +03:00
Arto Kinnunen
b25f05b035
Merge commit '9a4e8a5964c54f2a983ffd4c13755176d4f9df52'
...
* commit '9a4e8a5964c54f2a983ffd4c13755176d4f9df52':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 48609aeded..d879e6db87
2020-09-07 14:38:37 +03:00
Martin Kojtal
b2ac60924c
Merge pull request #13476 from talorion/bugfix/fix-warnings
...
Fix trivial compiler Warnings
2020-09-07 09:58:41 +01:00
Martin Kojtal
6f024d5299
Merge pull request #13494 from artokin/upstream_mesh_network_size_api_to_master
...
Add WiSun network size configs in JSON
2020-08-31 11:10:40 +01:00
Debdeep Saha
0258c89f6d
Typo fixed.
2020-08-26 12:12:56 +03:00
Debdeep Saha
c0172154e6
Resolving comments
2020-08-26 12:12:56 +03:00
Debdeep Saha
68cf724168
Updating mbed-mesh-api.
...
-Adding new parameters for Wi-SUN interface information.
2020-08-26 12:12:56 +03:00
fred.li
bb87fa9f0c
Add WiSun network size configs in JSON
2020-08-26 10:29:00 +03:00
talorion
e3080a6e0e
fixed warnings: static method defined but not used
2020-08-24 15:34:20 +02:00
Arto Kinnunen
4198053857
Merge commit 'ac91d0ab4f0efdc6e526b83632eaf99f481298f9' into nanostack-as_subtree
...
* commit 'ac91d0ab4f0efdc6e526b83632eaf99f481298f9':
Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from fdb818f341..86cf0cca08
2020-08-20 17:03:01 +03:00
Arto Kinnunen
fdcb23ede2
Merge commit '4ed4c4fa20b0b14d2525e0f4e805ca1ad58579d2' into nanostack-as_subtree
...
* commit '4ed4c4fa20b0b14d2525e0f4e805ca1ad58579d2':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from b3fe5744d1..48609aeded
2020-08-20 16:57:03 +03:00
Arto Kinnunen
a7481400f1
Merge commit '975b1b8a6b090933420b347b3cabd3dbdff857e2' as 'connectivity/nanostack/sal-stack-nanostack-eventloop'
2020-08-18 14:07:18 +03:00
Arto Kinnunen
df8d1a90be
Remove copy of sal-stack-nanostack-eventloop
2020-08-18 13:08:41 +03:00
Arto Kinnunen
754194fbf7
Merge commit 'c6f402a4c66638de8921c74306ce64c0122b046c' as 'connectivity/nanostack/coap-service'
2020-08-18 13:06:11 +03:00
Arto Kinnunen
5ea51cb1d6
Remove existing copy of coap-service
2020-08-18 13:05:00 +03:00
Arto Kinnunen
2a4b474e26
Merge commit '42a7bffc528d47263f0e285bc5220324f71e9da9' as 'connectivity/nanostack/sal-stack-nanostack'
2020-08-18 12:56:22 +03:00
Arto Kinnunen
a66aad9866
Nanostack: Remove existing copy of sal-stack-nanostack
2020-08-18 12:50:34 +03:00
Ashok Rao
724624ad6d
Moving mbed_lib.json outside sources
2020-08-06 13:43:55 +01:00
Ashok Rao
b9b4c5d392
Mbed OS will soon be changing directory structure to the below:
...
```
connectivity
├── netsocket
├── lwipstack
├── nanostack
│ ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│ ├── include
│ │ └── nanostack // headers from features/netsocket/nanostack-interface
│ ├── source // sources from features/netsocket/nanostack-interface
│ ├── coap-service // used by Thread only - deprecate?
│ ├── mbed-mesh-api
│ ├── nanostack-hal-mbed-cmsis-rtos // HAL porting layer for Nanostack on mbed with CMSIS-RTOS
│ ├── sal-stack-nanostack
│ └── sal-stack-nanostack-eventloop
├── cellular // previously in features/cellular/framework/
├── ...
```
This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \nanostack.
2020-08-05 16:55:43 +01:00