Skip to content

Conversation

@Tschet1
Copy link
Contributor

@Tschet1 Tschet1 commented Jun 7, 2024

Rework enabling of scanner

To make the scanner module more understandable and more streamlined, I
reworked the update mechanism of the scanner. The scanner tracks now the
parameters that were used to enable it and the reason why it is running.
This facilitates state logic and allows other modules to "start the
scanner", altough it is already running.

@Tschet1 Tschet1 changed the title WIP: Concurrent init scan WIP: refactoring of scanner state machine Jun 10, 2024
@Tschet1 Tschet1 force-pushed the concurrent_init_scan branch 12 times, most recently from a3f6b94 to 4c1daed Compare June 14, 2024 12:38
@Tschet1 Tschet1 marked this pull request as ready for review June 14, 2024 14:20
@Tschet1 Tschet1 changed the title WIP: refactoring of scanner state machine refactoring of scanner state machine Jun 14, 2024
@zephyrbot zephyrbot added platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim area: Bluetooth area: Bluetooth Host Bluetooth Host (excluding BR/EDR) labels Jun 14, 2024
@Tschet1 Tschet1 force-pushed the concurrent_init_scan branch from 4c1daed to c7059f7 Compare June 17, 2024 07:05
@Tschet1 Tschet1 requested a review from jhedberg June 17, 2024 07:05
Tschet1 added a commit to Tschet1/sdk-zephyr that referenced this pull request Jul 16, 2024
To make the scanner module more understandable and more streamlined, I
reworked the update mechanism of the scanner. The scanner tracks now the
parameters that were used to enable it and the reason why it is running.
This facilitates state logic and allows other modules to "start the
scanner", altough it is already running.
This is mostly a refactoring and not a functional change.

Added a test to verify the behavior.

Upstream PR: zephyrproject-rtos/zephyr#73923

Signed-off-by: Jan Müller <jan.mueller@nordicsemi.no>
nordicjm pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Jul 16, 2024
To make the scanner module more understandable and more streamlined, I
reworked the update mechanism of the scanner. The scanner tracks now the
parameters that were used to enable it and the reason why it is running.
This facilitates state logic and allows other modules to "start the
scanner", altough it is already running.
This is mostly a refactoring and not a functional change.

Added a test to verify the behavior.

Upstream PR: zephyrproject-rtos/zephyr#73923

Signed-off-by: Jan Müller <jan.mueller@nordicsemi.no>
@fabiobaltieri
Copy link
Member

merge conflict, can you rebase please?

@fabiobaltieri
Copy link
Member

@Tschet1 this needs a rebase

@nashif
Copy link
Member

nashif commented Aug 19, 2024

rebase please

@Tschet1 Tschet1 dismissed stale reviews from jhedberg, jori-nordic, and Thalley via 5c2d7f3 August 20, 2024 07:46
@Tschet1 Tschet1 force-pushed the concurrent_init_scan branch from eaff5ed to 5c2d7f3 Compare August 20, 2024 07:46
@Tschet1
Copy link
Contributor Author

Tschet1 commented Aug 20, 2024

sorry was on holidays. Rebased now.

jori-nordic
jori-nordic previously approved these changes Aug 20, 2024
To make the scanner module more understandable and more streamlined, I
reworked the update mechanism of the scanner. The scanner tracks now the
parameters that were used to enable it and the reason why it is running.
This facilitates state logic and allows other modules to "start the
scanner", altough it is already running.
This is mostly a refactoring and not a functional change.

Added a test to verify the behavior.

Signed-off-by: Jan Müller <jan.mueller@nordicsemi.no>

add to task
@Tschet1 Tschet1 force-pushed the concurrent_init_scan branch from 5c2d7f3 to 132bce1 Compare August 20, 2024 08:50
@Tschet1 Tschet1 requested a review from jori-nordic August 20, 2024 11:23
bjarki-andreasen pushed a commit to bjarki-andreasen/sdk-zephyr that referenced this pull request Aug 20, 2024
To make the scanner module more understandable and more streamlined, I
reworked the update mechanism of the scanner. The scanner tracks now the
parameters that were used to enable it and the reason why it is running.
This facilitates state logic and allows other modules to "start the
scanner", altough it is already running.
This is mostly a refactoring and not a functional change.

Added a test to verify the behavior.

Upstream PR: zephyrproject-rtos/zephyr#73923

Signed-off-by: Jan Müller <jan.mueller@nordicsemi.no>
@nashif nashif merged commit c910520 into zephyrproject-rtos:main Aug 20, 2024
@Tschet1 Tschet1 deleted the concurrent_init_scan branch August 21, 2024 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants