C # Serial Port Forwarding

Is there a way in C # to write a serial port redirector? I have an application that is encoded to use port 1 (com1 :) however my port on the controller (Intermec CN50) is always 3. I don’t have access to mobile software modifications, however I would like to redirect any data to 1 to copy it 3 and any data coming in for copying from 3 to 1, so the application does not know the difference.

I know this is a difficult problem, but I'm sure one of you guys got the answer.

I'm sure not.

Thank you, Chris

+3
source share
1 answer

No no. You have several alternatives, depending on the device and your specific needs.

. COM1, HKLM\drivers\builtin 3 1. , device.exe COM1, COM3. , , , COM1 COM2 . , . 3 . 1 3 3 1, .

- , , OEM . ( I2C, ):

driver with no port

, Prefix Index. "I2C0:". Index - , "2", "I2C2:".

, , :

enter image description here

, Port Prefix plus Index. , , , . COM3, Index 3 Port COM3, , , . , . , , , , , , .

, / . GPS (GPSID) Windows Mobile . , , C, ( CF) , device.exe #.

+3

All Articles