Hugues Kamba
5616537c3a
CMake: Add MbedTLS dependency to LoRaWAN library
...
This way applications that need LoRaWAN do need to also add MbedTLS
2021-01-14 17:32:00 +00:00
Martin Kojtal
82f3126ab8
Merge pull request #14049 from jeromecoutant/PR_L072_LORA
...
DISCO_L072CZ_LRWAN1: enable LORA by default
2021-01-14 17:16:19 +00:00
Devaraj Ranganna
61009ba05a
tests: Limit PSA crypto tests to Arm-v7M targets
...
The PSA crypto tests in
connectivity/mbedtls/tests/TESTS/mbedtls/sanity/main.cpp are only
supported for Arm-v7M PSA targets. For Arm-v8M PSA targets, crypto
regression tests provided by TF-M are used. Refer to
https://github.com/ARMmbed/mbed-os-tf-m-regression-tests for more
information.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:56:04 +00:00
Devaraj Ranganna
9186fe57b2
tests: Fix test_crypto_asymmetric_encrypt_decrypt
...
The test `test_crypto_asymmetric_encrypt_decrypt` was incorrectly
setting the key usage flags. The key usage is updated to support both
encryption and decryption.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:52:36 +00:00
Mika Leppänen
1e3d32ad41
Corrected nanostack coverity warnings
2021-01-13 13:05:51 +02:00
Martin Kojtal
8fb31d7ec3
Merge pull request #14008 from MultiTechSystems/mtqn-cpsms
...
Add proper power save mode command format for MTS_DRAGONFLY_L471
2021-01-12 15:16:01 +00:00
Hugues Kamba
edab3140e2
CMake: Add support for NFC Greentea test
...
The NFC Greentea test can now be built with CMake
2021-01-12 10:57:27 +00:00
jeromecoutant
e0217ad9f7
DISCO_L072CZ_LRWAN1: enable LORAWAN by default
2021-01-12 11:42:07 +01:00
jeromecoutant
c3664d2339
LORA: update test
2021-01-12 11:42:06 +01:00
jeromecoutant
80aa710a48
LORA-DRIVER: add pins in json configuration
2021-01-12 11:42:04 +01:00
Martin Kojtal
265aa4cc92
Merge pull request #14103 from hugueskamba/hk_cmake_greentea_netsocket_network
...
CMake: Add support for netsocket/network Greentea tests
2021-01-12 10:40:20 +00:00
jeromecoutant
61059d45e4
STM32F439 : correct cmake compilation
2021-01-11 18:07:58 +01:00
Hugues Kamba
088ce195b6
CMake: Add support for netsocket/network Greentea tests
...
The netsocket/network Greentea tests can now be built with CMake
2021-01-11 16:34:07 +00:00
Hugues Kamba
51bd84ef7d
CMake: Add support for CORDIO Greentea tests
...
The Cordio Greentea tests can now be built with CMake.
2021-01-11 16:30:29 +00:00
Martin Kojtal
15de1aae18
Merge pull request #14101 from rajkan01/add_cmake_greentea_netsocket
...
CMake: Add CMake support for netsocket greentea test
2021-01-11 15:38:55 +00:00
Martin Kojtal
53776fec43
Merge pull request #14125 from pan-/fix-sm-key-generation
...
BLE: Fix Security Manager key generation
2021-01-11 13:39:19 +00:00
Martin Kojtal
a124bcab32
Merge pull request #14048 from mikaleppanen/corr_cert_add
...
Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2021-01-11 11:19:26 +00:00
Vincent Coubard
4cfcadd9e9
BLE: Fix SM random number generation.
...
Ensure the more than 8 random bytes are fetched from the stack.
2021-01-07 12:38:47 +00:00
Vincent Coubard
b28e11574a
BLE: Regenerate CSRK if it is all zeroes.
2021-01-07 12:35:24 +00:00
Rajkumar Kanagaraj
48829eee60
CMake: Add CMake support for netsocket greentea test
2021-01-05 09:11:22 -08:00
Martin Kojtal
dd4eca1b69
Merge pull request #14100 from hugueskamba/hk_cmake_fix_ambiq_ble
...
CMake: Fix path to Ambiq BLE source file
2021-01-05 15:50:32 +00:00
Martin Kojtal
d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
...
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Hugues Kamba
a1e80925af
CMake: Fix path to Ambiq BLE source file
...
Update the hci_drv_apollo3.c listing as the file location was changed.
2021-01-05 13:50:50 +00:00
Martino Facchin
62b6cc9a05
cmake: STM32H7: enable PORTENTA* target
2021-01-05 14:49:37 +01:00
Martin Kojtal
e1d1753726
Merge pull request #14111 from paul-szczepanek-arm/ble-fix-ext
...
BLE: fix scanning/advertising when extended features are available but disabled on host
2021-01-05 13:28:13 +00:00
Martin Kojtal
ce825bcd45
Merge pull request #14084 from paul-szczepanek-arm/gatt-copy-callbacks
...
BLE: Fix GattServer callbacks not being copied to GattServer instance of the service
2021-01-05 11:26:25 +00:00
paul.szczepanek@arm.com
2e714f4b6f
compile out trace when not available
2021-01-04 19:38:03 +00:00
paul.szczepanek@arm.com
6746573b34
add missing guards for extended advertising feature
2021-01-04 18:05:50 +00:00
Paul Szczeanek
5e99ea8d7e
correct the documentation for GattServer::addService
2021-01-04 17:11:03 +00:00
Paul Szczeanek
cdc8845b3c
copy authorsation callbacks to gattserver
2021-01-04 17:11:03 +00:00
Martino Facchin
a723b4ce23
cmake: STM32H7: fix mbed-emac target
2021-01-04 17:31:54 +01:00
Martin Kojtal
9315f05719
Merge pull request #13809 from jeromecoutant/PR_CELLULAR
...
Remove Cellular dependency in netsocket
2020-12-17 15:41:41 +00:00
Martin Kojtal
24501dffd3
Merge pull request #14042 from hugueskamba/hk_cmake_ambiq_micro_support
...
CMake: Add support for all Ambiq Micro Mbed targets
2020-12-17 15:07:43 +00:00
Andrea Palmieri
ae4a53e74a
Support to BlueNRG_2 BLE component ( #13246 )
...
Add support to BlueNRG_2 BLE component
Signed-off-by: Andrea Palmieri <andrea.palmieri@st.com>
Co-authored-by: Andrea Palmieri <andrea.palmieri@st.com>
Co-authored-by: Paul Szczeanek <paul.szczepanek@arm.com>
2020-12-17 14:37:21 +00:00
jeromecoutant
9eb86a2345
Cellular unittests update
2020-12-17 15:36:44 +01:00
Wenn0101
2e144e83e2
update startup gcc to add back weak definitions and have HciDrvRadioBoot call NVIC_SetVector
2020-12-17 11:21:22 +00:00
Hugues Kamba
7a6bf96998
CMake: Fix Apollo3 BLE driver support
2020-12-17 11:13:03 +00:00
Matthew Macovsky
fc702737ce
Create canonical CyReservedRegionBlockDevice for working with/around Cypress WiFi firmware in external memory
...
This change allows external memory to be used for other purposes while
the WiFi firmware is stored in it by interacting with it via the
reserved region block device.
2020-12-16 15:31:00 -08:00
Mika Leppänen
88b46cc71c
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 15:04:14 +02:00
Leon
7370df6e2f
Add proper power save mode command format for MTS_DRAGONFLY_L471QG
2020-12-14 09:42:10 -06:00
Harrison Mutai
b947ee339a
CMake: Fix dirs and sources visibility for mbed-emac CMake target
...
The mbed-emac CMake target is an interface library and as such its
include dirs and sources have to be have the INTERFACE visibility.
2020-12-11 16:52:18 +00:00
Martino Facchin
84790a038a
Add SPDX-License
2020-12-11 10:11:54 +01:00
pennam
f665f1d391
Portenta: enable ETH power supply
2020-12-11 10:11:53 +01:00
Martino Facchin
7e2acee49a
PortentaH7: add Ethernet support
2020-12-11 10:11:53 +01:00
Martino Facchin
8d9b6e9088
lwip: use adeguate mem-size for Portenta H7
2020-12-11 10:11:53 +01:00
Martino Facchin
c96fbebd55
STM32: EMAC: allow compiling on MCUs without DCACHE
2020-12-11 10:11:52 +01:00
Martin Kojtal
38fe337ed0
Merge pull request #14009 from keithmwheeler/pr-dev/hci-driver-terminate
...
ble cyw43xxx: dev/hci driver terminate
2020-12-10 15:57:05 +00:00
Martin Kojtal
14f3ce1edc
Merge pull request #14014 from pan-/ble-attribute-error-code
...
Update GattAuthCallbackReply_t enumeration.
2020-12-10 13:40:04 +00:00
Martin Kojtal
115eee4ae8
Merge pull request #13988 from paul-szczepanek-arm/periodic-sync-ll-fix
...
BLE: Fix periodic advertrising sync based on advertiser list
2020-12-10 11:01:18 +00:00
Martin Kojtal
2c1ce493f4
Merge pull request #13957 from mikaleppanen/new_to_nothrow_mst
...
Replaced new calls with nothrow version of the call on mesh api
2020-12-10 10:59:42 +00:00
Martin Kojtal
e5e315eb80
Merge pull request #13936 from artokin/mac_address_set_get_mbed_os_master
...
Network interface MAC address set/get
2020-12-09 05:55:49 +00:00
Vincent Coubard
2eb77d607a
Update GattAuthCallbackReply_t enumeration.
...
Add missing values that are present in pal::AttErrorResponse.
This allows applications to use correct ATT error codes.
2020-12-08 10:47:55 +00:00
Wheeler Keith (CY CSS ICW Integration)
1e56565692
Clean up from 2 Dec review
2020-12-03 20:33:58 -08:00
Wheeler Keith (CY CSS ICW Integration)
3445eb2cc8
Shifting BT power pin references to mbed style in transport ccriver and cy_bt_cordio_cfg; removing freeing of dev wake pin and changing to deasserting this during terminate
2020-12-03 20:33:56 -08:00
Wheeler Keith (CY CSS ICW Integration)
4d70877b35
Removing 500ms delay inCyH4TransportDriver init; fixing warning about order of BT POWER in declarations
2020-12-03 20:33:54 -08:00
Dustin Crossman
0e6ede86de
Convert cyhal_gpio calls to mbed equivalent.
2020-12-03 20:33:52 -08:00
Wheeler Keith (CY CSS ICW Integration)
389ed278c9
Working on changes from code review
2020-12-03 20:33:50 -08:00
Wheeler Keith (CY CSS ICW Integration)
47aab97d16
Moving UART init from construtor to init method; altering init method to reset BT device via regulator control; modifications to terminate method
2020-12-03 20:33:49 -08:00
Keith Wheeler
bf7adcf0d2
Adding to BLE terminate method code that releases the UART and disables interrupts and GPIO
2020-12-03 20:33:47 -08:00
jeromecoutant
8e58d64e13
Remove Cellular dependency in netsocket
...
Tip: Create a .mbedignore file with
connectivity/cellular*
connectivity/drivers/cellular*
2020-12-03 18:16:33 +01:00
Paul Szczeanek
5cc09f58f8
the adv bit is actually optional in aux_adv_ind so is not required for periodic sync
2020-11-30 16:00:14 +00:00
Arto Kinnunen
6a28bce1dd
Remove API changes
...
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
-Fix compiler warnings by adding overrides
2020-11-30 13:49:33 +02:00
Martin Kojtal
dd432a387e
Merge pull request #13942 from paul-szczepanek-arm/securitydb-fix
...
ble: Fix persistence in SecurityDB
2020-11-26 11:17:28 +00:00
Martin Kojtal
483db06a5f
Merge pull request #13948 from rajkan01/simplify_ble_lib_inclusion
...
CMake: Simplify BLE library inclusion
2020-11-25 13:37:11 +00:00
Martin Kojtal
b7c2b77093
Merge pull request #13953 from rajkan01/add_nanostack_dependency_lib
...
Add nanostack dependency lib
2020-11-25 10:02:56 +00:00
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
Arto Kinnunen
9ede631e76
Update EmacTestNetworkStack
...
-Uncomment get_mac_address
-Document set_mac_address
2020-11-25 09:32:23 +02:00
Arto Kinnunen
636c19af16
Fix unittests
...
Use path in "mbed-trace/mbed_trace.h" to keep unittest happy.
2020-11-25 09:29:59 +02:00
Martin Kojtal
57bbb4739b
Merge pull request #13085 from pea-pod/remove-deprecated-mbed-assert
...
Change MBED_STATIC_ASSERTs version for built-in
2020-11-24 13:38:07 +00:00
Arto Kinnunen
40c038555d
Fix method description
2020-11-24 12:17:54 +02:00
Arto Kinnunen
913ac8c2b2
Follow Mbed OS coding style
2020-11-24 11:46:20 +02:00
Arto Kinnunen
f07030255f
Update EMAC connect logic with MAC address change
...
Do not fail EMAC interface during connect if MAC address change is
not supported in the selected interface.
2020-11-24 11:23:36 +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
Rajkumar Kanagaraj
a964453edf
CMake: target_link_library the BLE with CORDIO stack
...
- Security manager uses some feature from wsf which is part of the mbed-ble-cordio library so added target_link_library to link the BLE library to cordio stack lib.
2020-11-23 16:06:53 +00:00
Paul Szczeanek
e71f452e9d
fix missing return
2020-11-23 09:06:42 +00:00
Paul Szczeanek
63887d19a8
update the peer address when LTK has been found in old entry
2020-11-23 09:06:30 +00:00
Paul Szczeanek
187ed98d82
update the connected status of db entry
2020-11-23 09:06:05 +00:00
Paul Szczeanek
6f844e1a71
fix indexing in ble security db
2020-11-23 09:02:56 +00:00
Arto Kinnunen
2f610340ba
Review corrections
...
-Update method set_mac_address description
-Update EMAC test method return value
2020-11-23 10:11:03 +02:00
Arto Kinnunen
d001b7a441
Update unittests
2020-11-20 10:06:57 +02: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
fad7f344e7
Merge pull request #13870 from rajkan01/feature-cmake-review-comment
...
CMake: Address review comment from PR#13566
2020-11-18 09:42:09 +00:00
Martin Kojtal
96f3de6914
Merge pull request #13910 from marcemmers/nrf-ble-config
...
Update NRF ble configuration options
2020-11-18 09:41:42 +00:00
Martin Kojtal
1bd5ce6af2
Merge pull request #13671 from balajicyp/topic/setsockopt_ip_tos
...
Add an socket option to set type of service to set specific precedence for QoS
2020-11-18 09:36:06 +00:00
Marc Emmers
01e56f1f34
Fix missing newline
2020-11-16 17:03:23 +01:00
Marc Emmers
afc42b8fb7
Update NRF ble configuration options
2020-11-16 16:43:43 +01:00
Rajkumar Kanagaraj
438994ded4
Fix CI issue:
...
- Added absolute path as cmake failed to find linker file from relative path
- Added the missing MBED_CONF_CRYPTOCELL310_PRESENT
- Added the dependency library to BLE Cordio stack
2020-11-12 14:32:01 +00:00
Rajkumar Kanagaraj
4c05ce874a
Remove add subdirectory of TARGET_MCU_NRF52840 as it contains only mbed_lib.json
2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj
cc7ae38fed
CMake: Simplify inclusion of cryptocell310 library files
2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj
a044bfa9c1
CMake: Add more information to TODO comment
2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj
766a9a8219
CMake: Remove empty input source files
2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj
a4d8559c08
CMake: Rename input source files from CMakelists.txt to CMakeLists.txt
2020-11-12 11:27:10 +00:00
Martin Kojtal
d5b4f42fcd
Merge pull request #13894 from noonfom/fix_compilation_warnings
...
Fix compilation warnings
2020-11-12 08:50:25 +00:00
Martin Kojtal
e725df7d07
Merge pull request #13833 from AGlass0fMilk/privacy-enabled-cb-patch
...
Add new Gap::EventHandler callbacks to ChainableGapEventHandler class
2020-11-12 08:43:35 +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