mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
minor refactoring of the ble module
This commit is contained in:
parent
42c5431f59
commit
f79f4bff4c
3 changed files with 104 additions and 94 deletions
|
@ -11,6 +11,8 @@ import (
|
|||
"github.com/bettercap/gatt"
|
||||
)
|
||||
|
||||
const BLEMacValidator = "([a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2}:[a-fA-F0-9]{1,2})"
|
||||
|
||||
type BLEDevNewCallback func(dev *BLEDevice)
|
||||
type BLEDevLostCallback func(dev *BLEDevice)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue