How to call RJ45 as a serial port for communication?

I am currently working on a serial interface project based on connecting to the rs232 port. However, observing a decent number of laptops and / or PCs, it seems that their rs232 ports will disappear within the next 5 years, I was considering using the modular RJ45 port for my project (EIA / TIA 568). However, I'm not quite sure how to designate it when accessing the port through Win32API (I program in C ++). It is currently programmed to "COM1". Does anyone know how I can find out what this port is called or how to configure it so that it can be used in this way?

+3
source share
7 answers

I'm really confused ... RJ45 ports on laptops / PCs are for Ethernet connections, right? I do not understand how you could use it as a COM port.

If you need a serial port and do not need ultra-low latency *, take the USB ↔ RS232 converter, they will work from 20 to 30 US dollars and will work perfectly: from the point of view of PC software, it looks like a normal old COM port.

* RS232 , USB , , USB... , , USB 1 16 ; USB 2.0, , 125usec, , - . , RS232 .

+8

-, , . , .

USB- DB-9 RS-232. RS-232 , ( , , USB).   . /geek- USB .

COM- Windows COM- ( ).

+2

RJ45, , Ethernet, .

, USB. Ethernet, XPort Lantronix.

- -

?

, (RS-232) , , ?

, , RS-232.

, RJ-45 , . RS-232 DB-9, DB-25, RJ-45 . . .

RJ-45 ethernet. , RJ-45 , .

+1

USB- RS-232 .

USB .


, ; - "duh! Serial ".

: , .

RS-232 , , USB .

. - RS232, . RS232-to-USB , . , ( ) , RS232-USB, () .

. , USB- , , , ; , , . , " , " .

, , USB- RS232; RS-232 . .

+1

http://site.gridconnect.com/docs/PDF/xportmanual.pdf .

, , - rs-232 Ethernet-. , .

, , . , , , , , .

, , RS-232 ( 25 ) .

, , , whitch .

, RS-232 LAN 45rj - , .

:::: Microsoft, ; " "" "" . CMM .

, , , .

+1
0
source

Perhaps you are thinking of something like this ...

http://www.comtrol.com/products/specifications/30130-1

Giuliano Jungle

0
source

Source: https://habr.com/ru/post/1714322/


All Articles