On Thu, 31 Dec 2020 21:36:34 +0100, RobertoA wrote:
> Il 31/12/2020 03:02, A. Dumas ha scritto:
>> Andy Burns wrote:
>>> On a hardware level you'll need a level shifter to convert the PI's
>>> RX/TX pins from 3.3V TTL to +/- 12V e.g.
>>
>> No. He said uart, never mentioned rs232.
>>
>>
> Rs232 electric level in not necessary Conversion ttl-rs232 is not
> necessary Gpio port of Rasperry is connected directly with other 3v3
> electronic boards The part for me obscure, is how to use Raspberry uart
> port for communication via tcp ethernet line The second big question is
> how to use for a 'virtual com port' on Windows side, that mus
> communicate with Raspberry board Please see the following link
>
> https://www.b4x.com/android/forum/threads/raspberry-how-to-realize-a-
serial-server-uart-ethernet.125040/
netcat - aka. nc is one answer.
Its a standard Linux utility program. Its usable in shell scripts which
in turn can be run a cron jobs. See its manpage for details. Among other
things it can copy a data stream from a serial port to a network socket
or vice versa.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|