SimpleUsbTerminal icon indicating copy to clipboard operation
SimpleUsbTerminal copied to clipboard

feature request: add network based api for serial port access automation

Open ilyapashuk opened this issue 4 years ago • 1 comments

hello

please add function to start, when connected, server on localhost or abstract unix socket which will give access to this port for there clients.

with this server it will be possible to access such port from apps like termux, in which it is difficult to use your backend library directly.

ilyapashuk avatar Aug 08 '21 09:08 ilyapashuk

another approach would be using intents, like this app supports (and this).

Intents have the advantage you don't have to manually start the server before you can send requests, they cannot be killed, and they can easily be invoked from external app/scripts. e.g.:

am broadcast -a kg.serial.manager.send --es data "Status"

eadmaster avatar May 29 '24 05:05 eadmaster