Click here to Skip to main content
15,902,112 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: METHOD_BUFFERED when using DeviceIoControl Pin
Shay Harel16-Apr-09 2:18
Shay Harel16-Apr-09 2:18 
QuestionHow can I send the command CE to a PIN PAD Pin
yera200210-Apr-09 13:07
yera200210-Apr-09 13:07 
AnswerRe: How can I send the command CE to a PIN PAD Pin
Luc 64801110-Apr-09 14:33
Luc 64801110-Apr-09 14:33 
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 
Sorry luc

The information that I had not previously requested, but this time I can answer your questions.

1- It is a PINpas Secura (http://www.secure-retail.co.uk/products/index.php?sg=&manufacturer=all§ion=Terminals&range=Chip% 20and% 20PIN & pid = 1146)
2- The documentation I have is a small reference manual says that only the commands to be sent to the device but do not specify mas.Solo say "you have to send <stx> <ce0> <ext> <lrc>" They do not provide any other info.

3- The example code is

Public Sub SendData(ByRef strCadena As String, ByVal strType As String, ByVal LRC As String, ByVal strCaracterInicial As String, ByVal strcaracterFinal As String, Optional ByRef strComando As String = "")
Dim strNuevaCadena As String = "", nCount As Integer = 0
Try
If comm.OpenPort = True Then
comm.ClosePort()
comm.OpenPort()
End If
Catch
MsgBox("Error " & Err.Description, MsgBoxStyle.Critical + MsgBoxStyle.Exclamation, "Open Port")
comm.ClosePort()
comm = Nothing
End Try

Try
comm.Message = strCadena
If strType = "HEX" Then
comm.CurrentTransmissionType = clscommanager.TransmissionType.Hex
Else
comm.CurrentTransmissionType = clscommanager.TransmissionType.Text
End If
For nCount = 1 To Len(strCadena)
strNuevaCadena = strNuevaCadena & Asc(Mid(strCadena, nCount, 1))
Next

comm.Type = clscommanager.MessageType.Normal
comm.WriteData(strCaracterInicial, Asc(strComando), strNuevaCadena, strcaracterFinal, LRC)
Catch
MsgBox("Error " & Err.Description , MsgBoxStyle.Critical + MsgBoxStyle.Exclamation, "Open Port")
End Try
End Sub

Where strCadena ="CE1", strType = "HEX", LRC = Result LRC, strCaracterInicial = "STX", strcaracterFinal = "EXT", strComando = ????

4- STX EXT values etc. The got a page with ASCII values (http://i-logic.com/serial/ascii.htm)
5- What you mentioned is the following ENQ:
"The master must send an ENQ character (0x05) to be answered with an ACK character (0x06) with the PIN pad. This procedure indicates whether the PIN pad is ready to accept a request from the master device.
If no ACK is received from the PIN pad within the time-out period (default = 15 seconds), the master must send poll before sending the command.
The master must repeat the process of sending a pennyroyal ENQ command until an ACK is received within the period of time-out"
6- does it say anything about hardware handshake lines. No
7- When I started to program the service provider asaesorando me and I sent copies of the bytes being sent to the port. When you send in the final chain <stx> <ce0> <etx> <lrc> I said, "The calculation of the LRC's fine, "The problem is not sending these as CE0 or CE1 command"
String that I send is : 02 67 69 48 03 45. giH.E

I hope this helps you better ented
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 
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 

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.