13.7 IDT_NEO2 Class Reference
115
Parameters
readerStatus
Pointer that will return with the
results.
Returns
RETURN_CODE: Return codes listed as typedef enum in IDTCommon:RETURN_CODE. Values can be
parsed with
* readerStatus;
RETURN_CODE rt = [[IDT_Device
] getICCReaderStatus:&readerStatus];
if
(RETURN_CODE_DO_SUCCESS != rt){
NSLog(
@"Fail"
);
}
else
{
NSString *sta;
if
sta =
@"[ICC Powered]"
;
else
sta =
@"[ICC Power not Ready]"
;
if
sta =[NSString stringWithFormat:
@"%@,[Card Seated]"
, sta];
else
sta =[NSString stringWithFormat:
@"%@,[Card not Seated]"
, sta];
13.7.2.72
- (RETURN_CODE) icc_powerOffICC: (NSString
∗∗
)
error
Power Off ICC
Powers down the ICC
Parameters
error
Returns the error, if any
Returns
RETURN_CODE: Return codes listed as typedef enum in IDTCommon:RETURN_CODE.
If Success, empty If Failure, ASCII encoded data of error string
13.7.2.73
- (RETURN_CODE) icc_powerOnICC: (NSData
∗∗
)
response
Power On ICC
Power up the currently selected microprocessor card in the ICC reader
Parameters
response
Response returned. If Success, ATR String. If Failure, ASCII encoded data of error string
Returns
RETURN_CODE: Return codes listed as typedef enum in IDTCommon:RETURN_CODE.
13.7.2.74
- (bool) isConnected
Check if device is connected
IDTech iOS SDK Guide for NEO2 #80152802-001