-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
SimpleBLE C and C++ examples failling in Linux with DBus exception error #220
Comments
Hey @Dharani3110, can you check if your BLE adapter is supported in the VM? We've had some issues in the past where the OS doesn't really have access to any outside peripherals. Also, which VM app are you using? VirtualBox? VMWare? |
To answer your question, I use Oracle Sun VirtualBox. Let me check if OS has access to outside peripherals and get back. |
After adding my host bluetooth adaptor to the USB devices of the Ubuntu virtual machine, now I get the "Bluetooth not found" error status instead of the DBus error. |
It's quite likely that the virtualization layer is failing to properly expose this to Ubuntu. My biggest recommendation would be to try this directly on the host, given that it's already supported. |
Sure, Thanks for your support! |
I get the below DBus issue when trying to execute examples in simpleBLE c and cpp folders. But simpledbus example seems to work.
My environment:
OS: Ubuntu 22.10 Virtual machine
Installed packages: libdbus-1-dev
Please help me in solving this issue.
The text was updated successfully, but these errors were encountered: