Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: matter: Added BT recovery mechanism to Matter Bridge. #12066

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

ArekBalysNordic
Copy link
Contributor

After lost the connection between the Matter Bridge and the Bluetooth LE bridged device the recovery mechanism is started and the Bridge tries to scan and re-connect the lost device.

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Aug 17, 2023
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Aug 17, 2023

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-chip X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

Copy link
Contributor

@kkasperczyk-no kkasperczyk-no left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left few comments, but other than that it looks pretty good.

@ArekBalysNordic ArekBalysNordic force-pushed the matter_bridge_recovery branch 3 times, most recently from 8dfbf72 to 1f0794d Compare August 21, 2023 10:23
After lost the connection between the Matter Bridge and the
Bluetooth LE bridged device the recovery mechanism is started
and the Bridge tries to scan and re-connect the lost device.

Multiple BT LE devices can be lost asynchronously and then the
Bridge device will scan and try to connect to each of them
one by one.

Added notify mechanism to inform the Matter layer that
rhe bridge device loses/returns the Bluetooth LE connection
to the Bridged device.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>

Added scan timeout
@rlubos rlubos merged commit 3b3d272 into nrfconnect:main Aug 23, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants