Decorator for ble service added
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package workers
|
||||
|
||||
import "github.com/currantlabs/gatt"
|
||||
|
||||
type Worker interface {
|
||||
OnDiscovery(p gatt.Peripheral, a *gatt.Advertisement, rssi int) bool
|
||||
OnConnect(p gatt.Peripheral, err error) error
|
||||
}
|
||||
Reference in New Issue
Block a user