Serialport class read methods waits indefinitely... I am able to open send init hex code... but unable to read ....
Not sure, but maybe you need to enable flow control. Request to Send (RTS), Clear To Send (CTS), Data Terminal Ready (DTR) and Data Set Ready (DSR) are used to enable flow control. Please provide more details.
I was unable to edit this thread... i got a message that thread was closed...I was surprised when Jon Skeet ans this... MY lucky day :) I have used the .net serialport component.. 1. Got a serialport monitor which tell me the response and request values. 2. also there is c++ component which works fine (no reference code here). 3. need to develop c# version from scratch... () Card reader is connected to serialport... The usual process is : 1. Set values for Serialport: Baud rate, parity etc.. //serialPort1.DtrEnable=true; //serialPort1.RtsEnable=true; i can successfully open serialport and write correct init command... I get the correct response on the serialport monitor... However when i insert card i cant read or lock or unlock card. The same works with c++ dll. This is my first go with serialport( am a web/app dev) so i may be missing something real simple.