Commit Graph

1389 Commits (3e94b86a78b799bbbee4360fd64d2dd88685bd03)

Author SHA1 Message Date
Desmond Chen 1cb1a49752 Fix BLE long write execution failure 2018-12-27 22:26:03 -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
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
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
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
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
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