Specifications

P25 Development Guide
www.bluebamboo.com
57
This example Command means printing is successful. In the Command “55 66 77 88” is
Operation flag, “03” is the print result command and “00” is the Data that indicates the printing is
successful. If the Data is not “00” that means error in printing.
3.6.1.3 MSR Read Command
Direction: iPhone--to-->P25i/P25i-M printer(s).
Send Commands to P25i/P25i-M that application needs MSR data
For example:
Operation Type (One byte only)
55 66 77 88 48 14
Parameter (One byte only)
Operation Flag
(Four bytes)
The above example means MSR read is required with 20 seconds timeout. In the Command “55
66 77 88” is Operation flag, “48” is MSR read command and “14” is timeout parameter that
indicates how long(seconds) P25i/P25i-M need(s) to wait when MSR Read is processing.
3.6.1.4 MSR Result Command
Direction: P25i/P25i-M printer(s)--to-->iPhone
If MSR read has been already processed, P25 will send a print response message to iPhone with
process result.
For example:
Operation Flag Operation Type
(Four bytes) (One byte only)
Data (One byte only) Length of tracking data
55 66 77 88 84 00 31 30 30 36 34 25 42 34 37 36 31 37 33 39 30 30 31 30 31 30 30 31 30 5E
56 49 53 41 20 41 43 51 55 49 52 45 52 20 54 45 53 54 20 43 41 52 44 20 32 34 5E 31 30 31
32 32 30 31 31 31 34 33 38 37 38 30 38 39 3F 32 30 30 33 36 3B 34 37 36 31 37 33 39 30 30
31 30 31 30 30 31 30 3D 31 30 31 32 32 30 31 31 31 34 33 38 37 38 30 38 39 3F 33 30 30 30
30
The above example means MSR Read operation is succeed. In the Command “55 66 77 88” is
Operation flag,“84” is MSR result command and “00” is Data that indicates MSR Read operation
is succeed. The following “0x 31” is the tracking number. After that the next four bytes indicate the
length of current track. “31 30 30 36 34” means tracking one has 64 bytes data and the tracking
data could be empty.
3.6.2 Operation Commands Data Dump
Following is dump data of total communication process in serial line, those data using Apple
package protocol, List those data just help customer to understand, most of packages are
generate automatically by iPhone app.
IRP_MJ_WRITE means iPhone--to-->P25i/P25i-M
IRP_MJ_READ means P25i/P25i-M--to-->iPhone
Following data has time info, unit is PC's tick, about 18 ticks/sec.