Answer the question
In order to leave comments, you need to log in
How do two programs communicate through the USB port?
There are two systems, ubuntu (PC) and the second OpenWRT (single board computer). it is necessary to send data from the second to the first via USB, that is, data from the program is read on the device and sent to the port. I decided that Python would be a simple language for this task. Previously, I didn’t have to work with usb transfer, so I don’t even know where to dig. A large string will be sent to the port. Any help is greatly appreciated!
Answer the question
In order to leave comments, you need to log in
If you have never dealt with USB, then you can immediately forget this idea in principle, especially with python, do not especially write drivers like hardware.
Your option is the banal USB-RS232 adapters of which there are tons, the only thing is to look for those that "out of the box" will work with regular Linux firewood without shamanism. And you can communicate in lines \ bytes in any languages, and even with hundreds of thousands of manuals.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question