Commit Graph

6848 Commits (8f8773515258f645e5443b4b5840e87fee808b6d)

Author SHA1 Message Date
Martin Kojtal 8f87735152
Merge pull request #13040 from paul-szczepanek-arm/cordio-tx-power
BLE: Add tx power control to cordio HCI driver
2020-06-16 13:59:50 +02:00
Martin Kojtal 3333f4185e
Merge pull request #12747 from jeromecoutant/PR_MBEDTLS
STM32 MBEDTLS support with HW crypto
2020-06-16 13:55:50 +02:00
Martin Kojtal eb33549fbe
Merge pull request #12900 from mikaleppanen/ns_kv_store_
Added kv store adaptation to nanostack file interface
2020-06-16 13:55:26 +02:00
Martin Kojtal ff024d2fa7
Merge pull request #12898 from mikaleppanen/new_wisun_conf_param_
Add new configuration parameters to Wi-SUN network interface and Border Router class
2020-06-16 13:46:54 +02:00
Martin Kojtal 0614e92c5b
Merge pull request #13083 from jeromecoutant/PR_H7_CUBE170
STM32H7 update drivers version to CUBE V1.7.0
2020-06-16 13:45:42 +02:00
Rajkumar Kanagaraj face8ec9ab Remove unused variable to fix compliation warning 2020-06-15 14:00:42 +01:00
Anna Bridge a870fcface
Merge pull request #13001 from jeromecoutant/PR_BAREMETAL_SUPPORT_STEP2
STM32 baremetal support step2 (L1/L4/WB)
2020-06-12 14:44:14 +01:00
jeromecoutant e3862d3430 STM32 MBEDTLS_ALT use singleton 2020-06-12 10:23:50 +02:00
Paul Szczeanek fe98309063 mention tx power in the readme 2020-06-10 15:49:55 +01:00
Paul Szczeanek 056f46d629 add tx power to cordio hci driver 2020-06-10 15:49:55 +01:00
Martin Kojtal f858000252
Merge pull request #13039 from pan-/fix-legacy-payload-update
BLE: remove limitation in the Cordio to update adv payload
2020-06-10 12:09:54 +02:00
Martin Kojtal 2466411b83
Merge pull request #13037 from paul-szczepanek-arm/ble-sm-fix
BLE: Fix privacy and signing handling in Security Manager
2020-06-10 12:09:32 +02:00
Martin Kojtal 6a431ffc58
Merge pull request #13055 from paul-szczepanek-arm/cordio-rf-tester
BLE: RF tester commands (and Cordio unhandled command complete)
2020-06-10 12:07:30 +02:00
Martin Kojtal d971d4e021
Merge pull request #13060 from paul-szczepanek-arm/direct-advertising
BLE: fix direct advertising on Cordio
2020-06-10 12:06:17 +02:00
Martin Kojtal 12910eabbe
Merge pull request #13069 from AriParkkila/fix-unittest-for-CellularNetwork
Cellular: Fix unittest for CellularNetwork
2020-06-10 12:02:26 +02:00
Arto Kinnunen fc465e7581 Merge commit '93c77e83625be3989aecb9b3c2b7e930b34eb529'
* commit '93c77e83625be3989aecb9b3c2b7e930b34eb529':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
2020-06-08 15:41:20 +03:00
jeromecoutant 561f8d48bf STM32H7 STM32Cube FW V1.5.0 => V1.7.0 2020-06-08 14:33:10 +02:00
jeromecoutant d0e572225c STM32 MBEDTLS: create mbedtls_device.h for all L562 targets 2020-06-08 13:54:14 +02:00
jeromecoutant 073bbf7b73 STM32 MBEDTLS: create mbedtls_device.h for all WB55 targets 2020-06-08 13:54:13 +02:00
jeromecoutant 904ced2150 STM32 MBEDTLS: create mbedtls_device.h for all L443 and L486 targets 2020-06-08 13:54:06 +02:00
jeromecoutant f71b09173a STM32 MBEDTLS: create mbedtls_device.h for all F756 targets 2020-06-08 13:51:35 +02:00
jeromecoutant 46566f492e STM32 MBEDTLS: create mbedtls_device.h for all F437 and F439 targets 2020-06-08 13:51:34 +02:00
jeromecoutant 3f42dfd47f STM32 MBEDTLS: AES/CCM/GCM/MD5/SHA1/SHA256 ALT implementation 2020-06-08 13:51:34 +02:00
jeromecoutant f62e3842ba STM32 MBEDTLS: common STM32 API for ST CRYP IP 2020-06-08 13:51:33 +02:00
jeromecoutant e6f4629ba6 STM32 MBEDTLS: common STM32 API for ST HASH IP 2020-06-08 13:51:33 +02:00
jeromecoutant aa09e7d409 STM32 MBEDTLS: Keep specific STM32L4 implementation 2020-06-08 13:51:32 +02:00
jeromecoutant 47aba83c2c STM32 MBEDTLS: Remove specific STM32F4 & STM32F7 implementation
All families (except STM32L4) will be aligned
2020-06-08 13:51:32 +02:00
jeromecoutant 28f8307afa STM32WB baremetal support
move BLE files to FEATURE_BLE
2020-06-08 12:06:01 +02:00
Martin Kojtal b21d5e8125
Merge pull request #13042 from hugueskamba/hk_override_warning_fix
Ensure all overridden virtual functions are marked with `override`
2020-06-05 15:49:06 +02:00
Martin Kojtal 49c1d947fa
Merge pull request #13044 from hugueskamba/hk_nrf_implicit_declaration
NRF: fix implicit declarations
2020-06-05 14:44:31 +02:00
Martin Kojtal b076ea5364
Merge pull request #13019 from rajkan01/mbrblockdevice_dox_update
Documentation update - MBRBlockDevice::partition type parameter
2020-06-05 13:10:11 +02:00
Martin Kojtal c7cf9a9aed
Merge pull request #13035 from pan-/fix-ble-service-data-addition
Fix capacity check when service data are added to BLE advertising payload
2020-06-05 10:49:43 +02:00
Martin Kojtal 35a0e5d4f9
Merge pull request #13041 from hugueskamba/hk_remove_cordio_warnings
Cordio: put parentheses to correct order of precedence in ternary expressions
2020-06-05 10:47:36 +02:00
Martin Kojtal ecf988731c
Merge pull request #13048 from mikter/ws_certificate_set_change
Allowed to set Wi-SUN certificates in DISCONNECTED state
2020-06-05 09:58:19 +02:00
Ari Parkkila 985e72f65d Cellular: Fix unittest for CellularNetwork 2020-06-05 00:45:49 -07:00
Martin Kojtal b3e8e8ad8a
Merge pull request #13013 from AriParkkila/cell-creg
Cellular: Fix packet data registration after CREG
2020-06-04 15:22:57 +02:00
Martin Kojtal 096b3e80ec
Merge pull request #12991 from OpenNuvoton/nuvoton_emac_bus_err
Nuvoton: Support EMAC bus reset as while bus err
2020-06-04 15:21:40 +02:00
Martin Kojtal 3a8dc2b50a
Merge pull request #13052 from paul-szczepanek-arm/connection-params-fix
BLE: fix conn params update
2020-06-04 15:16:21 +02:00
Martin Kojtal 2f5c98d545
Merge pull request #12973 from kivaisan/ALT1250_enable_tac_info_for_reg_status_mbed_master
Cellular: Enable tac info for ALT1250
2020-06-04 14:34:24 +02:00
Paul Szczeanek a882d2d35f mention the rf tester commands in the readme 2020-06-03 18:46:20 +01:00
Paul Szczeanek 9d54c56562 reinitialise identity and signing when bond table reset 2020-06-03 17:36:06 +01:00
Paul Szczeanek 110b190b38 fix privacy initialisation and give access to local identity
Initialises identity addres when privacy is enabled. Stores the identity. Retrieves local identity if previously stored.
2020-06-03 17:35:23 +01:00
Paul Szczeanek 73b4bebee0 add connection addresses to whitelist 2020-06-03 17:30:21 +01:00
Paul Szczeanek bfdbcc7b4a add accessor for local irk 2020-06-03 17:29:51 +01:00
Paul Szczeanek fff0247ae5 fix infinite recursive call 2020-06-03 17:29:20 +01:00
Paul Szczeanek 05f7685a79 store local csrk and identity in the security db 2020-06-03 17:27:26 +01:00
Paul Szczeanek 94a6cac838 expose identity address used by controller 2020-06-03 17:24:11 +01:00
Paul Szczeanek d6a5bd2825 make number of db entries configurable 2020-06-03 17:07:47 +01:00
Paul Szczeanek dd615f7943 Add direct advertising support.
To start direct connectable advertising on the cordio stack, the programmer should call the function DmConnAccept instead of the function DmAdvStart .
This functions expect the target address and address type as parameter, which are passed to the controller when the programmer sets the advertising parameters and not known when advertising_enable is called.
Therefore, this information should be kept in memory when advertising parameters are set and retrieved when advertising is enable to choose the right call to start (or stop) advertising.
Timeout of direct advertising is also handled in an uncommon way, a connection timeout is received. Similarly, DmConnClose should be called to stop connectable direct advertising.

The state is kept in an array of direct_adv_cb_t. Each items contains a peer address, the peer address type, the connection handle and the advertising handle as well as a state which indicate if the advertising is running, pending or not used.
When advertising parameters are set, the state is updated to match the target address or disable direct advertising management for the advertising set being configured.
When advertising is enabled, the pal dispatch the operation to the right calls (DmAdvStart/DmConnAccept or DmAdvStop/DmConnClose).
When an advertising timeout happen or a connection is made, the pal cleans any direct advertising state of this advertising set
2020-06-03 16:25:23 +01:00
Paul Szczeanek fbe93123a5 Add rf tester commands to cordio hci driver. This adds commands that allow you to send the HCI commands HCI_LE_Receiver_Test, HCI_LE_Transmitter_Test and HCI_LE_Test_End. The results of the test are obtained by the command complete command for HCI_LE_Test_End and passed to the user by the callback register in the test start calls. 2020-06-03 15:21:32 +01:00