Vincent Coubard
a49dd7f043
BLE: provide better default connection parameters.
2018-12-05 11:09:50 +00:00
Vincent Coubard
3f56b2247e
BLE: Fix name of DisconnectionEvent into DisconnectionCompleteEvent for consistency.
2018-12-05 11:09:50 +00:00
Vincent Coubard
df00415236
BLE: Fix ble::Gap::getMaxAdvertisingDataLength return type.
2018-12-05 11:09:50 +00:00
Vincent Coubard
0d382461ec
BLE: Ensure scan process is stopped before connecting.
2018-12-05 11:09:50 +00:00
Vincent Coubard
6330878c14
BLE: Use RANDOM address per default for Advertising, Scan and Connection parameter.
...
Unlike the public address, the RANDOM address is guaranteed to exist.
If privacy is enabled, it means the controller will generates random resolvable addresses or non resolvable addresses depending on the config.
If privacy is not enabled then the device will use the device's random static address that doesn't change between radio processes.
2018-12-05 11:09:50 +00:00
Vincent Coubard
07e7fa3b0d
BLE: protect event signaling flag from concurent accesses.
2018-12-05 11:09:50 +00:00
Vincent Coubard
c6a29d1f3f
BLE: Fix extraction of advertising element type.
2018-12-05 11:09:50 +00:00
paul-szczepanek-arm
a48c6d4f40
consistent errors
2018-12-05 11:09:50 +00:00
Vincent Coubard
2b482cd0b8
BLE: Remove double handling of DM_CONN_OPEN_IND .
2018-12-05 11:09:50 +00:00
Vincent Coubard
910c09e160
BLE: Fix set check in GenerigGap::stopAdvertising.
2018-12-05 11:09:50 +00:00
Jaeden Amero
9f4dadb409
mbedtls: Update Mbed TLS to 2.15.1
2018-12-05 11:09:50 +00:00
Juho Eskeli
586f7b2ae2
STM32L4: before calling HAL_CRYP_DeInit initialize the Instance member
2018-12-05 11:09:50 +00:00
Vincent Coubard
c99824892c
BLE: Reintroduce changes to address types lost.
2018-11-28 11:29:40 +00:00
Steve Cartmell
353e991410
doc(pan-cordio): Add toolchain version used to compile cordio-ll readme
2018-11-28 10:26:14 +00:00
Steve Cartmell
a3bae1c48d
doc(pan-cordio): Add readme and license documents for cordio link layer
2018-11-28 10:26:14 +00:00
Donatien Garnier
5a87cfa13d
Fix a few more rebasing issues
2018-11-28 10:26:14 +00:00
Donatien Garnier
89aabaec0d
Fix some rebasing quirks
2018-11-28 10:26:14 +00:00
Donatien Garnier
f9808140df
Add number of advertising sets
2018-11-28 10:26:14 +00:00
Donatien Garnier
3ce1d91d35
Amend Nordic HCI driver to support BLE5 features
2018-11-28 10:26:14 +00:00
Steve Cartmell
1b3efa4ccd
doc(pan-cordio): Add documentation to README on how to enable Cordio LL
2018-11-28 10:26:14 +00:00
Steve Cartmell
12fdab312e
feat(pan-cordio): Add nordic softdevice sources back into repository
2018-11-28 10:26:14 +00:00
Donatien Garnier
c68c150bf8
Fix buffer size for NRF Cordio HCI driver
2018-11-28 10:26:13 +00:00
Steve Cartmell
93bf68df0b
fix(pan-cordio): Remove erroneous files added after rebasing
2018-11-28 10:26:13 +00:00
Steve Cartmell
1e1486ed18
fix(pan-cordio): Replace the compiled uECC library with the sources
2018-11-28 10:19:08 +00:00
Donatien Garnier
01620b9ba2
Use uECC C99 implementation
2018-11-28 10:19:08 +00:00
Steve Cartmell
0f4ded19ac
feat(pan-cordio): Replace NRF51 softdevice BLE stack with cordio
2018-11-28 10:19:08 +00:00
Steve Cartmell
f583596fea
refactor(pan-cordio): Replace the uECC source with a precompiled library
2018-11-28 10:19:08 +00:00
Steve Cartmell
93267699b8
fix(pan-nordic): Fix memory allocation sizes to resolve NRF52832 issues
2018-11-28 10:19:08 +00:00
Steve Cartmell
815d0d5efc
feat(pan-cordio): Add cordio-ll libraries and NORDIC implementation
2018-11-28 10:19:08 +00:00
Steve Cartmell
ca2efcdd11
fix(pan-cordio): Reset timer after updating to reduce chance of overflow
2018-11-28 10:19:08 +00:00
Steve Cartmell
e5aa84308f
refactor(pan-cordio): Use Timer class instead of raw ticker for timing
2018-11-28 10:19:08 +00:00
Steve Cartmell
299ae1d9c6
fix(pan-cordio): Override WSF handler size in a platform specific manner
2018-11-28 10:19:08 +00:00
Steve Cartmell
5782e93a19
fix(pan-cordio): Wrap call to wsfOsReadyToSleep in a critical section
...
The function wsfOsReadyToSleep should only be called when interrupts are
disabled. Entering a critical section before calling the function fixes
any potential issues.
2018-11-28 10:19:08 +00:00
Steve Cartmell
f60c2c9aa8
fix(pan-cordio): Increase the maximum number of supported WSF handlers
...
NRF52480 fails to complete BLE initialisation due to attempting to set
more event handlers than are supported by the WSF library.
Increasing the number of handlers fixes this issue.
2018-11-28 10:19:08 +00:00
Steve Cartmell
065bad6fa6
fix(pan-cordio): Move stack BLE stack setup to later in initialisation
2018-11-28 10:19:08 +00:00
Martin Kojtal
e62abd8aee
Merge pull request #8804 from mohammad1603/inject_entropy_spm
...
PSA Crypto SPM
2018-11-28 09:40:31 +01:00
Martin Kojtal
4758ddd2c6
Merge pull request #8738 from pan-/ble-extended-advertising
...
Ble extended advertising
2018-11-28 09:39:13 +01:00
Netanel Gonen
f1c5aeb70e
add MBEDTLS_PSA_CRYPTO_C defined to K64F PSA target
2018-11-27 14:02:55 +02:00
Martin Kojtal
86915d9a7e
Merge pull request #8704 from RonEld/cryptocell_ccm_alt_fixes
...
Fix issues in Cryptocell 310 ccm_alt discovered by On Target Testing
2018-11-27 11:44:33 +01:00
Mohammad AboMokh
819594477c
Refactor trng_get_bytes()
2018-11-27 12:15:52 +02:00
Mohammad AboMokh
b9ea334f1f
Change __WEAK to MBED_WEAK
2018-11-27 12:15:26 +02:00
mohammad1603
4cef73d2eb
Update output_length in trng_get_bytes() provided by psa.
2018-11-27 11:56:58 +02:00
Danny Shavit
e72d910754
Add a weak implementation for trng_get_bytes()
2018-11-27 11:56:49 +02:00
Netanel Gonen
4816266205
add comment to explain why (-1 * rc) is returned
2018-11-27 11:56:44 +02:00
Netanel Gonen
ae0fa609a9
remove psa_its_get_info from seed read function
2018-11-27 11:56:42 +02:00
Mohammad AboMokh
0fde6af120
change MBEDTLS_RANDOM_SEED_ITS_UID define to be PSA_CRYPTO_ITS_RANDOM_SEED_UID
2018-11-27 11:56:36 +02:00
Mohammad AboMokh
7b2c924ac7
Adding defualt behaviour for platforms without TRNG.
...
If setting the MBEDTLS_PLATFORM_NV_SEED_ALT and MBEDTLS_ENTROPY_NV_SEED flags and not
setting MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO and MBEDTLS_PLATFORM_NV_SEED_READ_MACRO flags
mbed-os will add an entropy source to the relevent partition - SPE in case of daul core or
in case of single core V7 to the main partition.
The defualt behaviour will be to read or write the data from the ITS.
2018-11-27 11:56:31 +02:00
Vincent Coubard
6677fab856
BLE: Move source/Gap.cpp -> source/LegacyGap.cpp
2018-11-27 09:12:28 +00:00
Martin Kojtal
5e6dc940ba
Merge pull request #8821 from jarvte/add_rat_json
...
Cellular: add radio access technology as configurable in json
2018-11-27 09:23:57 +01:00
Martin Kojtal
436644b7bd
Merge pull request #7760 from ARMmbed/feature_namespace
...
Give an option to remove 'using namespace'
2018-11-27 09:04:58 +01:00