Open minhajakhterkhan199 opened 7 years ago
Perhaps a little late. I was having the same issue then executed the example with administrator rights.
For your kind info, already fixed that issue.
It takes root privilege and exclusive access to the HCI device.
BTW, more recent efforts for BLE with GO can be found at:
https://github.com/currantlabs/ble or https://github.com/go-ble/ble
Cheers
I have recently found https://github.com/bettercap/gatt to be more active. currantlabs hasn't updated in years.
I am using this fork https://github.com/cksmith/gatt haven't looked into bettercap
When I am running discoverer.go from example I am getting error no supported devices available. In addition, my Ubuntu 16.04 is successfully able to discover and connect to devices. Please advise hwo to solve the issue.
go run examples/discoverer.go 2017/06/03 18:54:06 dev: hci0 up 2017/06/03 18:54:06 Failed to open device, err: no supported devices available exit status 1