ACS Audio Jack iOS Library  1.0.0
ACRAudioJackReader.h File Reference
#import <Foundation/Foundation.h>

Go to the source code of this file.

Classes

class  ACRAudioJackReader
 The ACRAudioJackReader class represents ACS audio jack readers. More...
 
protocol  <ACRAudioJackReaderDelegate >
 The ACRAudioJackReaderDelegate protocol defines the response sent to a delegate of ACRAudioJackReader object. More...
 

Typedefs

typedef NSUInteger ACRCardProtocol
 Card protocol. More...
 
typedef NSUInteger ACRTrackDataOption
 Track data option. More...
 

Enumerations

enum  ACRAuthError { ACRAuthErrorSuccess = 0, ACRAuthErrorFailure = 1, ACRAuthErrorTimeout = 2 }
 Authentication error. More...
 
enum  ACRPiccCardType {
  ACRPiccCardTypeIso14443TypeA = 0x01, ACRPiccCardTypeIso14443TypeB = 0x02, ACRPiccCardTypeFelica212kbps = 0x04, ACRPiccCardTypeFelica424kbps = 0x08,
  ACRPiccCardTypeAutoRats = 0x80
}
 PICC card type. More...
 
enum  ACRCardPowerAction { ACRCardPowerDown = 0, ACRCardColdReset = 1, ACRCardWarmReset = 2 }
 Card power action. More...
 
enum  {
  ACRProtocolUndefined = 0x00000000, ACRProtocolT0 = 0x00000001, ACRProtocolT1 = 0x00000002, ACRProtocolRaw = 0x00010000,
  ACRProtocolTx = ACRProtocolT0 | ACRProtocolT1, ACRProtocolDefault = 0x80000000, ACRProtocolOptimal = 0x00000000
}
 Card protocol. More...
 
enum  ACRCardState {
  ACRCardUnknown = 0, ACRCardAbsent = 1, ACRCardPresent = 2, ACRCardSwallowed = 3,
  ACRCardPowered = 4, ACRCardNegotiable = 5, ACRCardSpecific = 6
}
 Card state. More...
 
enum  { ACRIoctlCcidEscape = 3500, ACRIoctlCcidXfrBlock = 3600 }
 I/O control. More...
 
enum  { ACRTrackDataOptionEncryptedTrack1 = 0x01, ACRTrackDataOptionEncryptedTrack2 = 0x02, ACRTrackDataOptionMaskedTrack1 = 0x04, ACRTrackDataOptionMaskedTrack2 = 0x08 }
 Track data option. More...
 

Typedef Documentation

◆ ACRCardProtocol

typedef NSUInteger ACRCardProtocol

Card protocol.

◆ ACRTrackDataOption

typedef NSUInteger ACRTrackDataOption

Track data option.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Card protocol.

Enumerator
ACRProtocolUndefined 

There is no active protocol.

ACRProtocolT0 

T=0 is the active protocol.

ACRProtocolT1 

T=1 is the active protocol.

ACRProtocolRaw 

Raw is the active protocol.

ACRProtocolTx 

This is the mask of ISO defined transmission protocols.

ACRProtocolDefault 

Use the default transmission parameters or card clock frequency.

ACRProtocolOptimal 

Use optimal transmission parameters or card clock frequency.

This is the default.

◆ anonymous enum

anonymous enum

I/O control.

Enumerator
ACRIoctlCcidEscape 

Control code for sending escape command to the reader.

ACRIoctlCcidXfrBlock 

Control code for sending APDU to the reader.

◆ anonymous enum

anonymous enum

Track data option.

Enumerator
ACRTrackDataOptionEncryptedTrack1 

Enable the encrypted track 1 data.

ACRTrackDataOptionEncryptedTrack2 

Enable the encrypted track 2 data.

ACRTrackDataOptionMaskedTrack1 

Enable the masked track 1 data.

ACRTrackDataOptionMaskedTrack2 

Enable the masked track 2 data.

◆ ACRAuthError

Authentication error.

Enumerator
ACRAuthErrorSuccess 

Success.

ACRAuthErrorFailure 

Failure.

ACRAuthErrorTimeout 

Timeout.

◆ ACRCardPowerAction

Card power action.

Enumerator
ACRCardPowerDown 

Power down the card.

ACRCardColdReset 

Cycle power and reset the card.

ACRCardWarmReset 

Force a reset on the card.

◆ ACRCardState

Card state.

Enumerator
ACRCardUnknown 

The library is unaware of the current state of the reader.

ACRCardAbsent 

There is no card in the reader.

ACRCardPresent 

There is a card in the reader, but it has not been moved into position for use.

ACRCardSwallowed 

There is a card in the reader in position for use.

The card is not powered.

ACRCardPowered 

Power is being provided to the card, but the library is unaware of the mode of the card.

ACRCardNegotiable 

The card has been reset and is awaiting PTS negotiation.

ACRCardSpecific 

The card has been reset and specific communication protocols have been established.

◆ ACRPiccCardType

PICC card type.

Enumerator
ACRPiccCardTypeIso14443TypeA 

ISO14443 Type A.

ACRPiccCardTypeIso14443TypeB 

ISO14443 Type B.

ACRPiccCardTypeFelica212kbps 

FeliCa 212kbps.

ACRPiccCardTypeFelica424kbps 

FeliCa 424kbps.

ACRPiccCardTypeAutoRats 

Auto RATS.