Commit Graph

4588 Commits (07cd9a10c7ea47f99ce22bfae518d0031c248022)

Author SHA1 Message Date
jeromecoutant e06b7863cc STM32F429/STM32F439 alignment 2018-12-27 22:26:04 -06:00
David Saada c0226febbc Fix LTO build failures due to duplicate local types 2018-12-27 22:26:04 -06:00
Alastair D'Silva 5b29b7e6b5 Don't use define checks on DEVICE_FOO macros (mbed code)
The DEVICE_FOO macros are always defined (either 0 or 1).

This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-27 22:26:04 -06:00
Desmond Chen 1cb1a49752 Fix BLE long write execution failure 2018-12-27 22:26:03 -06:00
David Saada 67ba976b30 Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
- Consider data section in GCC_ARM toolchain
- Consider init_array section in IAR toolchain
- Rename macro to FLASHIAP_APP_ROM_END_ADDR for clarity sake
2018-12-27 22:26:03 -06:00
Ron Eldor 6ba60e33de Update the CC310 readme file
Update the Cryptocell 310 readme file with the binary library version
information.
2018-12-27 22:26:03 -06:00
Ron Eldor 83ac6bdcaa Update the CC310 GCC_ARM libraries
Update the cryptocell 310 GCC_ARM libraries with known version.
The libraries were built from the Cryptocell 310 release
version 1.1.0.1285, using arm-none-eabi-gcc 6.3.1 20170620 (release) (release).
2018-12-27 22:26:03 -06:00
Ron Eldor 9db8753e59 Update the CC310 ARM libraries
Update the cryptocell 310 ARM libraries with known version.
The libraries were built from the Cryptocell 310 release version
1.1.0.1285, using `ARM Compiler 5.06 update 4 (build 422)`.
2018-12-27 22:26:03 -06:00
Ron Eldor 187af9e26f Update the CC310 IAR libraries
Update the cryptocell 310 IAR libraries, since the previous ones were not
built correct. The libraries were built from the Cryptocell 310
release version 1.1.0.1285, using IAR version 7.80.1.11864.
2018-12-27 22:26:03 -06:00
ccli8 cfd8823d30 Fix crypto AC management
1. For SHA AC, use atomic flag to manage its ownership.
   (1) Nuvoton SHA AC doesn't support SHA context save & restore, so S/W
       SHA fallback has been supported before. To make non-blocking 'acquire'
       semantics clearer, introduce 'try_acquire' to substitute for 'acquire'.
   (2) No biting CPU due to mechanism above.
   (3) No deadlock due to mechanism above.
2. For AES/DES/ECC AC, change to mutex to manage their ownership.
   (1) Change crypto-misc.c to crypto-misc.cpp to utilize C++ SingletonPtr
       which guarantees thread-safe mutex construct-on-first-use.
   (2) With change to crypto-misc.cpp, add 'extern "C"' modifier to CRYPTO_IRQHandler()
       to avoid name mangling in C++.
   (3) No priority inversion because mutex has osMutexPrioInherit attribute
       bit set.
   (4) No deadlock because these AC are all locked for a short sequence
       of operations rather than the whole lifetime of mbedtls context.
   (5) For double mbedtls_internal_ecp_init() issue, it has been fixed in upper
       mbedtls layer. So no need to change ecc init/free flow.
2018-12-27 22:26:03 -06:00
ccli8 5fc51b8aa2 Fix return error code when ECC H/W acceleratioin is failed 2018-12-27 22:26:03 -06:00
Kari Haapalehto c7ced9b42f Initialize the interface at the construction and make sure that it's done only once. 2018-12-27 22:26:02 -06:00
zhanglu@realtek-sg.com 1853db62d6 Realtek-rtl8195am-Network Socket Updates
This PR addresses the issue of #8124.
It updates and enriches the wifi connection error type to adapt the Network Socket test plan requirement.
In the meantime, it increases the heap size that allows the transmission of larger packet size.

Description
1. Increase heap size in lwipstack\mbed_lib.json to fulfill bursty TCP and UDP transmission requirement.
2. Modify and enrich wifi connection error types in TARGET_AMEBA\RTWInterface.cpp to adapt the decision logic of the wifi test cases.
3. Add new static constants in TARGET_AMEBA\RTWInterface.h, including 'SSID_MAX_LENGTH', 'PASSPHRASE_MAX_LENGTH' and 'PASSPHRASE_MIN_LENGTH' to help verifying the validity of ssid and passphrase.

Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-27 22:26:02 -06:00
kegilbert 637499c63f Add socket stat logging state change update
TCPServer was deprecated and the accept call was added to TCPSocket. Add state change update to that call
2018-12-27 22:26:02 -06:00
David Saada d6f22193ff Adjust FAT FS tests to low memory boards
This is achieved by checking whether the board can allocate a certain memory
chunk (threshold) and skipping the test if it can't.
This should prevent these boards from failing in CI.
2018-12-27 22:26:02 -06:00
Alastair D'Silva d77f2c4b3a Align prototype & implementation of enet_tasklet_disconnect & friends
Rework of #8698

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-27 22:26:02 -06:00
Teppo Järvelin a3d26187d4 Cellular: Fix to use PPP stack in PPP mode
In QUECTEL_BG96 and QUECTEL_BC95 there was missing #ifdefs for
PPP mode and our stack was used. Also BG96 needed to be added
AT_CellularBase::AT_CGDATA as not supported.
2018-12-27 22:26:00 -06:00
Conrad Braam 2d9a5f41c6 removed include statement 2018-12-27 22:26:00 -06:00
Conrad Braam 43f09b862c writes and reads queue, not overflow stack IOTPAN-295 2018-12-27 22:26:00 -06:00
Ari Parkkila 1bbf8af7d3 Cellular: Refactored GEMALTO_CINTERION_Module to GEMALTO_CINTERION 2018-12-27 22:26:00 -06:00
Mirela Chirica 2f47b5b481 Cellular: Rewrite AT handler consume to tag
If sequence from buffer contains tag but symbol before tag is same as
first symbol of the tag, then the tag wasn't detected.

