Closed saeedamiri92 closed 2 years ago
Are you running as root?
Are you running as root?
YES
I have completed the following steps:
g++ lescan_simple.cc -o lescan_simple --std=c++11 -lble++ -lbluetooth
Hard to tell. Something else might also be connected to the control mode of the bluetooth adapter (try disabling all bluetooth services), or possibly the VM has insufficient permissions on the device: according to the HCI protocol setting/disabling scanning has the same level of access as that needed to snoop on all traffic.
On Sat, 29 Jan 2022 at 12:39, saeedamiri92 @.***> wrote:
I have completed the following steps:
- clone
- cmake
- make install
- compile by: g++ lescan_simple.cc -o lescan_simple --std=c++11 -lble++ -lbluetooth
— Reply to this email directly, view it on GitHub https://github.com/edrosten/libblepp/issues/64#issuecomment-1024904254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZN26QYOXZYG6Q3TIRLJDUYPNZFANCNFSM5M3BGWQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
Yes, that's right. I tested this library on an Ubuntu that installed directly on the system and found no errors.
Hi, I trying to run "lescan_simple" from examples. the environment is ubuntu 20.04 in VM. I compiled and ran the program, but I got an error and execution aborted with following msg.
the problem related to
HCIScanner
of bellow command:BLEPP::HCIScanner scanner;
Can anyone help me to fix the problem? any idea