Skip to content

Looking for Connection/Disconnection handler for a peripheral device #70

@SVdvr

Description

@SVdvr

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions