-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I started to receive FAILURE_BUTTON_NOT_IN_PAIRABLE_MODE. I can not reconnect with flic again
Steps to Reproduce:
1- all integration works expected. I'm connected with flic2 button.
2- After a while I want to remove connection of flic2 button. And I call this function below:
class Flic2Service: Service() {
....
fun forgetFlicButton(): Boolean {
Flic2Manager.getInstance().apply {
if (this.buttons.isNotEmpty()) {
stop()
this.forgetButton(this.buttons[0])
Timber.i("forgetFlicButton=true")
return true
}
Timber.i("forgetFlicButton=false")
return false
}
}
.....
}
3- After calling forgetFlicButton, I want to reconnect my Flic2 Button
4- Unfortunately I can not reconnect my flic2 button again. I receive these logs during the connection:
onDiscovered 80:Q4:AA:73:11:11
onConnected
onComplete FAILURE_BUTTON_NOT_IN_PAIRABLE_MODE - 0 - button.state=null
Any idea what's going wrong here?
I've recently update my project's targetSDK = 34. Maybe related with it?
Metadata
Metadata
Assignees
Labels
No labels