For example, "\r\n" tag was not found from "\r\r\nOK" sequence.
2018-12-27 22:26:00 -06:00
Amir Cohen 1033ddf35b Fix max_keys reset limitation
Persist the max_keys value through a soft-reset, also prohibit max_keys set under predefined default value (16)
2018-12-27 22:26:00 -06:00
Amir Cohen b261162c9b Remove dead code 2018-12-27 22:26:00 -06:00
Amir Cohen 79103d25fd Improve tests by reducing kvstore reset occurrences 2018-12-27 22:26:00 -06:00
Mel W 42f6d630a7 Capitalization and punctuation 2018-12-27 22:25:59 -06:00
Kari Haapalehto 35ce1e5ff3 Modify enet_tasklet.h Change enet_tasklet_network_init() and enet_tasklet_disconnect() declarations to match code. Also add document enet_tasklet.h functions 2018-12-27 22:25:59 -06:00
Naveen Kaje c1ef30e851 BLE: Update toolchain.h with mbed_toolchain.h
Fixes the following warning

[Warning] toolchain.h@24,0: #1215-D: #warning directive:
toolchain.h has been replaced by mbed_toolchain.h,
please update to mbed_toolchain.h [since mbed-os-5.3]
2018-12-27 22:25:59 -06:00
Ron Eldor 18d544b977 Return not supported for internal process function
Return the `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` for the
internal process function, as it is not public.
2018-12-27 22:25:59 -06:00
Ron Eldor bf681b0409 Style fixes
1. Change camelcase variables to Mbed OS style.
2. Remove functions declarations from the `_alt` header, since they
are now added from the module header regardless whether an alternative
implementation exists.
3. Remove the `extern "c"` declaration from the `_alt` headers.
4. Remove redundant extra lines.
2018-12-27 22:25:59 -06:00
Hasnain Virk 040a4a3243 Final cleanup and ASCII art for algorithm v2
Final code cleanup and adding ascii art for the version 2 of the
algorithm.
2018-12-27 22:25:59 -06:00
Hasnain Virk eb69d2737e RX window calculation algorithm version 2
In this version we try to mitigate a situation when we start listening
right in the middle of a preamble sequence (e.g., in high SF case).
2018-12-27 22:25:59 -06:00
Hasnain Virk 1f3a1b5af8 Style alignment
Minor style alignment.
2018-12-27 22:25:59 -06:00
Hasnain Virk cade713a41 Mitigating reception problems with lower data rates
A new algorithm has been taken in use to calculate the receive window
length and the timing offset involved in opening of the said receive
window. This algorithm performs better than the stock algorthm and
consumes less power.
2018-12-27 22:25:59 -06:00
Hasnain Virk 1aec8297c3 UL FCnt increment in case of retry exhaustion
Previously we had been incrementing UL frame counter for a CONFIRMED
message only when the transmission was deemed successful i.e., we would
have received an ack before all the retries would have exhausted.
Now we have opted to increment the frame counter if all the retries are
exhausted considering the fact that we essentially treat the next
message after retry exhaustion as a new packet so we should also
increment the frame counter.
2018-12-27 22:25:58 -06:00
Amanda Butler 7a2d04ebc6 Edit CellularContext.h
Edit file for complete sentences and correct commas.
2018-12-27 22:25:58 -06:00
Amanda Butler 3892105dee Edit CellularDevice.h
Edit file for complete sentences, consistent tense and correct commas.
2018-12-27 22:25:58 -06:00
Teppo Järvelin faab478c23 Cellular: add Callback functionality to CellularDevice. 2018-12-27 22:25:58 -06:00
Teppo Järvelin f9742e978c Cellular: updated doxygen for CellularContext and CellularDevice. 2018-12-27 22:25:58 -06:00
Amanda Butler 81296b34d0 Edit TDBStore.h
Edit file for punctuation and consistent tense.
2018-12-27 22:25:57 -06:00
Amanda Butler 053212b540 Edit SecureStore.h
Edit file for consistent tense.
2018-12-27 22:25:57 -06:00
Amanda Butler cafce1018a Add word to KVMap.h
Add missing article for clarity and capitalization.
2018-12-27 22:25:57 -06:00
Amanda Butler bbea6ed27a Edit FileSystemStore.h
Make minor edits, mostly for consistent tense across documents.
2018-12-27 22:25:57 -06:00
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
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