Click here to Skip to main content
15,899,754 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: How can I send the command CE to a PIN PAD Pin
yera200210-Apr-09 15:00
yera200210-Apr-09 15:00 
GeneralRe: How can I send the command CE to a PIN PAD Pin
Luc 64801110-Apr-09 15:10
Luc 64801110-Apr-09 15:10 
GeneralRe: How can I send the command CE to a PIN PAD Pin
yera200210-Apr-09 15:32
yera200210-Apr-09 15:32 
GeneralRe: How can I send the command CE to a PIN PAD Pin
Luc 64801110-Apr-09 16:09
Luc 64801110-Apr-09 16:09 
GeneralRe: How can I send the command CE to a PIN PAD Pin
yera200213-Apr-09 6:41
yera200213-Apr-09 6:41 
GeneralRe: How can I send the command CE to a PIN PAD Pin
Luc 64801113-Apr-09 8:40
Luc 64801113-Apr-09 8:40 
GeneralRe: How can I send the command CE to a PIN PAD Pin
yera200213-Apr-09 9:13
yera200213-Apr-09 9:13 
GeneralRe: How can I send the command CE to a PIN PAD Pin
Luc 64801113-Apr-09 10:39
Luc 64801113-Apr-09 10:39 
Hi,

I did receive your rar file, and had a very quick browse of the Word document
(Especificaciones Dispositivo lector de tarjetas chip v1.107 2.doc) which seems like a rather complete programmer's manual.

On page 15 they explain the CE command, it looks like:
- 1 byte STX
- 3 characters CE0/CE1/.../CE4
- 2 bytes
- a number of data bytes
- 1 byte ETX
- 1 byte LRC

So there is no byte between STX and 'C' but there are date bytes between "CEx" and ETX.

I haven't looked at your code so far.

I suggest you begin with the simplest communication message, I would choose the test command on page 12; it consists of:
- 1 byte <si>
- 2 characters "11"
- 1 byte <so>
- 1 byte LRC

The nice thing is it is a fixed command, there is no variable data; and when successful it will tell you:
- the connection is present;
- your basic serial port settings and code are fine;
- your LRC calculation is correct (which is not the case right now as I recall from an earlier message)

Do this before you try anything more complex!

If you need more help, I might start and look at the code.

I trust you have read most of the manual. It really is much more than "a small reference manual", I expect it holds all information you need.

Smile | :)
GeneralRe: How can I send the command CE to a PIN PAD Pin
yera200213-Apr-09 11:07
yera200213-Apr-09 11:07 
QuestionDifferent SD size by IOCTL_DISK_GET_LENGTH_INFO Pin
yech9-Apr-09 17:17
yech9-Apr-09 17:17 
AnswerRe: Different SD size by IOCTL_DISK_GET_LENGTH_INFO Pin
Randor 15-Apr-09 19:25
professional Randor 15-Apr-09 19:25 
QuestionHow Can i operate Bluetooth with code in microcontroller???????? Pin
Ashu rocks9-Apr-09 3:08
Ashu rocks9-Apr-09 3:08 
QuestionHow to get phone memory detected as USB drive when connected Pin
ashok_rgm2-Apr-09 21:28
ashok_rgm2-Apr-09 21:28 
AnswerRe: How to get phone memory detected as USB drive when connected Pin
yech9-Apr-09 17:11
yech9-Apr-09 17:11 
QuestionShould I Virtualise my Servers? Pin
Steven J Jowett2-Apr-09 0:51
Steven J Jowett2-Apr-09 0:51 
AnswerRe: Should I Virtualise my Servers? Pin
Sebastian Schneider2-Apr-09 2:32
Sebastian Schneider2-Apr-09 2:32 
QuestionBSOD by DbgPrint, help me to analyze Pin
aliwy30-Mar-09 6:39
aliwy30-Mar-09 6:39 
AnswerRe: BSOD by DbgPrint, help me to analyze Pin
cmihai21-Sep-09 0:50
cmihai21-Sep-09 0:50 
Questionhow can i read data from passports reader to form on developer? Pin
mansoor hajer30-Mar-09 5:03
mansoor hajer30-Mar-09 5:03 
AnswerRe: how can i read data from passports reader to form on developer? Pin
Dave Kreskowiak2-Apr-09 5:35
mveDave Kreskowiak2-Apr-09 5:35 
AnswerRe: how can i read data from passports reader to form on developer? Pin
Henry Minute2-Apr-09 6:55
Henry Minute2-Apr-09 6:55 
GeneralRe: how can i read data from passports reader to form on developer? Pin
mansoor hajer28-Jun-09 10:00
mansoor hajer28-Jun-09 10:00 
GeneralRe: how can i read data from passports reader to form on developer? Pin
Henry Minute28-Jun-09 10:10
Henry Minute28-Jun-09 10:10 
GeneralRe: how can i read data from passports reader to form on developer? Pin
mansoor hajer30-Jun-09 9:51
mansoor hajer30-Jun-09 9:51 
GeneralRe: how can i read data from passports reader to form on developer? Pin
Henry Minute30-Jun-09 12:08
Henry Minute30-Jun-09 12:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.