You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the package https://github.com/go-ble/ble to develop a peripheral BLE device on an RPI, and I'd like to use your package to add pairing/bonding and secure connection to my project.
However, I can't find on your package options like OptConnectHandler() and OptDisconnectHandler(), that triggers functions each time a Central device connects/disconnects. They are available on the other package (https://pkg.go.dev/github.com/go-ble/ble#OptConnectHandler).
Do you plan to implement it, or maybe did you already replace it with something else ?
Thank you !
The text was updated successfully, but these errors were encountered:
We are actively working towards some support for Bluetooth v5.4 features. At the moment, I don't think we will be able to add this to the option interface. I'm not sure of the history in https://github.com/go-ble/ble regarding these options, but my suspicion is that our fork was made before these options were merged. It's possible we removed them, though I'm unsure why we would have removed them.
We would be happy to accept a PR if you want to find the places where those are invoked in the other repository and add them in to this one.
The security implementation may not be fully suited to a peripheral implementation as we primarily use the central side. I would be happy to help look over a PR which included those updates as well.
Hello,
I used the package https://github.com/go-ble/ble to develop a peripheral BLE device on an RPI, and I'd like to use your package to add pairing/bonding and secure connection to my project.
However, I can't find on your package options like OptConnectHandler() and OptDisconnectHandler(), that triggers functions each time a Central device connects/disconnects. They are available on the other package (https://pkg.go.dev/github.com/go-ble/ble#OptConnectHandler).
Do you plan to implement it, or maybe did you already replace it with something else ?
Thank you !
The text was updated successfully, but these errors were encountered: