Click here to Skip to main content
15,886,046 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir,
I have OCR316 passport reader, but I am not able to integrate it with my C# application I already downloaded the "MTTTY.exe" application and tested the device and it is working properly.

Do anyone have an idea how can I connect to this device?
Thanks.

What I have tried:

I tried to connect using serial port as I do usually but no still not able to receive data.
Thanks.
Posted
Updated 22-Jul-16 1:05am
v2
Comments
Dave Kreskowiak 21-Jul-16 23:43pm    
How about asking AccessIS Support?
Bernhard Hiller 22-Jul-16 3:22am    
Without a description of the protocol and the messages from the vendor, you can't do that.

1 solution

From the datasheet:
Quote:
USB 2.0 interface (USB HID, keyboard and virtual serial interfaces)

Related documents can be found at Getting Started: ID Document Readers[^].
Download and read the provided documentation and software. A quick look into the software archives show that those contain additional documentation (e.g. there is a ASPS_InstallationAndConfiguration.pdf file in the ASPS driver archive).

The manual and the above PDF explain how to setup the device. They also explain that most operation modes are unidirectional (PC input only). So you should receive data when listening on the virtual keyboard or serial port after a scan has been started.

The above PDF states also that baud rate, data bits, stop bits, and parity does not care when using the MTTY program. This indicates that the program uses fixed settings which must be determined (by reading other documentation or contacting the manufacturer support). However, the screen shots in th MTTTY manual show 9600 8N1. It mentions also that CR should be converted to CR-LF. This indicates that data are send CR terminated which in turn indicates that data are send as text.

Knowing this you should be able to receive data when implementing serial communication on the virtual port used by the device.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900