Paul Szczeanek
593c1776b4
add EventList class for storing pending events
2020-10-05 11:53:23 +01:00
Paul Szczeanek
44b2e73ef1
Add setters to events
2020-10-05 11:53:23 +01:00
Paul Szczeanek
df17942c2c
remove unused enhanced conn complete
2020-10-05 11:53:23 +01:00
Paul Szczeanek
0a3cd69fc6
event handler should not affect internal state
2020-10-05 11:53:22 +01:00
Paul Szczeanek
685af00fd5
split resolve addres into cache and not cache
2020-10-05 11:53:22 +01:00
Vincent Coubard
4859dbe426
BLE: Set identity address to random static.
...
This also ensure the random static address used by gap is the correct one.
2020-10-05 11:53:22 +01:00
Vincent Coubard
0b98682109
BLE: Add function to set the identity address used by the controller/platform.
...
The function to get it has been removed as this operation is driven by the security manager.
2020-10-05 11:53:22 +01:00
Vincent Coubard
5cb05958a9
BLE: Add function to get the device random static address.
2020-10-05 11:53:22 +01:00
Vincent Coubard
f897729d5c
Cordio: Add API to set the local identity address.
2020-10-05 11:53:22 +01:00
Vincent Coubard
9eac36879a
BLE: improve scan state bookkeeping
2020-10-05 11:53:22 +01:00
Vincent Coubard
9df7fc9b7e
BLE: Fix state update when event handler not present
2020-10-05 11:53:22 +01:00
Vincent Coubard
48f4cfbe04
BLE: return stack busy instead of invalid state when applicable
...
enabling/disabling scanning and advertising operations can be prevented if the previous operations hasn't completed.
Return that the stack is busy and cannot fulfill the request at the moment rather than the state is invalid.
2020-10-05 11:53:22 +01:00
Vincent Coubard
3c22f8ae1d
BLE: privacy tracing cleanup
2020-10-05 11:53:22 +01:00
Vincent Coubard
19d89366d7
BLE: Private address when initiating connection
2020-10-05 11:53:22 +01:00
Vincent Coubard
c39d03a531
BLE: Implement private address rotation for initiating.
2020-10-05 11:53:22 +01:00
Vincent Coubard
4685322f4e
BLE: Add routine that computes the random address to use depending on the procedure.
2020-10-05 11:53:21 +01:00
Vincent Coubard
559640cbd5
BLE: check LL resolution availability before enabling it.
2020-10-05 11:53:21 +01:00
Vincent Coubard
e5128689aa
BLE: Fix random static address storage
2020-10-05 11:53:21 +01:00
Vincent Coubard
924f8b1dc9
BLE: Update state when scan started/stopped callback received.
2020-10-05 11:53:21 +01:00
Vincent Coubard
d8c6820cbd
BLE: Add callback for scan started and stoped.
2020-10-05 11:53:21 +01:00
Vincent Coubard
b8549ec91d
BLE: rename address resolution handler.
2020-10-05 11:53:21 +01:00
Vincent Coubard
4b853956d9
BLE: Add resolvable and non resolvable private address rotation with advertising
2020-10-05 11:53:15 +01:00
Vincent Coubard
f810ec4c2a
BLE: Add initiating flag into gap to track if the local device tries to connect to a peer.
2020-10-05 11:50:34 +01:00
Vincent Coubard
13771b8172
BLE: Remove address resolution from GAP pal
2020-10-05 11:50:34 +01:00
Vincent Coubard
7e16ee448e
BLE: Bind address controller with Gap
2020-10-05 11:50:33 +01:00
Vincent Coubard
313676a089
BLE: Add gap handlers to be informed when advertising as started or been stopped
2020-10-05 11:50:33 +01:00
Vincent Coubard
23f7a187fb
BLE: Pal event queue pop before execution.
...
A race condition was present if a single event was present in the event queue and the event was generating a new event.
2020-10-05 11:50:33 +01:00
Vincent Coubard
237278be24
BLE: Update security manager to use the PrivateAddressController
...
Resolution list has been removed from the pal as this is handled by the PrivateAddressController.
2020-10-05 11:50:33 +01:00
Vincent Coubard
44681ee982
BLE: Add PrivateAddressController module.
...
It controls private address generation and host or controller address resolution.
2020-10-05 11:50:33 +01:00
Vincent Coubard
7dacae73b2
BLE: Add cordio implementation of PalPrivateAddressController
2020-10-05 11:50:33 +01:00
Vincent Coubard
f1dbc893f3
BLE: Introduce PalPrivateAddressController
...
This PAL interface is responsible for generating, resolving private address and maintaining the controller or host resolving list.
It also indicates to upper level if LL resolution is supported or not and allows them to enable it.
2020-10-05 11:50:33 +01:00
Vincent Coubard
742356158f
BLE: Add resolvable_address_timeout_t datatype.
2020-10-05 11:50:33 +01:00
Vincent Coubard
bc860db7c5
ble: Add privacy mode to the pal
2020-10-05 11:50:32 +01:00
Vincent Coubard
f7dfc5c9f2
BLE: Update ble::Duration to support default values
2020-10-05 11:50:32 +01:00
Mika Leppänen
4bf2c3a964
Mesh interface global up is indicated always on bootstrap
...
This indicates e.g. to client that IP address has changed or connection
to network has been established.
2020-10-05 12:59:44 +03:00
Paul Szczeanek
97f10a11cc
fix missed member initialisation
2020-10-02 17:23:10 +01:00
Paul Szczeanek
e9ac83a92c
reset transport last and reset the default chars in gatt server
2020-10-02 16:14:20 +01:00
Anna Bridge
ad40b1b267
Merge pull request #13694 from saheerb/patch-4
...
adapting to new s3 bucket location in travis.yml
2020-10-02 11:56:02 +01:00
Saheer Babu
eeb61ec4e7
adapting to new s3 bucket location in travis.yml
2020-10-01 18:16:56 +01:00
Martin Kojtal
fbe04097c7
Merge pull request #13601 from AGlass0fMilk/fix-g474-adc
...
Fix AnalogIn implementation on STM32G4 series
2020-09-30 16:12:18 +01:00
Martin Kojtal
21652971a5
Merge pull request #12644 from macronix/macronix_ospi
...
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G
2020-09-30 16:07:20 +01:00
Martin Kojtal
1f868f96de
Merge pull request #13646 from boraozgen/bugfix/system-clock-weak
...
Make STM32F412xG system_clock.c functions weak
2020-09-30 16:01:02 +01:00
Martin Kojtal
1dea16bc58
Merge pull request #13611 from alcheagle/stm32l071xx-fixes
...
Edit on Toolchain linker files for stm32L071xx target
2020-09-30 16:00:20 +01:00
Martin Kojtal
efd385d6ce
Merge pull request #13679 from OpenNuvoton/nvt_i2c_timeout
...
Nuvoton: Fix NuMaker I2C timeout
2020-09-30 15:57:53 +01:00
Martin Kojtal
05ea20c44a
Merge pull request #13681 from winneymj/nrf52840_SPIM3_Updates
...
Nrf52840 spim3 updates
2020-09-30 15:56:36 +01:00
Martin Kojtal
aa9989f5bb
Merge pull request #13684 from 0xc0170/fix_nanostack_kvstore
...
nanostack: fix inclusion of kvstore
2020-09-30 15:52:09 +01:00
Martin Kojtal
96740b6bb3
travis: count always with true, status return later
2020-09-30 10:32:57 +01:00
Martin Kojtal
ccc5c8528b
nanostack: fix inclusion of kvstore
...
Protect kvstore headers as well as they should not be included if kvstore is not enabled
in nanostack file system.
2020-09-30 08:49:48 +01:00
cyliangtw
3916026dd7
Commit M451/NANO100 i2c_api again to resolve abnormal gitattribute
2020-09-30 10:27:16 +08:00
winneymj
d60af095ba
Fix spacing
2020-09-29 17:55:06 -05:00