Zebra Technologies ZQ110 Saw User Manual


 
ZQ110
Rev. 1.00
- 31 -
Mobile Printer
iOS SDK API Reference Guide
5-3-21 msrReadTrack
Read MSR Data on the track 1,2 and 3
In MSR read mode, if BXLMSR_DATAEMPTY is returned, the card is not read in MSR.
Scan the card with MSR again, or use the msrReadCancel method to cancel the read
mode.
[Function prototype]
- (long)msrReadTrack:(NSData **)data1
data2:(NSData **)data2
data3:(NSData **)data3
[Parameters]
data1
Read MSR Data Track 1 and save it.
data2
Read MSR Data Track 2 and save it.
data3
Read MSR Data Track 3 and save it.
[Return Value]
Refer to 2-14 Result Code
[Discussion]
All of data1, data2, and data3 carry unallocated NSData *data. The NSData object is
allocated inside the method.
The allocated data1, data2, and data3 are auto released, and users do not have to
release them explicitly.
[Availability]
SDK 1.0.0 and later
5-3-22 msrGetTrack
Read MSR data on the specific track
InMSR read mode,if BXLMSR_DATAEMPTY is returned, the card is not read in MSR.
Scan the card with MSR again, or use the msrReadCancel method to cancel the read
mode.
[Function prototype]
- (long)msrGetTrack:(int)track
response:(NSData **)response
[Parameters]
track
MSR Data Track number 1 to 3
response
MSR Data Track value
[Return Value]
Refer to 2-14 Result Code