You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ examples/lescan
error 1611577006.276827: Setting scan parameters: Operation not permitted
terminate called after throwing an instance of 'BLEPP::HCIScanner::IOError'
what(): Setting scan parameters: Operation not permitted
Aborted (core dumped)
It looks like libblepp nees to be used with sudo in a default setup for me. Is this an inherent limitation of the non-dbus approach?
The text was updated successfully, but these errors were encountered:
I don't know the answer to your question, but this post gave me a work-around.
Assuming you have libcap installed, the following line will give the lescan_simple the permissions it needs: sudo setcap 'cap_net_raw,cap_net_admin+eip' lescan_simple
There could very well be better fixes to the sudo issue, but this is doing the job for me until I find one.
It looks like libblepp nees to be used with
sudo
in a default setup for me. Is this an inherent limitation of the non-dbus approach?The text was updated successfully, but these errors were encountered: