Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sfos: bluez5: Wait for NewConnection even if Connect fails.
If the initial Connect call fails it is possible that the headset in question is still starting up and doesn't want connection from our end just yet. In that case say that we are connecting and wait for possible NewConnection from the starting device. In case there isn't going to be any NewConnection set up a timer to update the backend state.
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 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