A
A
Alexander2014-07-09 23:03:43
Data transfer
Alexander, 2014-07-09 23:03:43

How to get data from a card reader to a web server?

I'll tell you straight away what I was looking for, but the results are full of sales of card readers....
I have a task - to read a card on a client computer and send its data to a web server. Actually the main question - are there any applets for the browser or can this be done only through the application for the OS?
And is there some standard or protocol that implements this? I'm sure I'm not the first to have this problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Goncharov, 2014-09-04
@mikluha

I solved such a problem by writing an application in QT, in which the entire window is occupied by WebView. Those. it turns out such a browser. In addition to WebView, the application opens a COM port (virtual, the reader is connected via USB), and expects data from there. When receiving a packet from the card reader, it calls a javascript function, passing it the data from the card as an argument. How to process data further is limited only by your imagination. It took me 3 or 3.5 hours to develop such an application. The application was developed under Mac OS, then it was "simply compiled" under Windows. It should also "just compile" under Linux, FreeBSD and other QT-supported operating systems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question