Specifications
P25 Development Guide
www.bluebamboo.com
3.4.7 ACK Frame Format
C0H(SOF) 0x06(TOF) C1H(EOF)
3.4.8 NACK Frame Format
C0H(SOF) 0x15(TOF) C1H(EOF)
3.4.9 ETX Frame Format
C0H(SOF) 0x03(TOF) Data ID
No.
C1H(EOF)
î Printer will send this frame after it finishes all of the requested printing.
3.4.10 Format of EOT Frame
C0H(SOF) 0x04(TOF) C1H(EOF)
î Printer will send this frame after it receives the print data frame successfully.
z IMPORTANT!!
In every frame coming from the printer, 1 byte of null is preceded by SOF, EOF is followed by CR
and LF.
For example, the actual data of ETX frame is 0x00, 0xC0, 0x03, 0xC1, 0x0D, and 0x0A. The host
can ignore these prefixes and suffixes.
00 C0H âFâ (0x46) C1H 0D 0A
3.4.11 Format of Set DUKPT KSN and initial key (Request)
If customer need encrypt MSR data with DUKPT algorism, they need first set DUKPT KSN and
initial key to P25.
C0H
(SOF)
(0x9B)
(TOF)
DATA ID
Number
DATA
Length
Versio
n
Algor Reserve
d
KSN IK
EY
CR
C
C1H
(EO
F)
Eg:
C0 9B 30 30 30 32 39 01 04 00 FF FF 31 32 33 34 35 A0 00 00 00 01 02 03 04 05 06 07 08 09
0A 0B 0C 0D 0E 0F 58 CC C1