Open steven-varga opened 1 year ago
Same issue here. Scan doesn't seem to work. Environments:
Logs of different tries:
burro@debo-burro:~/personal/bluetooth-libraries/libblepp$ ./build/examples/lescan
error 1701906534.613009: Error obtaining HCI device ID
terminate called after throwing an instance of 'BLEPP::HCIScanner::HCIError'
what(): Error obtaining HCI device ID
Aborted
burro@debo-burro:~/personal/bluetooth-libraries/libblepp$ ./build/examples/lescan_simple
error 1701906559.874822: Error obtaining HCI device ID
terminate called after throwing an instance of 'BLEPP::HCIScanner::HCIError'
what(): Error obtaining HCI device ID
Aborted
burro@debo-burro:~/personal/bluetooth-libraries/libblepp$ ./build/examples/lescan_simple
error 1701906575.501442: Setting scan parameters: Operation not permitted
terminate called after throwing an instance of 'BLEPP::HCIScanner::IOError'
what(): Setting scan parameters: Operation not permitted
Aborted
burro@debo-burro:~/personal/bluetooth-libraries/libblepp$ sudo !!
sudo ./build/examples/lescan_simple
warn 1701906595.637207: Received I/O error while setting scan parameters.
warn 1701906595.637222: Switching off HCI scanner
error 1701906595.638335: Error disabling scan:: Input/output error
terminate called after throwing an instance of 'BLEPP::HCIScanner::IOError'
what(): Error disabling scan:: Input/output error
Aborted
Cool project! -- my goal is to write a plugin to synergy variant barrier and looking for library that is suitable for this purpose. Can anyone confirm
libblepp
suitable to create a HID service or HID over GATT profile (HOGP) ?Unfortunately after compiled the examples on a
LinuxMint 20.3 Lenovo X1
and running the examples with sudo I am getting:The bluez stack is
bluetoothctl: 5.63
; what could I be doing wrong?