Abdullah Toqeer
Abdullah Toqeer

Reputation: 11

Connect the windows kernel driver to physical serial port (COM1) in windows

I need to connect my kernel driver in windows to com port (COM1) and I want to write some data on COM1, How can I do it? Need suggestions.

Upvotes: 0

Views: 461

Answers (1)

Baget
Baget

Reputation: 3344

You need to write a Virtual Serial driver, here is Microsoft sample for Kernel mode driver.

Keep in the middle that Windows allocates the COM numbers, depends on the number of ports that you have on your system. COM1 is usually allocated to the onboard serial port.

Upvotes: 1

Related Questions