paul-szczepanek-arm
deffc3f42b
fix swapped errors
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
e1e20f8e17
check return value of DmSyncStart
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
8c262e72d5
fix return value
2018-12-11 16:14:47 -06:00
Vincent Coubard
4bb0964712
BLE: Set advertising random address when appropriate.
2018-12-11 16:14:47 -06:00
Vincent Coubard
5ffa065d98
BLE: Fix conversion of advertising type
...
Previously, we were passing the event_properties as defined by the Bluetooth spec which is not what DmAdvConfig expect as the advertising type passed to DmAdvConfig is Cordio tailored (and incomplete).
2018-12-11 16:14:47 -06:00
Vincent Coubard
ef0846552c
BLE: Revert change in stack setup initialisation.
...
While good this change breaks some old application that were adding GATT services before the initialisation of BLE.
This patch revert temporarily this change for now
2018-12-11 16:14:47 -06:00
David Saada
56ab748391
Fix a few bugs in TDBStore and KV config
2018-12-11 16:14:47 -06:00
Janos Follath
f0219cb53a
Mbed TLS: Fix ECC hardware double initialization
...
We initialized the ECC hardware before calling
mbedtls_ecp_mul_shortcuts(). This in turn calls
mbedtls_ecp_mul_restartable(), which initializes and frees the hardware
too. This issue has been introduced by recent changes and caused some
accelerators to hang.
We move the initialization after the mbedtle_ecp_mul_shortcuts() calls
to avoid double initialization.
2018-12-11 16:14:47 -06:00
Amanda Butler
5d7d8235c7
Edit PortingGuide.md
...
Edit file for active voice.
2018-12-11 16:14:47 -06:00
Amanda Butler
ddf3a13313
Edit CordioHCIDriver.h
...
Edit file for active voice.
2018-12-11 16:14:47 -06:00
Vincent Coubard
754076d13f
Update features/FEATURE_BLE/targets/TARGET_CORDIO/driver/CordioHCIDriver.h
...
Fix doxygen as suggested by @pan-
Co-Authored-By: donatieng <donatien.garnier@arm.com>
2018-12-11 16:14:47 -06:00
Donatien Garnier
62dd1c1ecb
Update Porting Guide with memory pool changes
2018-12-11 16:14:47 -06:00
Donatien Garnier
a008e79ccf
Cordio: Update CY8C63XX Driver to use default memory pool
2018-12-11 16:14:47 -06:00
Donatien Garnier
00496d3dba
Cordio: Update CYW4343X Driver to use default memory pool
2018-12-11 16:14:46 -06:00
Donatien Garnier
b0962bbc93
Cordio: Update ODIN-W2 Driver to use default memory pool
2018-12-11 16:14:46 -06:00
Donatien Garnier
ed479e5a4e
Cordio: Make allocating too much memory for pool a warning, not a fatal assert
2018-12-11 16:14:46 -06:00
Donatien Garnier
f994bc323e
Cordio Nordic LL: Readjust memory pool requirements for NRF52840
2018-12-11 16:14:46 -06:00
Donatien Garnier
346622bb3f
Cordio Nordic LL: Optimize memory for smaller targets
2018-12-11 16:14:46 -06:00
Donatien Garnier
4ece9023a2
Cordio: Split get_buffer_pool_description() in pure virtual + default implementation to avoid allocating two memory pools in a static fashion
2018-12-11 16:14:46 -06:00
Donatien Garnier
a7c5523081
Cordio: Assert if memory pool is not exactly the right size
2018-12-11 16:14:46 -06:00
Oren Cohen
2469539721
disable nvstore for sequana_psa
2018-12-11 16:14:46 -06:00
Oren Cohen
b4a77f6ead
Add FUTURE_SEQUANA_PSA target
...
* Modify linker scripts to be compatible with bootloader and PSA
* Add memory protection
* Modify original post-build step to allow link with PSA binaries
* Config kvstore for ITS on FUTURE_SEQUANA_PSA
* Enable PSA-Crypto on PSoC6 with NVSeed
2018-12-11 16:14:45 -06:00
Jaeden Amero
a325dd7b30
crypto: storage: Fix PSA_PS_ERROR_OFFSET typo
...
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.
2018-12-05 11:09:50 +00:00
Mel W
4b67db75f4
Capitalization and punctuation
2018-12-05 11:09:50 +00:00
Jenny Plunkett
5b2df6e057
Update FEATURE_BLE README
...
Remove all outdated information including supported services and old documentation links
2018-12-05 11:09:50 +00:00
Vincent Coubard
4e37874e55
BLE: Fix doxygen parameter declaration order.
2018-12-05 11:09:50 +00:00
Vincent Coubard
c3899d15a9
BLE: rename AdvertisingReportEvent::getAdvertisingData into getPayload.
...
This change makes it consistent with PeriodicAdvertisingReportEvent.
2018-12-05 11:09:50 +00:00
Vincent Coubard
c8c355467e
BLE: rename ConnectionParameters::getFilterPolicy into getFilter for consistency.
2018-12-05 11:09:50 +00:00
Vincent Coubard
16dd70f3c6
BLE: Reintroduce refactored type identifier in privacy configuration structures.
2018-12-05 11:09:50 +00:00
Vincent Coubard
d33106aad9
BLE: Rename ConnectionParameters::setFilterPolicy into setFilter for consistency.
2018-12-05 11:09:50 +00:00
Vincent Coubard
7e180c7467
BLE: Change parameter order of ble::Gap::startScan
2018-12-05 11:09:50 +00:00
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
Martin Kojtal
2009f028b1
Merge pull request #8592 from deepikabhavnani/nw_stats_ver2
...
Network Socket Statistics
2018-11-27 09:03:49 +01:00
Amanda Butler
bbb67a69c8
Edit Types.h
...
Edit file.
2018-11-26 19:35:43 -06:00
Amanda Butler
d00ad8bc96
Edit ScanParameters.h
...
Edit file, mostly to fix typos.
2018-11-26 19:18:24 -06:00
Amanda Butler
fa784c2aff
Edit URIBeaconCOnfigService.h
...
Edit file for active voice and comma use.
2018-11-26 19:15:31 -06:00
Amanda Butler
08ef3f7209
Edit iBeacon.h
...
Add commas between two independent clauses joined by a coordinating conjunction.
2018-11-26 19:14:14 -06:00
Amanda Butler
431402c14d
Edit Gap.h
...
Edit most of file, mostly for U.S. spelling and typos.
2018-11-26 19:08:41 -06:00
Amanda Butler
b4c34557d9
Edit Events.h
...
Edit file for person, capitalization and to fix typos.
2018-11-26 18:47:49 -06:00
Amanda Butler
2e02869173
Edit ConnectionParameters.h
...
Edit file, mostly for agreement.
2018-11-26 18:40:55 -06:00
Amanda Butler
c904ac898a
Edit AdvertisingParameters.h
...
Edit file, mostly for active voice and U.S. spelling.
2018-11-26 18:32:35 -06:00
Amanda Butler
31a73fc007
Edit AdvertisitngDataSimpleBuilder.h
...
Edit file, mostly for consistent tense and typos.
2018-11-26 18:17:22 -06:00
Donatien Garnier
5347a8ae4a
Update Duration.h in consistent casing
2018-11-27 00:16:33 +00:00
Amanda Butler
7df90ba3bc
Edit AdvertisingDataBuilder.h
...
Edit file, mostly to fix typos and standardize hyphen use.
2018-11-26 18:12:56 -06:00
Amanda Butler
451f9aad12
Edit Bounded.h
...
Edit file, mostly for consistent capitalization and active voice.
2018-11-26 18:01:30 -06:00
Amanda Butler
ecf8c7320f
Edit Gap.h
...
Edit file for capitalization and active voice.
2018-11-26 17:58:50 -06:00
Vincent Coubard
a65296e9ee
BLE: removed resolved TODO.
2018-11-26 23:44:23 +00:00
Vincent Coubard
7b1e225012
BLE: Fix address name in NRF targets.
2018-11-26 23:36:43 +00:00
Vincent Coubard
66a9e635bd
BLE: report correct event type for legacy advertising report.
2018-11-26 23:28:30 +00:00
Vincent Coubard
0c9ce24638
BLE: remove unwanted trace.
2018-11-26 23:16:31 +00:00
paul-szczepanek-arm
b552f8c3f0
fix return code for implemented func
2018-11-26 23:06:06 +00:00