maks / UartBridge

Android App bridging USB Uart to Network Port
MIT License
16 stars 6 forks source link

does not read from tcp client to serial #9

Open harryberlin opened 4 years ago

harryberlin commented 4 years ago

I'm very new in andoid app programming. got it compiled in AS 4.0.1. Did some tests, but i can't send from tcp to serial. looks like the tcp server don't read.

How to get it working, read the tcp input and write to uart? Is there missing a method to read and/or write to uart?

maks commented 4 years ago

Yes this app was meant for a very limited purpose of just relaying data coming in from a uart (on a usb port) to an app that can only have a TCP port as input. So I never implemented sending any data back via TCP out to the uart, so would need to implement that if you need that functionality.

DimitarYakov commented 3 years ago

Same here, it would be nice if you can make that option.

maks commented 3 years ago

I'm afraid Im not likely to get to adding this feature anytime soon due to other commitments, but I'd be happy if someone wanted to contribute a PR for this.

DimitarYakov commented 3 years ago

Sadly im new in adroid and dont have that much experience with java (mostly data processing projects), don't promise anything, but ill try my best, that kind a tool would be useful in some cases.