-
Notifications
You must be signed in to change notification settings - Fork 115
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
Investigate the BlueZ virtual adapter functionality #142
Comments
you are using a wrong command the right one is $sudo ./emulator/btvirt -l2 |
Ah! Makes sense. I'll give that a try. @AhmedHussein534 , Do you have experience of using btvirt for doing automated testing? |
no i started using it today |
I tried it as you suggested but still not working for me:
What version are you using? If I select BR/ER only then it works:
Then in another terminal I can see the extra adapters:
|
No, I didn't do anything special, I only cloned this
https://github.com/hadess/bluez
|
|
Thanks @mr499. I've upgraded my system to 5.48 using the following config:
This is still showing me the issue
The status of various things are:
Not sure what else to try to identify where the issue is with my system... |
A little more investigating on this and the issue seems to be on the Raspberry Pi 3 hardware. |
I got it working on the Pi3 with a kernel rebuild - setup & building, configuration - I used menuconfig, browsed to the crypto settings and enabled the userspace interfaces (not sure exactly which one is needed at this point), rebuilt the kernel and btvirt worked. Next step is trying to build stuff as modules and figure out the specific module. |
As a follow-up, I rebuilt with "user-space for hash algorithms" ( |
Doing an
After installing with
The Bluetooth emulator is available:
Doing
|
Looking at the latest specifications for GitHub-hosted runners for GitHub Actions, it looks like On a local machine running Looking at the list for Debian based distros confirms that |
Built
Emulator is now available for use:
Using it:
|
BlueZ have the ability to create virtual adapters using the undocumented btvirt tool.
I have had issues getting it to run and have asked the developer for some documentation.
The basic gist of it is you create two virtual adapters to form each end of the Bluetooth connection.
However I seem to be getting an error when I try:
The text was updated successfully, but these errors were encountered: