EM220II
Rev. 1.00
- 34 -
Mobile Printer
iOS SDK API Reference Guide
5-3-26 icON
Apply power to smart card reader of printer
[Function prototype]
- (long)icON:(NSData **)response
[Parameters]
response
ATR (Answer to Reset) value is returned.
[Return Value]
Refer to 2-16 Result Code
[Discussion]
Response is saved as auto release type inside the method, and users do not have to
release it explicitly.
[Availability]
SDK 1.0.0 and later
5-3-27 icOFF
Turn off the power of the smart card reader of printer
[Function prototype]
- (long)icOFF
[Return Value]
Refer to 2-16 Result Code
[Availability]
SDK 1.0.0 and later
5-3-28 icApdu
Send APDU command and get response. It works only when the power is applied to the
printer smart card.
[Function prototype]
- (long)icApdu:(NSData **)request
response:(NSData **)response
[Parameters]
request
APDU command data to send to printer, ANSI CODE data
response
APDU response sent from printer is returned
[Return Value]
Refer to 2-16 Result Code
[Availability]
SDK 1.0.0 and later