-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to receive data as non-root? #30
Comments
Hello @aditi1prakash, By default, on Linux, the Bluetooth protocol stack needs special privileges to interact with. These privileges are implemented through properties called "capabilities" (see man 7 capability for details), and the tool to assign capabilities is "setcap". Since the Python version of the BlueSTSDK makes use of the bluepy library, it is the binary "bluepy-helper" that interacts with the Bluetooth protocol stack; hence, in case you want to do so, you should locate where it is installed and assign the proper capabilities to it. See also here. Regards, |
Hello @aditi1prakash,
Thank you, |
Current example scripts need root access, is it possible to connect and receive data as non-root?
If not, then why is root access required?
The text was updated successfully, but these errors were encountered: