4.NL-PP60 command interfaces and setting
Command interface communication protocol
:
The following protocol must be used for PINPAD to communicate with POS or other serial
port device:
Request To Send: The head of request [1byte] + data length [1 byte] + data […] + verification
bit [1 byte]
Responding To Send: The head of responding [1byte] + data length [1 byte] + data […] +
verification bit [1 byte
Or:
The head of responding [1byte] + data length [1 byte=0x01] + error
code [1byte] + verification bit [1 byte]
For normal responding, head of request and responding are the same; for wrong responding,
the head of responding is equal to the operation result of the head of request and 0X7F.
Data length is the length of data field.
Verification bit is all the XOR results from begin to end.
Command set and command format definition
4.1 Reset PINPAD
4.1.1Command Format
Sending data
CMD LEN
EDC
0xd5 0x00
Verification
Responding data
CMD LEN
EDC
0xd5 0x00
Verification
Summary of Contents for NL-PP60
Page 1: ......