-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
samples: matter: Added BT recovery mechanism to Matter Bridge. #12066
Conversation
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
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. |
69d6ec6
to
5fd0388
Compare
There was a problem hiding this 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.
samples/matter/common/src/bridge/bridged_device_data_provider.cpp
Outdated
Show resolved
Hide resolved
8dfbf72
to
1f0794d
Compare
samples/matter/common/src/bridge/bridged_device_data_provider.h
Outdated
Show resolved
Hide resolved
samples/matter/common/src/bridge/bridged_device_data_provider.cpp
Outdated
Show resolved
Hide resolved
samples/matter/common/src/bridge/bridged_device_data_provider.cpp
Outdated
Show resolved
Hide resolved
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
1f0794d
to
2a0da84
Compare
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.