-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
applications: Enabled using persistent storage in Matter bridge.
The change includes the following commits: 1. applications: Created application bridged devices creator module. The bridged devices adding and removing was handled in the shell module, however it may be useful to trigger such actions from a different parts of an application (e.g. app task). Extracted methods to add and remove bridged devices and handle Bluetooth LE connected callback to the dedicated bridged devices creator module. It will be possible to use its API in shell and in the different locations as well. 2. samples: matter: Refactored bridge manager API for adding devices Changed bridged manager API and adding devices algorithm to allow requesting usage of specific index and endpoint id. 3. applications: Enabled using persistent storage in Matter bridge Added storing bridged devices in the persistent storage after creation, removing them from the storage after removal and loading them from the storage after boot. 4. samples: matter: Added BLE connections recover after bridge reboot Implemented recovering Bluetooth LE connections to the stored bridged devices after bridge reboot. Additionally refactored structure of BLEConnectivityManager and BLEBridgedDeviceProvider by moving the BLEBridgedDevice objects ownership from manager to providers. Signed-off-by: Kamil Kasperczyk <[email protected]>
- Loading branch information
1 parent
a3ac791
commit 0204f74
Showing
16 changed files
with
1,157 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.