Using Bluetooth #92
Answered
by
DesktopECHO
Jakethe1stdog
asked this question in
Q&A
-
I've successfully installed pi deploy and it works great, but I'd like to use the Bluetooth functionality of my phone. When listing the Bluetooth adapter using the bluetoothctl command no adapters can be found, but when listing the adapters via rfkill it can see the bluetooth adapter of my phone. Is it possible to enable or mount the Bluetooth adapter somehow? |
Beta Was this translation helpful? Give feedback.
Answered by
DesktopECHO
Apr 28, 2024
Replies: 1 comment 6 replies
-
Hi... If you enable bluetooth tethering Android will assign an IP to the BT interface. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunantely I don't think you're going to be able to achieve what you want to accomplish, not easily at least.
Android uses a different bluetooth stack (Fluoride or Gabeldorsche) than what's available in normal Linux. That's why the container isn't responding to BT commands in the way you'd expect.
You can use the
unchroot
command to escape the container and play with the Android BT stack directly, for example trysudo unchroot dumpsys bluetooth_manager