Yossi Levy
31eff13967
Fixing Doxygen descriptions
2018-12-27 22:25:57 -06:00
Kari Haapalehto
5d96c9b070
Coverity fixes. These issues has been found by coverity.
2018-12-27 22:25:57 -06:00
Yossi Levy
9325ed9a6c
Setting K64F to use KVStore FileSystem configuration
2018-12-27 22:25:56 -06:00
Ron Eldor
dcff4c92cd
Add comment for reasoning for changing default
...
Add a comment in the `adjust-config.sh` script, for effects
and benefits of the new value.
2018-12-27 22:25:56 -06:00
Ron Eldor
a88df39cea
Reduce default MBEDTLS_MPI_MAX_SIZE
...
Reduce the default size of `MBEDTLS_MPI_MAX_SIZE` to 512 bytes,
as the default 1024 consumes much stack, and supporting RSA 4096 bit
may suffice at the moment.
2018-12-27 22:25:56 -06:00
Vincent Coubard
bbf0adf337
BLE: Improve scan response process explanation.
2018-12-27 22:25:56 -06:00
Vincent Coubard
af8e1f5f6c
BLE: Fix common/Duration.h doc.
2018-12-27 22:25:56 -06:00
jeromecoutant
b950a8f7ac
Remove NVSTORE enabled from NUCLEO_F410RB
2018-12-27 22:25:55 -06:00
Antti Yli-Tokola
998893dd36
Update mbed-coap to version 4.7.3
...
EMPTY response should not be stored to blockwise list.
An Empty message only contains the 4-byte header so it does not require any blockwise operations.
This will fix unneseccary message sending timeouts which leads mbed cloud client to do unnecessary
reconnections which increases the network traffic.
2018-12-27 22:25:55 -06:00
Paul Szczepanek
c74f2561e0
fix DM_CONN_ID_NONE loop condition
2018-12-27 22:25:55 -06:00
Vincent Coubard
6c5defac00
BLE: Fix iteration on connections in CordioGattServer.
2018-12-27 22:25:55 -06:00
Michal Paszta
1931c2cd27
Fix compilation warnings (apart from nanostack)
2018-12-27 22:25:55 -06:00
Mikhail Maltsev
d0bef03aed
Fix C++11 build with Arm Compiler 6
...
Currently there are two issues which prevent building Mbed OS with
-std=gnu++11 when using Arm Compiler 6:
* NanostackRfPhys2lp.cpp contains a narrowing conversion in a braced
initializer list
* ns_types.h includes <stdalign.h> which Arm Compiler 6 currently
does not provide
This patch fixes both issues. The first one is fixed by changing the
underlying type of the corresponding enumeration when the code is
compiled as C++11. The second issue is worked around by avoiding the
use of <stdalign.h> header for Arm Compiler versions prior to 6.12.
2018-12-27 22:25:55 -06:00
Kari Haapalehto
ee57fd679e
Correct network status callbacks with Nanostack. Ethernet-tasklet needs to be registered for emac link state changes. Ethernet-tasklet will then handle ethernet cable connection/disconnection events.
2018-12-27 22:25:54 -06:00
Ron Eldor
789542168d
Fix issues in CC310 cc_internal discovered by OTT
...
Return `MBEDTLS_ERR_ECP_INVALID_KEY` when Cryptocell returns
`CRYS_ECPKI_BUILD_KEY_INVALID_PRIV_KEY_SIZE_ERROR`
or `CRYS_ECPKI_BUILD_KEY_INVALID_PUBL_KEY_SIZE_ERROR`,
When the key size is invalid. Found by the "ECDSA zero private parameter"
tests.
2018-12-27 22:25:54 -06:00
Teemu Kultala
e4832fc8c3
cellular: registration status change fix
2018-12-27 22:25:54 -06:00
Terence Zhang
7dd7471be6
Formatted via astyle.
2018-12-11 16:14:50 -06:00
Terence Zhang
7529535a26
Fix for the fault exception issue: https://github.com/ARMmbed/mbed-os-example-cellular/issues/112
2018-12-11 16:14:50 -06:00
Terence Zhang
de70dae221
Fix the fault exception issue in socket_recvfrom with the null pointer parameter as SocketAddress *addr.
2018-12-11 16:14:50 -06:00
David Saada
04377fa88e
Fix a few SecureStore issues (following preliminary security review)
...
- Remove require integrity flag (authentication) - always authenticate
- Use RBP KV to store CMAC also in write once case
- Allow removing a key if reading it failed on RBP authentication error
- Disable SecureStore if user disables MBED TLS AES CTR or CMAC
2018-12-11 16:14:50 -06:00
paul-szczepanek-arm
52b0f21720
remove noreturn error function to avoid compilation issues
2018-12-11 16:14:49 -06:00
paul-szczepanek-arm
d9ec798f67
fixed ARM compilation problem caused by noreturn
2018-12-11 16:14:49 -06:00
paul-szczepanek-arm
70d588474e
working ARM lib
2018-12-11 16:14:49 -06:00
paul-szczepanek-arm
c972982205
working libs for GCC and IAR
2018-12-11 16:14:49 -06:00
Donatien Garnier
4a81acca8b
Replace ARMCC libs
2018-12-11 16:14:49 -06:00
Donatien Garnier
1dda09422d
ARMCC only likes armar
2018-12-11 16:14:48 -06:00
Donatien Garnier
0c785ac445
Remove use of GPIOs (LEDs and diag pins) from Cordio LL for Nordic
2018-12-11 16:14:48 -06:00
Donatien Garnier
345a3ed931
Remove duplicate symbols in libcordio_stack.a
2018-12-11 16:14:48 -06:00
paul-szczepanek-arm
368a90b944
iar libs for cordio
2018-12-11 16:14:48 -06:00
paul-szczepanek-arm
c9fb69c8e8
added arm version of libs
2018-12-11 16:14:48 -06:00
paul-szczepanek-arm
1b18dc0aad
baseband clock rate increased to 1 000 000
2018-12-11 16:14:48 -06:00
Vincent Coubard
71ed27e31a
BLE: Fix the number of advertising sets supported
...
The number of advertising sets supported is the minimum of advertising sets supported beween the host and the controller.
2018-12-11 16:14:48 -06:00
Vincent Coubard
744ef59e03
BLE: Set the number of the advertising sets supported by the host to 3.
2018-12-11 16:14:48 -06:00
Vincent Coubard
65f688e660
BLE: Set the number of supported phy by the host to 3.
2018-12-11 16:14:48 -06:00
Vincent Coubard
a7d43fce61
BLE: Inject random static address during reset sequence.
2018-12-11 16:14:48 -06:00
Vincent Coubard
a59a2e925f
BLE: Add an option to inject the random static address during the reset sequence.
2018-12-11 16:14:48 -06:00
Vincent Coubard
d1af84aa61
BLE: Revert changes introduced by debugging.
2018-12-11 16:14:48 -06:00
Vincent Coubard
bb2870fdd1
BLE: Fix recursion in ble::advertising_data_status_t raw constructor.
2018-12-11 16:14:47 -06:00
Vincent Coubard
991c723f93
BLE: Fix address type allowed to create a periodic sync.
2018-12-11 16:14:47 -06:00
Vincent Coubard
49717e4afa
BLE: Allow null value for periodic interval in advertising report event.
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
11ac1e0a46
copy periodic payload
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
8a3b5f46ad
always set filter policy
2018-12-11 16:14:47 -06:00
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