-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
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
Add standalone server support to BleServerManager #231
Conversation
Updated this PR to further flesh out BleManager's standalone server support. In particular, we initialize BleManager's BluetoothGattServer tracking metadata at an earlier time (when the server is open vs when optional client's unrelated services are discovered). We also make BleManager's BluetoothDevice settable so servers can set it since ConnectRequests aren't relevant to standalone servers. |
How will the API of the |
Makes sense, I can think more about how to separate this API out more cleanly. For now, do you want to just merge the ServerObserver commit? If so, I can strip the top one off. |
Since this thread is still "open", does this mean that stand-alone peripheral still doesn't work? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supi
I'm closing this PR as we're moving towards Kotlin BLE Library, which should support the only-server case in a better way. |
This makes it easier to use BleManager in a purely server role, as described in #229.