Martin Kojtal
276e835e4b
Merge pull request #14181 from hugueskamba/hk_cmake_greentea_mbedtls
...
CMake: Add support for Mbed TLS Greentea tests
2021-02-02 14:17:18 +00:00
Martin Kojtal
956b19775c
Merge pull request #14197 from paul-szczepanek-arm/gtest
...
Upgrade gtest to 1.10
2021-02-01 10:44:11 +00:00
Martin Kojtal
04100a14c2
Merge pull request #14092 from hugueskamba/hk_nfc_m24sr_support
...
NFC: Add support for M24SR driver
2021-02-01 09:39:26 +00:00
Paul Szczepanek
bd5f437896
return OK when stopping advertising that is not active
2021-01-27 16:32:57 +00:00
Paul Szczepanek
2fe6c7aa52
upgrade gtest to 1.10
2021-01-26 17:25:44 +00:00
jeromecoutant
dd602689d2
LoraRadio test update for baremetal support
2021-01-26 14:47:56 +01:00
Hugues Kamba
d0076a9e61
NFC: Add support for M24SR driver
...
The repository https://github.com/ARMmbed/mbed-nfc-m24sr
is no longer required to build applications that require
this driver.
2021-01-26 10:33:06 +00:00
Hugues Kamba
9a1c24e254
CMake: Add support for Mbed TLS Greentea tests
...
The Mbed TLS Greentea tests can now be built with CMake.
2021-01-25 10:48:15 +00:00
Martin Kojtal
83c18dd67c
Merge pull request #14099 from hugueskamba/hk_cmake_greentea_cordio
...
CMake: Add support for CORDIO Greentea tests
2021-01-20 21:14:33 +00:00
Martin Kojtal
dc40c47cfa
Merge pull request #14169 from artokin/nanostack_release_12_8_0_to_master
...
Nanostack release v12.8.0
2021-01-20 14:38:16 +00:00
Martin Kojtal
5860bd3eea
Merge pull request #14126 from urutva/fix-mbedtls-sanity-test
...
tests: Limit PSA crypto tests to Arm-v7M targets
2021-01-20 12:35:44 +00:00
Arto Kinnunen
4d13419f38
Add nsdynmem_tracker_lib.c to CMakeLists.txt
2021-01-20 13:09:06 +02:00
Arto Kinnunen
0810306ca4
Add random_early_detection to CMakeLists.txt
2021-01-20 11:43:43 +02:00
Martin Kojtal
8145477cab
Merge pull request #14098 from hugueskamba/hk_cmake_greentea_lorawan
...
CMake: Add support for LoRaWAN Greentea tests
2021-01-20 08:34:50 +00:00
Martin Kojtal
8effecdf29
Merge pull request #14063 from dustin-crossman/pr/wifi_reserved_region
...
Support arbitrary storage alongside WiFi firmware in external storage on Cypress targets
2021-01-20 08:34:23 +00:00
Martin Kojtal
4324d32d7c
Merge pull request #14148 from mikaleppanen/nano_coverity_corr_master
...
Corrected nanostack coverity warnings
2021-01-20 08:05:00 +00:00
Paul Szczepanek
5d26114458
astyle
2021-01-19 14:47:02 +00:00
Paul Szczepanek
5ef1f161c3
Update cert for testing server
2021-01-19 13:25:16 +00:00
Arto Kinnunen
0c4294b1af
Merge commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508'
...
* commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 715ae9a693..3183d87e41
2021-01-19 11:53:20 +02:00
Arto Kinnunen
a13d6ab0f3
Merge commit 'aad453e0ac69b9de3b3e218c21a423bebd506174'
...
* commit 'aad453e0ac69b9de3b3e218c21a423bebd506174':
Squashed 'connectivity/nanostack/coap-service/' changes from 5aa54b8e62..4a126bd278
2021-01-19 11:52:43 +02:00
Arto Kinnunen
6354a1e8dc
Merge commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793'
...
* commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793':
Squashed 'connectivity/libraries/nanostack-libservice/' changes from 67d7b93ec6..a526cc3f41
2021-01-19 11:43:02 +02:00
Arto Kinnunen
06b913ff7e
Merge commit '2f56ffab52d78986aebc1a290f106f5cf58830f8'
...
* commit '2f56ffab52d78986aebc1a290f106f5cf58830f8':
Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from 86cf0cca08..fb20d3f32c
2021-01-19 11:38:59 +02:00
Arto Kinnunen
908278f771
Merge commit '61315d197624480acfe555a3031228e62a55b239'
...
* commit '61315d197624480acfe555a3031228e62a55b239':
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from ae4ef1b197..b1a8186d75
2021-01-19 11:33:45 +02:00
Martin Kojtal
f8e586492f
Merge pull request #14091 from hugueskamba/hk_cmake_greentea_nfc
...
CMake: Add support for NFC Greentea test
2021-01-19 09:24:59 +00:00
jeromecoutant
7ab7933d12
STM32 / CMAKE / mbedtls : correct CMakeLists.txt files
2021-01-15 11:46:26 +01:00
Hugues Kamba
9985392c09
CMake: Add support for LoRaWAN Greentea test
...
The LoRaWAN Greentea test can now be built with CMake.
2021-01-14 17:35:16 +00:00
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
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
Abbas Bracken Ziad
877436cc29
Replace calls to deprecated functions in the Timer API
2020-11-06 18:00:51 +00:00
Rajkumar Kanagaraj
e7c0d93ad4
CMake: add mbed-os and mbed-baremetal targets
...
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core
The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.
This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +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
c82e8c2337
CMake: Restore rtos api and netsocket presence macro names
...
The old tools rely on the old names to build
2020-11-06 17:25:22 +00:00
Hugues Kamba
0ddc75a8f6
CMake: Fix BLE private address linker error
...
List newly added files in CMake input source files.
2020-11-06 17:25:22 +00:00
Martin Kojtal
8529e88e61
cmake: fix present inclusion
...
We use only _PRESENT macros for components if they are enabled. Use the same in
the mbed.h file or anywhere else.
2020-11-06 17:25:21 +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
e22b19d6db
CMake: Fix build failure due to BLE dir changes
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
b3c614e921
CMake: Fix CORDIO_LL build failure
...
List missing CORDIO_LL source file in CMake source file.
2020-11-06 17:25:19 +00:00
Hugues Kamba
01ddb7d471
CMake: Fix NRF52840_DK build failure
...
* Remove duplicated ARM toolchain directory
* Link with archived cryptocell 310 libraries instead
of adding them as source files
* Provide default MBED_BOOT_STACK_SIZE definition
in scatter file as is done for GCC_ARM linker file
2020-11-06 17:25:19 +00:00
Martin Kojtal
f856d6b0a3
CMake: Fix include path for Cryptocell
2020-11-06 17:25:19 +00:00
Hugues Kamba
67a20580cf
CMake: Fix build failure due to lora, cryptocell, and nfc dirs move
2020-11-06 17:25:19 +00:00
Hugues Kamba
fbaeae5a8e
CMake: Fix failure due to MbedTLS rdir relocation
2020-11-06 17:25:19 +00:00
Hugues Kamba
eb4102be48
CMake: Fix failure due to BLE component dir move
2020-11-06 17:25:19 +00:00
Hugues Kamba
20e19de028
CMake: Fix breakage due to BLE dir move
2020-11-06 17:25:19 +00:00
Hugues Kamba
c30d9259e9
CMake: Fix build failure due to nanostack dir move
2020-11-06 17:25:19 +00:00
Hugues Kamba
76fd50a547
CMake: Fix access to cellular drivers
2020-11-06 17:25:18 +00:00
Hugues Kamba
e744208c07
CMake: Fix build failure due to drivers and lwipstack dirs move
2020-11-06 17:25:18 +00:00
Hugues Kamba
24c79a4b47
CMake: Fix build failure due to nanostack drivers move
2020-11-06 17:25:17 +00:00
Hugues Kamba
8b21238e08
CMake: Fix failure due to events and netsocket dirs changes
2020-11-06 17:25:17 +00:00
Hugues Kamba
396ddc7a4d
CMake: Fix build due to system_storage and netsocket dir move in master
2020-11-06 17:25:17 +00:00
Hugues Kamba
bd45acba8c
CMake: Fix failure due to kvstore and cellular dirs changes
2020-11-06 17:25:16 +00:00
Hugues Kamba
554a5d3597
CMake: Fix failure due to restructure of rtos and ppp directories
2020-11-06 17:25:16 +00:00
Hugues Kamba
59a7d77abf
CMake: Add support for connectivity dir
2020-11-06 17:25:15 +00:00
Martin Kojtal
c29a2e2338
Merge pull request #13811 from pan-/ble-conditional-compilation
...
Ble conditional compilation
2020-11-06 16:11:10 +00:00
Martin Kojtal
c5bae34e9c
Merge pull request #13843 from marcelbrucker/fix_linking_issue
...
Fix linking issue #13793 when using -O0 compiler optimization in ARMC…
2020-11-03 14:01:25 +00:00
filics
df0538923c
Fix linking issue #13793 when using -O0 compiler optimization in ARMC6 toolchain
2020-11-02 20:04:15 +01:00
Martin Kojtal
eb6b53ac92
Merge pull request #13753 from AGlass0fMilk/rm-nordic-bsp
...
Remove Unneeded nordic-bsp Folder from Cordio
2020-11-02 14:14:33 +00:00
Martin Kojtal
6db63e495b
Merge pull request #13822 from paul-szczepanek-arm/fix-preiod
...
BLE fix periodic advertising list function parameter checking
2020-11-02 14:13:40 +00:00
George Beckstein
911cee69f2
Add new Gap::EventHandler callbacks to ChainableGapEventHandler class
2020-10-29 15:39:41 -04:00
Paul Szczeanek
34c75ffb45
fix wrong advertising set handle being passed to handler
2020-10-28 08:42:58 +00:00
Paul Szczeanek
9e509f435b
fix incorrect parameter check in periodic advertising
2020-10-27 15:09:30 +00:00
Vincent Coubard
ad37f560c2
BLE: Set host default version to 5.1
...
Disable 5.2 event handling if not enabled.
2020-10-27 14:36:59 +00:00
Vincent Coubard
87ea47f211
BLE: Refactor Gap::reset to make it more readable
2020-10-27 14:22:54 +00:00
Martin Kojtal
24c4f308be
Merge pull request #13796 from balajicyp/topic/wep_security_fix_test_readme
...
Update README.md to remove WEP test case with NULL data
2020-10-27 14:04:12 +00:00
pea-pod
507181d262
Change MBED_STATIC_ASSERTs version for built-in
2020-10-27 08:30:40 -05: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
Vincent Coubard
f3031da424
BLE: Disable handling of BT5.2 event in the controller.
...
These events are not used nor triggered by any of our APIs. It saves ~1.4k of flash
2020-10-23 16:44:29 +01:00
Vincent Coubard
557eac0617
BLE: Conditional compilation of the security manager
...
Depends on the role (central or peripheral), signing enabled and secure connection enabled.
2020-10-23 16:19:38 +01: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
Vincent Coubard
2e859cdab4
BLE: Conditionally compile PAL depending on the feature selected.
...
Previously (most) of the code was not pulled in because the pal interface was not virtual.
2020-10-23 12:17:31 +01:00
Vincent Coubard
26300912d3
BLE: Prevent code generation from GattClient when not used.
2020-10-23 10:37:28 +01:00
Balaji Subramanyam
7824340676
Update README.md to remove WEP test case with NULL data
2020-10-21 10:00:27 -07:00
Martin Kojtal
27d10506e0
Merge pull request #13785 from pan-/ble-fix-prep-write-queue-access
...
BLE: Fix access to attcCb.onDeck and attsCb.prepWriteQueue access
2020-10-20 11:10:11 +01:00
Martin Kojtal
5d60e65ae6
Merge pull request #13787 from ristohuhtala/update-mbed-coap-master
...
Update Mbed CoAP to v5.1.8
2020-10-20 11:09:45 +01:00
Martin Kojtal
1b663a37cf
Merge pull request #13779 from paul-szczepanek-arm/fix-scan-state
...
BLE: Fix scan state and host resolution of RPAs
2020-10-20 11:09:24 +01:00
Risto Huhtala
0bb9eb6563
Update Mbed CoAP to v5.1.8
2020-10-20 08:18:24 +03:00
Vincent Coubard
3cab37793b
BLE: Fix index access to attcCb.onDeck in Cordio.
...
The connection starts at 1, not 0. The entry in the array should be connId - 1
2020-10-19 17:23:42 +01:00
Vincent Coubard
542b725545
BLE: Fix incorrect index used to access attsCb.prepWriteQueue in Cordio
...
The connection id starts at the value 1. The entry accessed in the array should be connId - 1
2020-10-19 17:21:49 +01:00
Paul Szczeanek
934e111107
fix advertising report not terminating early for unwanted reports
2020-10-19 15:47:40 +01:00
Paul Szczeanek
2c906110fc
missing host resolution for rpa when extended advertising is available
2020-10-19 15:47:39 +01:00
Paul Szczeanek
0931709516
replace current bool state combination for keeping track of ble scanning with an enum that covers all states
2020-10-19 15:47:39 +01:00
jeromecoutant
7c214cbd68
STM32WB: STM32Cube_FW_WB_V1.8.0
...
https://github.com/STMicroelectronics/STM32CubeWB
2020-10-19 14:36:02 +02:00
Martin Kojtal
bf90b7736b
Merge pull request #13697 from jeromecoutant/PR_L5_130
...
STM32L5 update drivers version to CUBE V1.3.1
2020-10-19 13:21:32 +01:00
Martin Kojtal
b242be1b08
Merge pull request #13734 from AGlass0fMilk/chainable-event-handler
...
BLE: Introduce ChainableEventHandler and subclasses
2020-10-19 12:27:56 +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
00aee87ef2
Merge pull request #13654 from balajicyp/topic/wep_security_fix_testcase_update
...
Summary of changes
Remove WEP security Test Case with NULL as WEP security Key are sequence of Hex Values , the character "NULL" is (0x00) it is a valid value ( for ex: this is key index, followed by length and hex key array).
Impact of changes
Remove the test case for NULL( "" )key with NSAPI_SECURITY_WEP to test return value with NSAPI_ERROR_PARAMETER
The set_credentials(const char *ssid, const char *pass, nsapi_security_t security) API has no key length, the key length is derived by using strlen(pass), which works if the pass ( is a string) , but in case of NSAPI_SECURITY_WEP and NSAPI_SECURITY_WPA2_ENT, the key does not happen to be string but a hex char array.
WEP security Key are sequence of Hex Values , the character "NULL" is (0x00) it is a valid value ( for ex: this is key index, followed by length and hex key array).
The key index 0 , 1, 2, 3 are keys used for an WiFi Access point.
2020-10-19 08:10:05 +01:00
jeromecoutant
4b999b3e7f
STM32L5: STM32Cube_FW_L5_V1.3.0
...
https://github.com/STMicroelectronics/STM32CubeL5
2020-10-16 17:31:58 +02: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
75f3b6cb1c
Merge pull request #13717 from ARMmbed/feature-ble-host-privacy
...
Feature ble host privacy
2020-10-15 15:07:54 +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
Martin Kojtal
2776687dac
Merge pull request #13707 from paul-szczepanek-arm/fix-esp8266
...
Fix ESP8266
2020-10-15 13:51:49 +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
George Beckstein
9a6d207585
Update GattServer Callback API
...
Update parameters passed to onDataSent, onUpdatesEnabled/Disabled, and onConfirmationReceived callbacks.
Deprecate single-callback-registering functions for event handling in lieu of the new EventHandler-based API.
Introduce new GattServer::EventHandler callback functions to replace the deprecated versions.
2020-10-14 12:44:12 -04:00
George Beckstein
cda2c8bb8d
Introduce ChainableGapEventHandler subclass of ChainableEventHandler
...
The ChainableGapEventHandler enables chaining together Gap::EventHandlers so separate parts of an application can be notified of Gap events as needed. The application can register multiple Gap::EventHandler objects to one ChainableGapEventHandler and then set the global Gap::EventHandler to the ChainableGapEventHandler. All registered EventHandlers will then be called when a Gap Event occurs.
2020-10-14 12:44:09 -04:00
George Beckstein
751674b962
Introduce ChainableEventHandler and ChainableGattServerEventHandler classes.
...
Common functionality has been split off into a generic ChainableEventHandler for use by other EventHandler implementations. The ChainableEventHandler is essentially singly-linked list that propagates callbacks to all objects in the list.
The ChainableGattServerEventHandler enables chaining together GattServer::EventHandlers. An application can register separate event handlers (eg: for different services that need to handle GattServer events) and then set the global GattServer::setEventHandler to the instance of ChainableGattServerEventHandler with all registered GattServer::EventHandlers.
2020-10-14 12:42:25 -04:00
Vincent Coubard
5f1b716bfb
Merge pull request #13760 from paul-szczepanek-arm/privacy-fix-ifdef
...
Fix conditional compilation for ble
2020-10-14 13:35:16 +01:00
Paul Szczeanek
119d459361
fix removed friend function
2020-10-14 09:58:11 +01:00
Paul Szczeanek
9f09bb4956
rename private address controller to match security manager
2020-10-13 17:40:37 +01:00
Paul Szczeanek
3f9798b52d
Fix conditional compilation based on config
2020-10-13 17:32:49 +01:00
Vincent Coubard
2a4a097a93
BLE: Take advantage of controller based address resolution on WB55
2020-10-13 16:16:48 +01:00
Vincent Coubard
e1842ccd87
BLE: Workaround for WB55 connection event
...
The connection event reported by the WB55 is incorrect if controller privacy is not enable and the peer connects with an unknown private resolvable address: The RPA field contains the connection address (it should be empty) and the peer address is all FF while it should be equal to the connection address.
2020-10-13 16:16:17 +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
05489818e9
Merge pull request #13610 from boraozgen/bugfix/deactivate-context
...
Fix #13490 Cellular disconnect does not deactivate context
2020-10-13 11:22:33 +01:00
Martin Kojtal
83579b1aa5
Merge pull request #13704 from paul-szczepanek-arm/reset-fix
...
ble: reset transport last and reset the default chars in gatt server
2020-10-13 11:21:21 +01: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
Martin Kojtal
35f97f4e98
Merge pull request #13729 from AGlass0fMilk/implicit-cccd
...
BLE: Enable getting an implicitly-created CCCD through `GattCharacteristic::getDescriptor`
2020-10-13 11:18:40 +01:00
Martin Kojtal
6fc886a37f
Merge pull request #13742 from mikaleppanen/radius_init
...
Add initialization to radius retry values
2020-10-13 11:16:25 +01:00
George Beckstein
46bc1577eb
Ignore unneeded Nordic BSP files
2020-10-12 23:28:15 -04:00
Balaji Subramanyam
ada44a62f4
Add nsapi types for IP TOS and fix opt length check
2020-10-12 13:09:43 -07:00
Johnny Robeson
e27571fb83
This fixes lto type mismatch warnings in 3 functions
...
```sh
[Warning] pal_rtc.h@76,6: type of 'PalRtcCompareSet' does not match original declaration [-Wlto-type-mismatch]
[Warning] pal_rtc.h@73,6: type of 'PalRtcEnableCompareIrq' does not match original declaration [-Wlto-type-mismatch]
[Warning] pal_rtc.h@74,6: type of 'PalRtcDisableCompareIrq' does not match original declaration [-Wlto-type-mismatch]
```
2020-10-12 07:02:18 -04:00
George Beckstein
f9af08c0ad
Add error if allocation of cccd attribute fails
2020-10-09 09:47:05 -04: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
George Beckstein
fa2c3633dd
Add doxygen guard to private function
2020-10-07 13:32:17 -04:00
George Beckstein
eccb3e9bda
Make setImplicitCCCD private and add impl::GattServer as a friend class
2020-10-07 13:31:09 -04:00
George Beckstein
ca9b70582c
Remove nullptr check when deleting _implicit_cccd
2020-10-07 13:12:08 -04: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
George Beckstein
5c82533d06
Enabled getting an implicitly-created CCCD through GattCharacteristic::getDescriptor
2020-10-06 19:26:32 -04: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
Vincent Coubard
f32141a051
BLE: Notify application when advertising start or stop
...
Applicable for legacy and extended advertising.
2020-10-05 11:54:05 +01:00
Paul Szczeanek
6ee5740941
use _initiating to block scan manipulation
2020-10-05 11:54:05 +01:00
Paul Szczeanek
f0bbc4c7ae
use enum for state
2020-10-05 11:54:05 +01:00
Paul Szczeanek
b0086919ed
scan forever and allow cancellation
2020-10-05 11:54:05 +01:00
Paul Szczeanek
18c218b027
allow host resolved address to be used for connection
2020-10-05 11:54:04 +01:00
Vincent Coubard
4744c87b6c
Set privacy mode to device mode in LL.
...
Do not enable address resolution when a new entry is added.
2020-10-05 11:54:04 +01:00
Vincent Coubard
bb35cba134
BLE: Add function to signal privacy initialization.
2020-10-05 11:54:04 +01:00
Paul Szczeanek
5216a9aa8c
only apply policy if privacy enabled
2020-10-05 11:54:04 +01:00
Paul Szczeanek
d4360383e1
do not reject conn if no bond
2020-10-05 11:54:04 +01:00
Paul Szczeanek
b67230cbdb
apply peripheral policy on ll privacy
2020-10-05 11:54:04 +01:00
Paul Szczeanek
ec2808be31
filter based on resolving list size
2020-10-05 11:54:04 +01:00
Paul Szczeanek
457268825d
add nrf override for host resolution
2020-10-05 11:54:04 +01:00
Paul Szczeanek
03cc0f9940
host privacy config option to enable it
2020-10-05 11:54:04 +01:00
Vincent Coubard
76f89f6f89
BLE: Factorize peripheral privacy applied when connected
2020-10-05 11:54:04 +01:00
Vincent Coubard
e4b317c1b1
BLE: Add workaround for cordio use of global random address
...
In Cordio, the global random address is used when the local device is connected instead of the advertising set one.
This can cause pairing to fail if the advertising set address and the global random address are different.
This workaround forces the global random address to be set when advertising is started and extended advertising is present.
2020-10-05 11:54:04 +01:00
Vincent Coubard
8fe2d7ebbe
BLE: Report connection internally when address resolution has completed.
2020-10-05 11:54:03 +01:00
Vincent Coubard
8716298ea2
BLE: Update DB entry if current entry doesn't match requested EDIV and RAND
2020-10-05 11:54:03 +01:00
Vincent Coubard
4c1afe8e83
BLE: Update identity address when retrieved from the DB
2020-10-05 11:54:03 +01:00
Vincent Coubard
7c8a754667
BLE: Remove set advertising timeout from SM pal
2020-10-05 11:54:03 +01:00
Vincent Coubard
02667389db
BLE: Fix insertion to host resolving list.
2020-10-05 11:54:03 +01:00
Vincent Coubard
3a632a3685
BLE: Check if the resolving list item is populated instead of IRK validity
2020-10-05 11:54:03 +01:00
Vincent Coubard
1daee237e9
BLE: Queue address resolution in event queue to avoid synchronous execution
...
Otherwise when no IRK are available, the process will execute synchronously, calling the callback before the return of the function.
2020-10-05 11:54:03 +01:00
Vincent Coubard
dee20fe5a7
BLE: Check if extended advertising is available to clear advertising set upon connection
2020-10-05 11:54:03 +01:00
Paul Szczeanek
f126793f20
Add host reolustion for advertising and connections
2020-10-05 11:53:59 +01:00
Paul Szczeanek
593c1776b4
add EventList class for storing pending events
2020-10-05 11:53:23 +01:00
Paul Szczeanek
44b2e73ef1
Add setters to events
2020-10-05 11:53:23 +01:00
Paul Szczeanek
df17942c2c
remove unused enhanced conn complete
2020-10-05 11:53:23 +01:00
Paul Szczeanek
0a3cd69fc6
event handler should not affect internal state
2020-10-05 11:53:22 +01:00
Paul Szczeanek
685af00fd5
split resolve addres into cache and not cache
2020-10-05 11:53:22 +01:00
Vincent Coubard
4859dbe426
BLE: Set identity address to random static.
...
This also ensure the random static address used by gap is the correct one.
2020-10-05 11:53:22 +01:00
Vincent Coubard
0b98682109
BLE: Add function to set the identity address used by the controller/platform.
...
The function to get it has been removed as this operation is driven by the security manager.
2020-10-05 11:53:22 +01:00
Vincent Coubard
5cb05958a9
BLE: Add function to get the device random static address.
2020-10-05 11:53:22 +01:00
Vincent Coubard
f897729d5c
Cordio: Add API to set the local identity address.
2020-10-05 11:53:22 +01:00
Vincent Coubard
9eac36879a
BLE: improve scan state bookkeeping
2020-10-05 11:53:22 +01:00
Vincent Coubard
9df7fc9b7e
BLE: Fix state update when event handler not present
2020-10-05 11:53:22 +01:00
Vincent Coubard
48f4cfbe04
BLE: return stack busy instead of invalid state when applicable
...
enabling/disabling scanning and advertising operations can be prevented if the previous operations hasn't completed.
Return that the stack is busy and cannot fulfill the request at the moment rather than the state is invalid.
2020-10-05 11:53:22 +01:00
Vincent Coubard
3c22f8ae1d
BLE: privacy tracing cleanup
2020-10-05 11:53:22 +01:00
Vincent Coubard
19d89366d7
BLE: Private address when initiating connection
2020-10-05 11:53:22 +01:00
Vincent Coubard
c39d03a531
BLE: Implement private address rotation for initiating.
2020-10-05 11:53:22 +01:00
Vincent Coubard
4685322f4e
BLE: Add routine that computes the random address to use depending on the procedure.
2020-10-05 11:53:21 +01:00
Vincent Coubard
559640cbd5
BLE: check LL resolution availability before enabling it.
2020-10-05 11:53:21 +01:00
Vincent Coubard
e5128689aa
BLE: Fix random static address storage
2020-10-05 11:53:21 +01:00
Vincent Coubard
924f8b1dc9
BLE: Update state when scan started/stopped callback received.
2020-10-05 11:53:21 +01:00
Vincent Coubard
d8c6820cbd
BLE: Add callback for scan started and stoped.
2020-10-05 11:53:21 +01:00
Vincent Coubard
b8549ec91d
BLE: rename address resolution handler.
2020-10-05 11:53:21 +01:00
Vincent Coubard
4b853956d9
BLE: Add resolvable and non resolvable private address rotation with advertising
2020-10-05 11:53:15 +01:00
Vincent Coubard
f810ec4c2a
BLE: Add initiating flag into gap to track if the local device tries to connect to a peer.
2020-10-05 11:50:34 +01:00
Vincent Coubard
13771b8172
BLE: Remove address resolution from GAP pal
2020-10-05 11:50:34 +01:00
Vincent Coubard
7e16ee448e
BLE: Bind address controller with Gap
2020-10-05 11:50:33 +01:00
Vincent Coubard
313676a089
BLE: Add gap handlers to be informed when advertising as started or been stopped
2020-10-05 11:50:33 +01:00
Vincent Coubard
23f7a187fb
BLE: Pal event queue pop before execution.
...
A race condition was present if a single event was present in the event queue and the event was generating a new event.
2020-10-05 11:50:33 +01:00
Vincent Coubard
237278be24
BLE: Update security manager to use the PrivateAddressController
...
Resolution list has been removed from the pal as this is handled by the PrivateAddressController.
2020-10-05 11:50:33 +01:00
Vincent Coubard
44681ee982
BLE: Add PrivateAddressController module.
...
It controls private address generation and host or controller address resolution.
2020-10-05 11:50:33 +01:00
Vincent Coubard
7dacae73b2
BLE: Add cordio implementation of PalPrivateAddressController
2020-10-05 11:50:33 +01:00
Vincent Coubard
f1dbc893f3
BLE: Introduce PalPrivateAddressController
...
This PAL interface is responsible for generating, resolving private address and maintaining the controller or host resolving list.
It also indicates to upper level if LL resolution is supported or not and allows them to enable it.
2020-10-05 11:50:33 +01:00
Vincent Coubard
742356158f
BLE: Add resolvable_address_timeout_t datatype.
2020-10-05 11:50:33 +01:00
Vincent Coubard
bc860db7c5
ble: Add privacy mode to the pal
2020-10-05 11:50:32 +01:00
Vincent Coubard
f7dfc5c9f2
BLE: Update ble::Duration to support default values
2020-10-05 11:50:32 +01: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
Paul Szczeanek
97f10a11cc
fix missed member initialisation
2020-10-02 17:23:10 +01:00
Paul Szczeanek
e9ac83a92c
reset transport last and reset the default chars in gatt server
2020-10-02 16:14:20 +01: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
Martin Kojtal
05babec988
Merge pull request #13607 from teetak01/coap-5.1.7-for-master
...
Update Mbed CoAP to v5.1.7
2020-09-29 15:22:51 +01:00
Balaji Subramanyam
7f2c00b54c
set ip type of service to set specific precedence for QoS
2020-09-25 15:25:08 -07:00
Balaji Subramanyam
fcb3889445
set ip type of service to set specific precedence for QoS
2020-09-25 14:57:55 -07:00
Bora Özgen
0604c49a2e
Apply suggestion from review
2020-09-23 16:04:23 +02:00
Martin Kojtal
d896ea34f7
Merge pull request #13653 from jrobeson/ble-incorrectly-qualified-namespace
...
Use impl namespace in GattServer att_cb registration, not ble
2020-09-23 10:05:06 +01:00
Martin Kojtal
d829ac3fa8
Merge pull request #13649 from LDong-Arm/mbed-trace-default
...
Make mbed-trace available to bare metal
2020-09-22 16:24:18 +01:00
Balaji Subramanyam
e25fdf298e
Remove WEP security Green Tea Test case with NULL
2020-09-21 18:39:01 -07:00
Johnny Robeson
fac3ebb33b
Use impl namespace in GattServer att_cb registration, not ble
...
If this is the correct fix, then this shouldn't have passed CI, should
it?
2020-09-21 17:54:16 -04:00
Martin Kojtal
bc7e4d668c
Merge pull request #13545 from evva-sfw/fix_enable_disable_ble_features
...
Fix enabling/disabling BLE-Features
2020-09-21 16:28:35 +01:00
Martin Kojtal
a02ea2f43a
Merge pull request #13623 from rajkan01/refactor_docs
...
Refactor mbed-os design docs
2020-09-21 16:28:13 +01:00
Lingkai Dong
ca157c9eb6
nanostack-libservice: add config to indicate its availability
2020-09-21 14:59:32 +01:00
Bora Özgen
9f24c045d7
Apply astyle
2020-09-21 14:37:56 +02:00
Rajkumar Kanagaraj
8a15506d0d
Refactor nfc and connectivity docs
2020-09-17 16:05:54 +01:00
phst
c0021e2147
Add missing defines to activate/deactivate BLE features
2020-09-17 11:02:25 +02:00
Martin Kojtal
c4562be8d8
Merge pull request #13602 from balajicyp/topic/wep_security_fix
...
WEP Security fix for Cypress Target Kits
2020-09-17 09:07:55 +01:00
Martin Kojtal
4809f517f6
Merge pull request #13432 from MultiTechSystems/fix-PDP-type
...
Enable PDP type IPV6 and IPV4V6 to support more cellular service prov…
2020-09-17 09:00:26 +01:00
Teemu Takaluoma
cbd3685575
Update Mbed CoAP to v5.1.7
2020-09-14 12:29:44 +03:00
Balaji Subramanyam
7d0e1806d4
WEP Security fix for Cypress Target Kits
2020-09-11 11:21:11 -07:00
Bora Özgen
8483d59879
Fix #13490 Cellular disconnect does not deactivate context
...
(for some cases)
2020-09-10 16:19:31 +02:00
Martin Kojtal
98beadde45
Merge pull request #13579 from paul-szczepanek-arm/ifbug
...
double negation fixed and ifs normalised
2020-09-10 14:48:02 +01:00
Martin Kojtal
8a22d3500a
Merge pull request #13584 from ARMmbed/revert-13011-alzix/both-artifacts
...
Revert "Always build both .hex and .bin files"
2020-09-10 12:25:02 +01:00
Martin Kojtal
267a5ac5bf
Merge pull request #13538 from sparkfun/ambiq-apollo3-dev-squash
...
Ambiq AMA3B1KK and SparkFun Artemis Boards Target Update
2020-09-10 11:53:04 +01:00
Martin Kojtal
5d245ad553
Revert "Always build both .hex and .bin files"
2020-09-10 10:19:04 +01:00
Wenn0101
e97ebc033a
Apollo3 and artemis code review changes, remvoe dead code, add missing spdx identifiers, fix style
2020-09-09 15:47:23 -06:00
Paul Szczeanek
77ba844ef9
double negation fixed and ifs normalised
2020-09-09 17:08:32 +01:00
Martin Kojtal
3b5ab54618
Merge pull request #13542 from jeromecoutant/PR_DISCO_L4S
...
B_L4S5I_IOT01A: new ST target
2020-09-09 15:54:27 +01:00
Martin Kojtal
c99ff74928
Merge pull request #13475 from pan-/ble-remove-user-facing-abstraction
...
Ble remove user facing abstraction
2020-09-09 15:13:01 +01:00
jeromecoutant
423bea50e6
B_L4S5I_IOT01A: BLE support
2020-09-09 15:19:21 +02:00
jeromecoutant
7dfe7024f0
B_L4S5I_IOT01A: HW crypto support
2020-09-09 15:19:21 +02:00
Martin Kojtal
6fb5e609c3
Merge pull request #13573 from mikaleppanen/mesh_radius_conf
...
Add RADIUS configuration options to Wi-SUN
2020-09-09 10:44:45 +01:00
Martin Kojtal
ef43cb52cb
Merge pull request #13518 from talorion/feature-custom-cert-tls-tests
...
add option for a custom cert in connectivity-netsocket-netsocket-tls
2020-09-09 10:14:14 +01:00
Wenn0101
68d59d3781
Add new targets, Ambiq Apollo3 and Sparkfun Electronics, SFE, boards
2020-09-09 01:13:05 -06: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
Vincent Coubard
ea47ee0808
Cypress BLE driver: Fix removal of mbed.h
2020-09-07 14:32:43 +01:00
Vincent Coubard
904b7f5163
BLE: reintroduce default implementation GattClient::discoverServices.
2020-09-07 14:32:18 +01: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
Vincent Coubard
4bd7f8cfc4
BLE: fix code indentation
2020-09-04 16:39:23 +01:00
Vincent Coubard
f116604024
BLE: correctness improvments
...
Remove unused variable, improve header inclusion, fix initialization list order,
2020-09-04 13:26:29 +01:00
Vincent Coubard
702c1b9756
BLE: Fixed used of parent pointer in implementation classes.
2020-09-04 13:25:32 +01:00
Lingkai Dong
d6a2269de3
Restructure platform/randlib
...
* Move mbed-client-randlib/ headers into include/
(Note: we don't rename it to "randlib" because this library
is mirrored to https://github.com/ARMmbed/mbed-client-randlib ,
and "mbed-client-randlib" may be reference by some projects)
* Move the standalone local unit test into tests/unit
2020-09-02 12:31:00 +01:00
Lingkai Dong
9b1e0a38fe
Move mbed-client-randlib -> platform/randlib
2020-09-02 12:31:00 +01:00
Lingkai Dong
a88438ce04
Move mbed-trace into platform
2020-09-02 12:30:59 +01:00
Gregor Mayramhof
864308e020
add option for a custom cert in connectivity-netsocket-tests-tests-netsocket-tls
2020-09-01 09:18:43 +02: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
Martin Kojtal
fb3d1aa790
Merge pull request #13497 from artokin/sync_mbed_mesh_api_update_master
...
Updating mbed-mesh-api
2020-08-31 10:57:15 +01:00
Martin Kojtal
31ff368d17
Merge pull request #13493 from balajicyp/topic/cypress_target_ssid_fix
...
Fix SSID bug on Cypress Targets
2020-08-31 10:48:00 +01:00
talorion
c4b93fee9f
Update connectivity/drivers/802.15.4_RF/atmel-rf-driver/source/NanostackRfPhyAT86RF215.cpp
...
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
2020-08-27 21:13:24 +02:00
talorion
6bf4dda279
Update connectivity/libraries/ppp/source/ppp_service.cpp
...
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
2020-08-27 21:12:56 +02:00
Gregor Mayramhof
2b4268ac16
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
...
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
2020-08-27 21:08:55 +02:00
talorion
6488381c8c
made sslctxID constexpr
2020-08-27 17:44:44 +02:00
Gregor Mayramhof
65fa697ca9
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 17:40:02 +02:00
talorion
99adbfa545
fixed compile errors
2020-08-27 17:16:26 +02:00
Gregor Mayramhof
124fbd4b79
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 16:16:37 +02:00
talorion
4670c7f2c4
fixed compile errors
2020-08-27 08:22:39 +02:00
Gregor Mayramhof
0e032eaab0
Update connectivity/libraries/ppp/source/ppp_service.cpp
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 07:45:16 +02:00
Gregor Mayramhof
8a3425ed3d
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 07:45:06 +02:00
talorion
f901436125
resolved astyle - coding format.
2020-08-26 20:21:58 +02:00
talorion
73116b7ce0
suggested change by Hugues Kamba
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-26 18:43:14 +02:00
talorion
f8d90dd5b0
suggested change by Hugues Kamba
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-26 18:29:57 +02:00
Gregor Mayramhof
f789de3399
Update connectivity/drivers/cellular/QUECTEL/BC95/QUECTEL_BC95_CellularStack.cpp
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-26 18:09:20 +02: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
Martin Kojtal
555c7dbe1a
Merge pull request #13416 from dustin-crossman/pr/cysbsyskit_update_6.2.0
...
Update CYSBSYSKIT_01
2020-08-26 07:14:46 +01:00
Balaji Subramanyam
3387c86f0b
Fix SSID bug on Cypress Targets
2020-08-25 17:22:15 -07:00
Vincent Coubard
5943a7360c
BLE: Fix uses of mbed.h
2020-08-25 12:28:40 +01:00
Vincent Coubard
cf91053f93
BLE: Move cordio implementation include into source folder
2020-08-25 11:34:00 +01:00
Vincent Coubard
029ed3a0c5
BLE: Cleanup BLEInstanceBas implementation
2020-08-25 11:33:59 +01:00
Vincent Coubard
2af0f88fa6
BLE: Cleanup AttServerMessage implementation
2020-08-25 11:33:59 +01:00
Vincent Coubard
6df7846bbb
BLE: Remove cordio namespace
2020-08-25 11:33:59 +01:00
Vincent Coubard
d914cb1fb2
BLE: Cleanup PalSigningEventMonitor.
2020-08-25 11:33:59 +01:00
Vincent Coubard
f6b40e0e66
BLE: Cleanup pal generic access service
2020-08-25 11:33:59 +01:00
Vincent Coubard
b42abd0e25
BLE: cleanup PalEvent queue and implementation
2020-08-25 11:33:59 +01:00
Vincent Coubard
52b132e042
BLE: Cleanup pal security manager
2020-08-25 11:33:59 +01:00
Vincent Coubard
2952a5b327
BLE: Cleanup pal Gap
2020-08-25 11:33:59 +01:00
Vincent Coubard
3f3c11b113
BLE: Move GattServer implementation from generic to cordio
2020-08-25 11:32:38 +01:00
Vincent Coubard
e59e1b5ef6
BLE: Cleanup of pal AttClient and GattClient
...
Fix interface namespace being not used.
Move generic AttClient to GattClient adapter back into the pal
2020-08-25 11:32:38 +01:00
Vincent Coubard
bc259c561d
BLE: cleanup generic sources
2020-08-25 11:32:37 +01:00
Vincent Coubard
57b5f711e5
BLE: Move source/DiscoveredCharacteristic into source/gatt/DiscoveredCharacteristic
2020-08-25 11:26:28 +01:00
Vincent Coubard
12388d77d4
BLE: move source/impl into source/cordio
2020-08-25 11:26:28 +01:00
Vincent Coubard
241c69f50d
BLE: Cleanup public headers
2020-08-25 11:26:28 +01:00
Vincent Coubard
7cbc0e38a4
BLE: Clang tidy on public headers.
2020-08-25 11:26:28 +01:00
Vincent Coubard
0baa92d70c
BLE: Expose HCI driver in public API.
2020-08-25 11:26:28 +01:00
Vincent Coubard
dd54baecf6
BLE: Move Cordio implementation in source/impl
2020-08-25 11:26:27 +01:00
Vincent Coubard
cc78150afd
BLE: Move generic lib file into source/generic .
2020-08-25 11:26:27 +01:00
Vincent Coubard
134cb885f5
BLE: Move cordio_stack out of TARGET_CORDIO
2020-08-25 11:26:27 +01:00
Vincent Coubard
94cf390706
BLE: Fix address copy in Nordic HCI driver.
2020-08-25 11:26:26 +01:00
Vincent Coubard
63ac8fac3c
BLE: Add compatibility path for headers.
2020-08-25 11:26:26 +01:00
Vincent Coubard
13c358717f
BLE: Move GATT public header into ble/gatt
...
Move private headers GattServerEvents.h, GapEvents,h and GapType.h in relevant part of the source tree.
2020-08-25 11:26:26 +01:00
Vincent Coubard
27cb03824e
BLE: Move common publi headers into ble/common
2020-08-25 11:26:26 +01:00
Vincent Coubard
d3427ca495
BLE: Move gap public header at the root.
2020-08-25 11:26:26 +01:00
Vincent Coubard
e11bfb6514
BLE: move PAL headers into source/pal
2020-08-25 11:26:26 +01:00
Vincent Coubard
a45325995b
BLE: Move BleInstanceBase.h into source.
2020-08-25 11:26:26 +01:00
Vincent Coubard
c2a09abee8
BLE: Move SecurityDB related files into generic sources
2020-08-25 11:26:26 +01:00
Vincent Coubard
381700a250
BLE: Move generic implementation and headers into source/generic
2020-08-25 11:26:26 +01:00
Vincent Coubard
41c8c22a96
BLE: Warning cleanup
...
- Missing default assignment operator
- Field order in construction list
- Typo
- Unused header
2020-08-25 11:26:26 +01:00
Vincent Coubard
c773870d56
BLE: Bind interface to private implementation.
2020-08-25 11:26:26 +01:00
Vincent Coubard
0929478b7f
BLE: Move constructor from transport to private section
2020-08-25 11:26:25 +01:00
Vincent Coubard
cf3ede0191
BLE: GattServer PIMPL
2020-08-25 11:26:25 +01:00
Vincent Coubard
2b48d4826e
BLE: SecurityManager PIMPL
2020-08-25 11:25:07 +01:00
Vincent Coubard
e3cf59e6cd
ble: GattClient PIMPL
2020-08-25 11:25:07 +01:00
Vincent Coubard
909676d159
PIMPL for ble::Gap
2020-08-25 11:11:58 +01:00
Martin Kojtal
a32168c819
Merge pull request #13473 from artokin/nanostack_relase_12_4_0_to_master
...
Nanostack release v12.4.0
2020-08-25 09:40:45 +01:00
Martin Kojtal
d6e93b182c
Merge pull request #13462 from paul-szczepanek-arm/cancel-connect-no-address
...
BLE remove address from API to cancel connect
2020-08-25 08:46:14 +01:00
talorion
fa0ab3e31f
resolved astyle - coding format.
2020-08-24 15:34:20 +02:00
talorion
e3080a6e0e
fixed warnings: static method defined but not used
2020-08-24 15:34:20 +02:00
talorion
f58633c42e
fixed warnings: deprecated call of Timer::read_ms()
2020-08-24 15:34:20 +02:00
talorion
9af18af756
fixed warnings: comparison of integer expressions of different signedness
2020-08-24 15:34:20 +02:00
talorion
2a6f00642e
fixed warnings: comparison of integer expressions of different signedness
2020-08-24 15:34:20 +02:00
talorion
c7d520ee74
fixed warnings: deprecated call of bool rtos::Semaphore::try_acquire_for(uint32_t)
2020-08-24 15:34:19 +02:00
talorion
30e0ff60d9
fixed warnings: deprecated call of events::EventQueue::call_in(int. F)
2020-08-24 15:34:19 +02:00
Arto Kinnunen
faaab75605
Merge commit '6e89573be1c458bf3cfa6f1677a31648b4686284' into nanostack-as_subtree
...
* commit '6e89573be1c458bf3cfa6f1677a31648b4686284':
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 293edc63b8..ae4ef1b197
2020-08-24 15:36:54 +03:00
Martin Kojtal
1950ac61a9
Merge pull request #13472 from talorion/master
...
Fix for targets where DEVICE_SPI or DEVICE_INTERRUPTIN are defined but not both
2020-08-24 13:20:13 +01:00
talorion
ca74659780
fixed warnings: comparison of integer expressions of different signedness
2020-08-24 11:55:24 +02:00
talorion
accadee274
fixed warnings: unused variable
2020-08-24 11:55:24 +02:00
talorion
8d1553cf1a
fixed warnings: suggest parentheses around '&&' within '||'
2020-08-24 11:55:23 +02:00
talorion
d11ce60d83
fixed warnings: printf format missmatch
2020-08-24 11:55:23 +02:00
talorion
f90d062c55
fixed warnings: removed unused variables
2020-08-24 11:55:23 +02:00
talorion
fcb81d3015
fixed warnings: comparison of integer expressions of different signedness
2020-08-24 11:55:23 +02:00
Martin Kojtal
31701fa518
Merge pull request #13449 from paul-szczepanek-arm/fix-prep-write
...
BLE: Fix writing attributes larger than MTU size
2020-08-21 13:52:07 +01:00
Arto Kinnunen
1045b9cf23
Follow Mbed OS coding style in RF drivers
2020-08-21 13:23:17 +03:00
Arto Kinnunen
1215a3a4f7
Merge commit 'f43b5b3761db0cc431d42f621b366ab16387b2db' into nanostack-as_subtree
...
* commit 'f43b5b3761db0cc431d42f621b366ab16387b2db':
Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' changes from 9441d65aab..063b1af74e
2020-08-21 13:00:15 +03:00
Arto Kinnunen
ca5d054ee1
Convert files to unix format
2020-08-21 12:54:30 +03:00
Arto Kinnunen
5f8cdead5e
Merge commit 'ceb10b77b0674df19ea3b17f699f9376829b704c' as 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver'
2020-08-21 12:35:46 +03:00
Arto Kinnunen
3050b5a2f5
Merge commit '162ffeb55d4a47e1abc6d0b94d9d3c261a7c9851' as 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver'
2020-08-21 12:35:09 +03:00
Arto Kinnunen
ebd0d555ec
Merge commit 'e1376bf778256f92b94017179b4f9d71eb4bc173' into nanostack-as_subtree
...
* commit 'e1376bf778256f92b94017179b4f9d71eb4bc173':
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 6d72419d8b..293edc63b8
2020-08-21 12:16:19 +03:00
Arto Kinnunen
007484e492
Merge commit '1a9de4ca6c71d2b1fb46b93f42f54b7e69a879d7' as 'connectivity/drivers/802.15.4_RF/atmel-rf-driver'
2020-08-21 12:15:45 +03:00
Arto Kinnunen
1140885b0e
Remove copied 802.15.4 RF drivers
...
-Remove atmel-rf-driver, mcr20a-rf-driver and stm-s2lp-rf-driver
2020-08-21 12:14:31 +03:00
talorion
f874e726db
resolved astyle - coding format.
2020-08-21 10:02:55 +02:00
talorion
7a985ecee9
fixed the preprocessor guards
2020-08-21 10:02:43 +02:00
Arto Kinnunen
9aac23d49e
Merge commit '70e2f11a0c79969e66b51085571bbe9f4dfb7ded' into nanostack-as_subtree
...
* commit '70e2f11a0c79969e66b51085571bbe9f4dfb7ded':
Squashed 'connectivity/libraries/nanostack-libservice/' changes from c6cae6992a..67d7b93ec6
2020-08-20 17:06:12 +03: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
Paul Szczeanek
6aa89aefcc
calculate chunk size when needed and use reported packet length
2020-08-19 12:22:27 +01:00
Paul Szczeanek
8c5bbe05fe
check authorisation before writing
2020-08-19 10:41:21 +01:00
Paul Szczeanek
019a32c75b
no need to check again
2020-08-19 10:41:05 +01:00
Paul Szczeanek
c78afe249c
remove address from api to cancel connect
2020-08-18 18:07:16 +01:00
Arto Kinnunen
b4e5062ecd
Merge commit 'f4cdbeb7c134c67322772cbc526c7ce123e5fbcd' as 'connectivity/libraries/nanostack-libservice'
2020-08-18 14:24:46 +03:00
Arto Kinnunen
e79743e33d
Remove copy of nanostack-libservice
2020-08-18 14:22:12 +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
Paul Szczeanek
f876179484
remove tabs
2020-08-18 10:04:11 +01:00
Paul Szczeanek
b93733e4aa
offset is missing from prepare write response in cordio
2020-08-18 10:02:43 +01:00
Paul Szczeanek
894886d1fe
fix prepare writes to write in chunks
2020-08-18 09:07:13 +01:00
Paul Szczeanek
bf20286026
perform attribute writes directly, including offset
2020-08-18 09:00:36 +01:00
Paul Szczeanek
cde0e6b183
allow writes at an offset
2020-08-18 08:59:00 +01:00
Paul Szczeanek
1b78b46a73
must allow writes smaller than max attribute length
2020-08-18 08:58:11 +01:00
RyoheiHagimoto
4a1049d508
Moved some files to connectivity/drivers/emac from features/netsocket/emac-drivers
2020-08-18 16:25:01 +09:00
RyoheiHagimoto
db3cec4398
Added GR-MANGO to be a target.
...
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
RyoheiHagimoto
1133bfbd50
Added argument-check to dns_get_interface_server.
...
Added argument-check to avoid accessing NULL pointer.
The second argument 'interface_name' of this function can be NULL.
And the argument 'interface_name' is used for the argument of strcmp() without checked.
For example, LWIP::add_dns_server() calls dns_getserver(index - 1, NULL).
2020-08-18 10:48:47 +09:00
Martin Kojtal
327fe532b2
Merge pull request #13410 from ashok-rao/lorawan-refactor
...
Refactoring \lorawan --> moving it inside \connectivity.
2020-08-14 14:27:48 +01:00
Martin Kojtal
94c62f2677
Merge pull request #13404 from gpsimenos/gp-cryptocell-restruct
...
Restructure cryptocell
2020-08-14 14:25:43 +01:00
Leon Lindenfelser
6f2da539c9
Enable PDP type IPV6 and IPV4V6 to support more cellular service providers
2020-08-14 08:16:16 -05:00
Rajkumar Kanagaraj
07511d39b1
Fix UNITTESTS build failure
2020-08-14 12:32:50 +01:00
Martin Kojtal
6dd3e057a5
Merge pull request #13414 from LDong-Arm/refactor_nfc
...
Refactor NFC directory structure
2020-08-13 13:40:33 +01:00
George Psimenos
a4fc83dc0a
Move cryptocell
...
mbed-os/features/cryptocell/FEATURE_CRYPTOCELL310 directory moved
to mbed-os/connectivity/drivers/cryptocell/FEATURE_CRYPTOCELL310
and restructured according to the internal proposal.
2020-08-13 09:26:17 +01:00
Ashok Rao
9977da64af
Incorporating review comments
2020-08-12 11:18:39 +01:00
Ashok Rao
0c584dfd58
Following 2 changes as part of this commit:
...
1. Moving lora drivers from \components\lora to \connectivity\drivers\lora
2. Incorporating review comments.
2020-08-12 11:18:39 +01:00
Ashok Rao
326f1435f4
Modifying paths in each unit test according to new directory structure
2020-08-12 11:06:37 +01:00
Ashok Rao
c5ffa220e1
Moving headers and sources to their respective separate directories based on new component structure
2020-08-12 11:06:37 +01:00
Ashok Rao
cc1dd29259
Adding .mbedignore for tests and modifying greentea test for deprecated API and missing header
2020-08-12 11:06:37 +01:00
Ashok Rao
da9fd2a11b
Mbed OS will soon be changing directory structure to the below:
...
```
connectivity
├── netsocket
├── lorawan
│ ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│ ├── lorastack
│ ├── tests
├── nanostack
├── cellular
├── ...
```
This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \lorawan.
2020-08-12 11:06:36 +01:00
Martin Kojtal
d32000d4c5
Merge pull request #13385 from gpsimenos/gp-tls-restruct
...
Restructure Mbed TLS
2020-08-12 10:26:26 +01:00
Lingkai Dong
e81e897e50
Move NFC Greentea tests into connectivity/nfc/tests/TESTS
2020-08-11 16:24:37 +01:00
Lingkai Dong
f585129d14
PN512 NFC driver: backward-compatible driver header path
2020-08-11 16:12:47 +01:00
Lingkai Dong
c734221c31
Update NFC libraries paths
2020-08-11 16:12:47 +01:00
Lingkai Dong
8b151da71b
Drop redundant nfc/ directory from source/
2020-08-11 16:12:47 +01:00
Lingkai Dong
bed5fd33e8
nfc: turn PN512 driver into a standalone driver library
2020-08-11 15:22:38 +01:00
Lingkai Dong
4b0cede96e
Move acore and stack into connectivity/nfc/libraries
2020-08-11 15:22:16 +01:00
Lingkai Dong
d9dc30f85a
nfc: move headers into include
2020-08-11 15:22:07 +01:00
Lingkai Dong
de3a54182a
Move nfc into connectivity
2020-08-11 14:55:25 +01:00
Martin Kojtal
3b25d2ded0
Merge pull request #13390 from paul-szczepanek-arm/fix-cancel-connect
...
Fix cancel connect
2020-08-11 14:54:44 +01:00
Martin Kojtal
c7316dcba8
Merge pull request #13409 from LDong-Arm/mv_bluenrg_ms
...
Move BlueNRG-MS driver into connectivity/drivers/ble/FEATURE_BLE
2020-08-11 13:11:14 +01:00
George Psimenos
bf6693a204
Create mbed_lib.json for mbedtls target code
2020-08-11 11:32:09 +01:00
George Psimenos
6a477619b9
Move mbedtls target-specific code
2020-08-11 11:32:09 +01:00
George Psimenos
54d8fe74ca
Update mbedtls paths
2020-08-11 11:32:08 +01:00
George Psimenos
bf3cf13cde
Move mbedtls greentea tests
2020-08-11 11:32:08 +01:00
George Psimenos
c8cc5bd180
Move mbedtls
2020-08-11 11:32:08 +01:00
Martin Kojtal
3fc6667c59
Merge pull request #13408 from boraozgen/bugfix/dns_cache
...
Fix memory leak in DNS cache
2020-08-11 09:00:58 +01:00
Dustin Crossman
6ba8885ad3
Update COMPONENT_SCL.
2020-08-10 17:02:35 -07:00
Lingkai Dong
c8721cf671
Move BlueNRG-MS driver into connectivity/drivers/ble/FEATURE_BLE
2020-08-10 17:31:12 +01:00
Paul Szczeanek
e877eb7552
fix cancel connect to accept peer address
2020-08-10 13:07:11 +01:00
Anna Bridge
a6730ad8ef
Merge pull request #13365 from paul-szczepanek-arm/ble-streamlining
...
BLE streamlining
2020-08-10 11:04:45 +01:00
Paul Szczeanek
6aac3acefb
braces on newlines
2020-08-07 16:27:26 +01:00
Paul Szczeanek
8bdd6bca93
braces always on newline
2020-08-07 16:21:09 +01:00
Paul Szczeanek
f6a8610b0e
move non-api heders into common
2020-08-07 14:54:23 +01:00
Paul Szczeanek
b6db853e16
backwards compatiblity with mbed build tools
2020-08-07 14:53:28 +01:00
Paul Szczeanek
ec4cbb7c23
make include path backwards compatible
2020-08-07 14:20:44 +01:00
Paul Szczeanek
dbc006baef
fix ble drivers
2020-08-07 11:59:15 +01:00
Paul Szczeanek
72b7d97fba
pull define out into json config
2020-08-07 11:59:14 +01:00
Paul Szczeanek
98bb0f7e55
fix backwards compatibility
2020-08-07 11:59:14 +01:00
Paul Szczeanek
1d4d3e1127
move implementations to libraries directory
2020-08-07 11:59:14 +01:00
Paul Szczeanek
9603708fc5
import ble modules into global namespace
2020-08-07 11:59:14 +01:00
Paul Szczeanek
7e64019074
move pal to cordio, remove cordio mentions from API
2020-08-07 11:59:14 +01:00
Paul Szczeanek
55efdb3cf0
Cordio Singleton support only one instance
...
Additional instances must be managed by user.
2020-08-07 11:59:14 +01:00
Paul Szczeanek
365cb3c5d0
remove generic, TPPs, nested namespaces
2020-08-07 11:59:14 +01:00
Bora Özgen
a699ff3406
Fix memory leak in DNS cache
2020-08-07 11:31:06 +02:00
Ashok Rao
724624ad6d
Moving mbed_lib.json outside sources
2020-08-06 13:43:55 +01:00
Ashok Rao
8d7c7555dc
Fixing UNITTESTS
2020-08-05 17:09:21 +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
Anna Bridge
1d362c8a7a
Merge pull request #13371 from gpsimenos/gp-lwip-restruct
...
Restructure lwipstack directory
2020-08-05 11:56:12 +01:00
George Psimenos
bcb5c10d62
Update lwipstack paths
2020-07-31 10:19:52 +01:00
George Psimenos
97ea45ad63
Move lwipstack
...
- Public headers moved into mbed-os/connectivity/lwipstack/include/lwipstack folder
- Source moved into mbed-os/connectivity/lwipstack/source folder
- Internal lwip and lwip-sys libraries moved to source folder
2020-07-31 10:15:25 +01:00
Rajkumar Kanagaraj
49924b8a0b
Add mbed_lib.json config to avoid emac drivers source includes by default
2020-07-30 10:24:58 -07:00
Martin Kojtal
c7251b0177
Merge pull request #13377 from rajkan01/move_nanostack_rf
...
Move nanostack rf driver from features to connectivity
2020-07-30 13:26:11 +01:00
Rajkumar Kanagaraj
f026f0d54f
Move nanostack rf driver from features/nanostack/nanostack-interface into connectivity/drivers/802.15.4_RF
2020-07-30 03:47:52 -07:00
George Psimenos
76f37fb2bc
Restructure events directory & move tests
2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj
2add7064ec
Update astyleignore and source code comment
2020-07-27 10:04:01 -07:00
Rajkumar Kanagaraj
522f100262
Move features/netsocket/emac-drivers to connectivity/drivers/emac
2020-07-27 09:53:31 -07:00
Rajkumar Kanagaraj
a4c1071c5b
Apply suggestions from code review
...
Commit the reviewer suggestions
Co-authored-by: Lingkai Dong <lingkai.dong@arm.com>
2020-07-23 06:24:04 -07:00
Rajkumar Kanagaraj
947d2d75b9
Fix spell check and astyle format issue
2020-07-23 06:22:15 -07:00
Rajkumar Kanagaraj
21325e281a
Update netsocket header and source reference in other libraries
2020-07-23 06:22:15 -07:00
Rajkumar Kanagaraj
b1a5e1b72d
Move Unittests closure to library
2020-07-23 06:15:13 -07:00
Rajkumar Kanagaraj
354bfaa840
Update header reference
2020-07-23 06:15:13 -07:00
Rajkumar Kanagaraj
f745224c63
Move greentea test closure to library
2020-07-23 06:15:09 -07:00
Rajkumar Kanagaraj
ea6a7ddbaa
Refactor features/netsocket and move to connectivity/netsocket
2020-07-23 06:15:09 -07:00
Lingkai Dong
b5ca618bf2
Remove redundant mbed.h include in UBLOX cellular driver
2020-07-22 11:06:23 +01:00
Lingkai Dong
22ea1e8846
Update unittest.cmake files for cellular
2020-07-22 11:06:23 +01:00
Lingkai Dong
61888227cc
.mbedignore cellular unit tests
2020-07-22 11:06:23 +01:00
Lingkai Dong
5905438fb4
Move cellular unit tests into the library
2020-07-22 11:06:23 +01:00
Lingkai Dong
2b24a7a31e
Update paths to cellular framework
2020-07-22 11:06:23 +01:00
Lingkai Dong
b0131b22a9
Split include/ and source/ for cellular
2020-07-22 11:05:49 +01:00
Lingkai Dong
3ff03bf452
Move cellular framework into connectivity
2020-07-22 11:05:49 +01:00
Lingkai Dong
276de0a5f2
Move cellular target drivers into connectivity/drivers/cellular
2020-07-22 11:05:49 +01:00
Lingkai Dong
8a57df0cea
ppp: Move headers to include/, source files to source/
2020-07-17 15:30:53 +01:00
Lingkai Dong
bda46e0fa8
Move ppp_nsapi.cpp from ppp library to netsocket/nsapi_ppp.cpp
...
This file is the source for nsapi_ppp.h and is not implementation
specific.
2020-07-17 15:30:53 +01:00
Lingkai Dong
b8a1c5ba23
Move ppp into connectivity/libraries
2020-07-17 15:30:53 +01:00
Anna Bridge
63655e82a7
Merge pull request #13255 from LDong-Arm/move_coap
...
Move mbed-coap to connectivity/libraries
2020-07-17 14:41:58 +01:00
Anna Bridge
f5801aa681
Merge pull request #13254 from LDong-Arm/move_nanostack-libservice
...
Move nanostack-libservice into connectivity/libraries
2020-07-17 14:40:50 +01:00
Lingkai Dong
3b2e07c12e
Move mbed-coap to connectivity/libraries
2020-07-16 17:06:57 +01:00
Lingkai Dong
cb828c3aa1
Move nanostack-libservice into connectivity/libraries/
2020-07-08 17:25:18 +01:00
Lingkai Dong
6e9dcc3f93
Move WiFi drivers from components to connectivity/drivers
2020-07-03 17:37:43 +01:00
Lingkai Dong
a0a43ada37
Move cellular drivers from components to connectivity/drivers
2020-07-03 17:32:45 +01:00
Lingkai Dong
f4c62f6369
Move 802.15.4_RF drivers from components to connectivity/drivers
2020-07-03 17:30:59 +01:00