termux / termux/termux-api

bridge usb-serial communication to file like /data/data/com.termux/files/usr/ttyUSB0

Open
#395 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Feature description

The is a driver library for communication with serial hardware on Android (in user space)
https://github.com/mik3y/usb-serial-for-android

Having the possiblity to bridge the usb-serial comunication to the file in termux app data directory we will be able to use the standard python, nodejs, c libs to comunicate with usb devices on Android.

Reference implementation

Does another app/terminal emulator have this feature?
Provide links to more background information.

It is possible to bridge the usb-serial to tcp on Android:
https://play.google.com/store/apps/details?id=com.cidtepole.serverbridge&hl=en

I described the full idea here
https://github.com/mik3y/usb-serial-for-android/issues/336

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the requested bridge behavior and the linked usb-serial-for-android issue, then review how Termux exposes functionality to command-line programs. Define the communication bridge and target file behavior; done means standard Python, Node.js, or C clients can communicate with USB serial devices through the Termux app data path.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, embedded-iot, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.