Commit Graph

460 Commits (f5ef511c313e6d0983342771e92f55d7eeb032cb)

Author SHA1 Message Date
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
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
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