We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, is any option to get ConnectionLostException from Peripheral.observe(...) when I turn off device? I think this is missing in Your library.
ConnectionLostException
Peripheral.observe(...)
I have simple configuration:
val scanner = Scanner { filters = null }.advertisements.first() peripheral((scanner)).apply { connect() val controlFlow by lazy { characteristicOf( "1bc51520-0200-c991-e511-e47140b6f6ac", "1bc51522-0200-c991-e511-e47140b6f6ac", ) } val dataFlow by lazy { characteristicOf( "1bc51520-0200-c991-e511-e47140b6f6ac", "1bc51521-0200-c991-e511-e47140b6f6ac", ) } write(controlFlow, byteArrayOf(0), WriteType.WithResponse) observe(dataFlow).collect { println(it.joinToString()) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, is any option to get
ConnectionLostException
fromPeripheral.observe(...)
when I turn off device?I think this is missing in Your library.
I have simple configuration:
The text was updated successfully, but these errors were encountered: