Commit Graph

1438 Commits (6684570dea0402cfe5e7d654aedf1cceafd080ac)

Author SHA1 Message Date
paul-szczepanek-arm 642b2dfb57 working libs for GCC and IAR 2018-12-10 09:12:03 +00:00
Donatien Garnier 6f94339aed Replace ARMCC libs 2018-12-08 08:43:20 +00:00
Donatien Garnier db6b09a70f ARMCC only likes armar 2018-12-07 23:45:26 +00:00
Donatien Garnier 3f00595e62 Remove use of GPIOs (LEDs and diag pins) from Cordio LL for Nordic 2018-12-07 22:46:27 +00:00
Donatien Garnier 674ff288d6 Remove duplicate symbols in libcordio_stack.a 2018-12-07 22:04:19 +00:00
paul-szczepanek-arm a48369691e iar libs for cordio 2018-12-07 17:56:36 +00:00
paul-szczepanek-arm bdabada477 added arm version of libs 2018-12-07 17:41:50 +00:00
paul-szczepanek-arm c13dcf3387 baseband clock rate increased to 1 000 000 2018-12-07 17:12:58 +00:00
Vincent Coubard e7f81fe7e8 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-07 13:26:35 +00:00
Vincent Coubard 4e5240b743 BLE: Set the number of the advertising sets supported by the host to 3. 2018-12-07 13:24:52 +00:00
Vincent Coubard 57b79d9659 BLE: Set the number of supported phy by the host to 3. 2018-12-07 13:24:28 +00:00
Vincent Coubard 20e0cd1b0e BLE: Inject random static address during reset sequence. 2018-12-07 12:35:20 +00:00
Vincent Coubard a36b04fde5 BLE: Add an option to inject the random static address during the reset sequence. 2018-12-07 12:33:31 +00:00
Vincent Coubard 0d398bc8c8 BLE: Revert changes introduced by debugging. 2018-12-07 09:33:26 +00:00
Vincent Coubard 1c71713e1b BLE: Fix recursion in ble::advertising_data_status_t raw constructor. 2018-12-07 00:05:02 +00:00
Vincent Coubard 698447b622 BLE: Fix address type allowed to create a periodic sync. 2018-12-07 00:04:29 +00:00
Vincent Coubard df95a1f8bd BLE: Allow null value for periodic interval in advertising report event. 2018-12-07 00:03:50 +00:00
Amanda Butler aa4b5a5dc7
Edit PortingGuide.md
Edit file for active voice.
2018-12-06 13:24:10 -06:00
Amanda Butler 61c2599587
Edit CordioHCIDriver.h
Edit file for active voice.
2018-12-06 13:22:20 -06:00
paul-szczepanek-arm df443c20ca copy periodic payload 2018-12-06 17:54:13 +00:00
paul-szczepanek-arm 22a117a6e4 always set filter policy 2018-12-06 15:43:45 +00:00
paul-szczepanek-arm 5735456487 fix swapped errors 2018-12-06 15:05:35 +00:00
paul-szczepanek-arm 58c7c3868e check return value of DmSyncStart 2018-12-06 15:04:23 +00:00
paul-szczepanek-arm d372f16bc4 fix return value 2018-12-06 15:04:00 +00:00
Vincent Coubard c83dccf65c BLE: Set advertising random address when appropriate. 2018-12-06 11:25:50 +00:00
Vincent Coubard 0543442cc3 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-06 11:23:45 +00:00
Vincent Coubard d9d4a214b8 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-06 11:21:43 +00:00
Vincent Coubard e3d8b28483
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-06 10:19:57 +00:00
Donatien Garnier 4485531173 Update Porting Guide with memory pool changes 2018-12-05 19:24:44 +00:00
Donatien Garnier 7e6efc2571 Cordio: Update CY8C63XX Driver to use default memory pool 2018-12-05 19:24:44 +00:00
Donatien Garnier f9b236184a Cordio: Update CYW4343X Driver to use default memory pool 2018-12-05 19:24:44 +00:00
Donatien Garnier 218bf3f80c Cordio: Update ODIN-W2 Driver to use default memory pool 2018-12-05 19:24:44 +00:00
Donatien Garnier 2978cd8404 Cordio: Make allocating too much memory for pool a warning, not a fatal assert 2018-12-05 19:24:44 +00:00
Donatien Garnier 101c5697e5 Cordio Nordic LL: Readjust memory pool requirements for NRF52840 2018-12-05 19:24:44 +00:00
Donatien Garnier c99f2497c3 Cordio Nordic LL: Optimize memory for smaller targets 2018-12-05 19:24:44 +00:00
Donatien Garnier 7a33feca23 Cordio: Split get_buffer_pool_description() in pure virtual + default implementation to avoid allocating two memory pools in a static fashion 2018-12-05 19:24:44 +00:00
Donatien Garnier b83c4fde66 Cordio: Assert if memory pool is not exactly the right size 2018-12-05 19:24:44 +00:00
Cruz Monrreal b3b050170e
Merge pull request #8879 from pan-/ble-extended-advertising-doc-fixes
Ble extended advertising doc fixes
2018-12-04 11:51:44 -06:00
Martin Kojtal 403405c44c
Merge pull request #8953 from ARMmbed/yennster-patch-1
Update FEATURE_BLE README
2018-12-04 14:32:14 +01:00
Mel W f92cc7b30b
Capitalization and punctuation 2018-12-04 12:34:48 +02:00
Martin Kojtal c1c94c83c5
Merge pull request #8904 from pan-/ble-extended-advertising-fixes
Ble extended advertising fixes
2018-12-04 09:50:36 +01:00
Jenny Plunkett fa191259b7
Update FEATURE_BLE README
Remove all outdated information including supported services and old documentation links
2018-12-03 13:09:01 -06:00
Vincent Coubard 472c57205b BLE: Fix doxygen parameter declaration order. 2018-12-03 18:03:30 +00:00
Vincent Coubard d1b0642ad2 BLE: rename AdvertisingReportEvent::getAdvertisingData into getPayload.
This change makes it consistent with PeriodicAdvertisingReportEvent.
2018-12-03 17:56:54 +00:00
Vincent Coubard ed426c5b45 BLE: rename ConnectionParameters::getFilterPolicy into getFilter for consistency. 2018-12-03 17:11:28 +00:00
Vincent Coubard 5abf2f08fa BLE: Reintroduce refactored type identifier in privacy configuration structures. 2018-12-03 17:04:38 +00:00
Vincent Coubard dc3ff6a5e0 BLE: Rename ConnectionParameters::setFilterPolicy into setFilter for consistency. 2018-12-03 16:56:20 +00:00
Vincent Coubard e026bce881 BLE: Change parameter order of ble::Gap::startScan 2018-12-03 16:50:10 +00:00
Martin Kojtal ce11081db7
Merge pull request #8884 from pan-/fix-cordio-connection-iteration
BLE: Fix iteration on connections in CordioGattServer.
2018-12-03 13:40:23 +01:00
Paul Szczepanek 0c21112482
fix DM_CONN_ID_NONE loop condition 2018-11-30 08:16:17 +00:00
Vincent Coubard 8c4a1a7b7a BLE: Improve scan response process explanation. 2018-11-29 13:52:04 +00:00
Vincent Coubard da3720138e BLE: Fix common/Duration.h doc. 2018-11-29 13:52:04 +00:00
Vincent Coubard e8972a72a4 BLE: provide better default connection parameters. 2018-11-29 12:32:36 +00:00
Vincent Coubard 4ed3f5620f BLE: Fix name of DisconnectionEvent into DisconnectionCompleteEvent for consistency. 2018-11-29 12:28:38 +00:00
Vincent Coubard 3ddcdf24a3 BLE: Fix ble::Gap::getMaxAdvertisingDataLength return type. 2018-11-29 12:26:40 +00:00
Vincent Coubard 402a4479d2 BLE: Ensure scan process is stopped before connecting. 2018-11-29 12:22:34 +00:00
Vincent Coubard 78468fb6e3 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-11-29 12:18:11 +00:00
Vincent Coubard e7ef0b764e BLE: protect event signaling flag from concurent accesses. 2018-11-28 17:25:44 +00:00
Vincent Coubard c23911e3d8 BLE: Fix extraction of advertising element type. 2018-11-28 17:15:54 +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
Vincent Coubard d115e73e7e BLE: Fix iteration on connections in CordioGattServer. 2018-11-27 16:01:56 +00:00
paul-szczepanek-arm 5302a7f599 consistent errors 2018-11-27 15:38:01 +00:00
Vincent Coubard 1a6246f130 BLE: Remove double handling of DM_CONN_OPEN_IND . 2018-11-27 15:30:56 +00:00
Vincent Coubard daee12d623 BLE: Fix set check in GenerigGap::stopAdvertising. 2018-11-27 15:29:52 +00:00
Vincent Coubard 6677fab856 BLE: Move source/Gap.cpp -> source/LegacyGap.cpp 2018-11-27 09:12:28 +00: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