M
M
Mityay Bebe2018-02-09 09:44:37
linux
Mityay Bebe, 2018-02-09 09:44:37

How to organize the transfer of information from a serial port via the Internet to a virtual serial port in a Linux environment?

It is necessary to transfer data from the serial port on Raspberry (Raspberrypi3 (B)) to a virtual port created on another computer with OS Linux. An Arduino UNO is connected to Raspberry, which reads readings from sensors and transmits to Raspberry. Arduino is recognized on port ttyACM0. How to set up a server and client to organize data transfer? I found information that is possible, but unfortunately there are no detailed instructions. As I understand it, TCP / IP protocols are used here. It is possible to organize it somehow through sokat, RFC 2217, ser2net. How exactly, what and where to prescribe in the server and in the client? And is it necessary to have a static IP on Raspberry in order to transfer data to the virtual port of another machine? I would be grateful if someone chews in more detail, otherwise I myself have been racking my brain for more than a day.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2018-02-09
@Tabletko

Maybe this option will help

P
Pavel, 2018-02-09
@toobinks

Try pppd
instructions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question