sc_protocol_t

Protocol identifiers that define the protocols used to communicate with the card.

Synopsis:

#include <smartcard/sc_data_types.h>
 
typedef enum
      SC_SCARD_PROTOCOL_UNDEFINED = 0x00000001   
      SC_SCARD_PROTOCOL_DEFAULT = 0x00000002   
      SC_SCARD_PROTOCOL_OPTIMAL = 0x00000004   
      SC_SCARD_PROTOCOL_T0 = 0x00000008   
      SC_SCARD_PROTOCOL_T1 = 0x00000010   
      SC_SCARD_PROTOCOL_RAW = 0x00000020   
      SC_SCARD_PROTOCOL_APPDATA = 0x00000040   
} sc_protocol_t;

Since:

BlackBerry 10.2.0

Data:

SC_SCARD_PROTOCOL_UNDEFINED
Protocol undefined.
SC_SCARD_PROTOCOL_DEFAULT
Card reader should use default communication parameters to establish communication with the card.
SC_SCARD_PROTOCOL_OPTIMAL
Card reader should attempt to negotiate optimal communication settings with the card.
SC_SCARD_PROTOCOL_T0
ISO/IEC 7186 T=0 protocol.
SC_SCARD_PROTOCOL_T1
ISO/IEC 7186 T=1 protocol.
SC_SCARD_PROTOCOL_RAW
Raw protocol.
SC_SCARD_PROTOCOL_APPDATA
App Data protocol.

Library:

libscs (For the qcc command, use the -l scs option to link against this library)

Description:

These protocols must be defined to map to a specific bit position so that multiple protocols may be specified by combining them with a bitwise OR operation.