Skip to content

Gracefully power off adapter #157

Answered by surban
manio asked this question in Q&A
Discussion options

You must be logged in to vote

BlueR itself is not doing any cleanup when you power down the adapter. It just sends the power down request to bluetoothd.

I am not aware of any explicit requirements to remove advertisements before powering down the adapter or quitting the program. In our examples the explicit drop is there to test that BlueR properly unregisters dropped objects. However, as a system service bluetoothd is expected to clean up after programs that just exit.

If your code is working fine, I would not worry about the cleanup sequence.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by manio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants