A
A
AlexSer2018-05-11 12:32:12
Programming
AlexSer, 2018-05-11 12:32:12

What area to dig into to create a program - a "mini driver"?

Hello! There was a task, receiving and transferring data to the server from the device.
Question: What do we need to do in order to create such a driver, in the sense that we need to study which way to go.
There is a device that transmits data on the com port. Sends in XML format.
We need a small program that would be like a driver. Those. the device has its own driver, you need to create a program that would receive data and forward it to the server via TCP\IP : port. And so that the program is not visible to the user. Now everything works through the Serial to Ethernet Connetcor 7.1 program. It is desirable when installing the driver, this program was installed automatically (do not really know no)
What can you suggest?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Makarov, 2018-05-11
@AlexSer

Well, take boost::asio and make a Windows Service or daemon that gets installed along with the device driver. With the help of boost::asio, you can also read the COM port (see the puloon-cxx and ccnet-cxx libraries for devices for an example) and you can transfer via TCP / IP (there are also enough examples on the network). Whether it is worth using pluses for this is up to you to decide.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question