-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Can termux access phone's bluetooth adapter? #235
Comments
A command could perhaps be added to the Termux:API add-on app. Do you have an idea of how it would look like? Perhaps something like
to find out addresses, and
to connect to a device, communicating over stdout&stdin? |
I don't think it would it be possible to use third party tools with that approach though. |
Having a library that supports Bluetooth headers would be a great idea in my opinion, as e.g. |
Is it a complex problem to add the ability to stream data from a Bluetooth device? Does Termux not have access to this device after installing? Just trying to understand the problem and possible solutions. Thanks. |
I am able to see the serial port devices under the root drive "/dev/tty...", does this mean I can read data from these ports from the Termux shell or running app? We have NodeJS installed on Termux. Thanks. |
Would it be possible to have a command to switch bluetooth on and off again? I personally don't need to be able to configure bluetooth from the command line. |
@tomtom what's the purpose of switching it on and off? |
Basic use case: have bluetooth turned off by default but turn it on when starting termux -- and maybe turn it off again when quitting termux. |
@tomtom that makes sense. I might be possible already today to turn on/off bluetooth using am, but would require root unless some permissions are added to the app I think. See https://stackoverflow.com/questions/37259260/android-enable-disable-bluetooth-via-command-line |
I like this idea. What is needed to implement? |
Maybe anybody can take code from https://github.com/StevenSalazarM/Termux-api-bluetooth and integrate? I try this package, but always has error - "unused DT entry: type 0xXX arg" |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi, There is any update about this feature? Thanks! |
hello there, im trying to write a c program that uses (PD: srry in advance if this is not the correct conversation to post this request) |
I made a pull request for this, please merge it. |
I recently started using termux and I can't seem to find a way to access my phone's bluetooth adapter. Is it even possible?
The text was updated successfully, but these errors were encountered: