Brian Daniels
ee5281abef
Remove unused yotta module metadata
2019-01-24 15:30:20 -06:00
Martin Kojtal
ad5bcfc1de
Merge pull request #9427 from paul-szczepanek-arm/fix-truncation
...
BLE: fix possible truncation
2019-01-21 13:42:07 +01:00
paul-szczepanek-arm
001919e81a
fix truncation
2019-01-18 12:10:30 +00:00
Cruz Monrreal
fd2a96e7ad
Merge pull request #9339 from costanic/fix_oob
...
Fix Out-Of-Band (OOB) data generation for BLE OOB pairing
2019-01-17 21:51:54 -06:00
Martin Kojtal
284781a565
Merge pull request #9096 from pan-/fix-enforce-size-limits
...
BLE: Enforce advertising data payload limits
2019-01-17 12:41:57 +01:00
Cruz Monrreal
d0665c8458
Merge pull request #9365 from lrusinowicz/cordio_ble_fix
...
Fix for asserion failing in BLE::callDispatcher with gcc debug profile.
2019-01-16 22:03:16 -06:00
Leszek Rusinowicz
f294447c25
Moved nextTimeout variable out of critical section in BLE::callDispatcher.
...
Initialization of Timeout object contains critical section inside constructor. Initialization inside critical section caused assertion failing under "debug" profile.
2019-01-14 11:13:28 +01:00
Nic Costa
7795e30bce
Remove own_oob and peer_oob flags from Nordic PAL
...
the own_oob and peer_oob flags were not being set to 1 even though
an OOB pairing request was in progress, which therefore prevented
OOB data from being passed down to the softdevice during a OOB
pairing operation, thus causing the OOB pairing process to fail.
2019-01-11 08:54:30 -06:00
Nic Costa
24d793ce5d
Fix parameters provided to oob generator function
...
The function in the Nordic SDK for generating OOB data,
sd_ble_gap_lesc_oob_data_get, requires local LE Secure Connection
P256 Public Keys in {X,Y} format, but was being supplied with
the local secret key. This caused the generated OOB data to
fail to correspond to the Public Keys, which caused a mismatch
during the OOB pairing phase of the OOB confirmation value by
a remote peer when attempting to verify the OOB data against
the Public Keys, ultimately causing the OOB pairing request to
fail with a Confirm Value Failed (0x04) error.
2019-01-11 08:54:30 -06:00
Desmond Chen
f281e06e46
BLE: NRF52 returns tx/rx phy on phy update callback
2019-01-03 10:11:14 +08:00
paul-szczepanek-arm
8b39071cd8
make function name longer
2019-01-02 14:29:30 +00:00
Desmond Chen
30ca813f07
Fix BLE long write execution failure
2018-12-19 08:08:16 -08:00
paul-szczepanek-arm
e1cf516100
fix max payload and hci length values
2018-12-13 17:50:53 +00:00
Cruz Monrreal
23022dd0f9
Merge pull request #8998 from pan-/ble-extended-advertising-fixes
...
Ble extended advertising fixes
2018-12-10 10:36:05 -06:00
paul-szczepanek-arm
c998287170
fixed ARM compilation problem caused by noreturn
2018-12-10 13:47:14 +00:00
paul-szczepanek-arm
97df8f5ed9
working ARM lib
2018-12-10 13:46:26 +00:00
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
698447b622
BLE: Fix address type allowed to create a periodic sync.
2018-12-07 00:04:29 +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
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