Commit Graph

391 Commits (9b8c5acb99df266918741ba4ae6d978ddff2215a)

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