SpringCard PC/SC API for .NET  18.10.10
Access PC/SC couplers and smart cards from .NET applications
SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOverBle Class Reference
Inheritance diagram for SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOverBle:
SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver SpringCard.PCSC.SCardReaderList SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOverBle_BgApi

Classes

class  BleDeviceInfo
 

Public Member Functions

 SCardReaderList_CcidOverBle (BLE.Adapter BleAdapter, BluetoothAddress DeviceAddress, bool BondingRequired=true)
 
 SCardReaderList_CcidOverBle (BLE.Device BleDevice)
 
- Public Member Functions inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
delegate void BackgroundInstantiateCallback (SCardReaderList_CcidOver instance)
 
delegate bool RawMessageReceivedCallback (byte[] Message)
 
delegate void DisconnectedCallback ()
 
override void Release ()
 
bool RawDescriptor (byte[] c_ctrl, out byte[] r_ctrl)
 
bool DoRawBulkOut (byte[] buffer)
 
uint GetStatusChange (int slot, ref uint state, int timeout)
 
uint GetState (byte slot, uint state)
 
uint State (byte slot)
 
uint GetSlotStatus (byte slot, out uint state)
 
uint Transmit (byte slot, byte[] c_apdu, out byte[] r_apdu)
 
uint Control (byte slot, byte[] c_ctrl, out byte[] r_ctrl)
 
uint ConnectTo (byte slot)
 
uint ConnectDirectTo (byte slot)
 
uint DisconnectFrom (byte slot, bool bPowerDown=true)
 
new SCardReader_CcidOver GetReader (int slot)
 
byte [] GetAtr (byte slot)
 
- Public Member Functions inherited from SpringCard.PCSC.SCardReaderList
 SCardReaderList (uint Scope, string Groups)
 
 SCardReaderList (string[] reader_names)
 
delegate void StatusChangeCallback (string ReaderName, uint ReaderState, CardBuffer CardAtr)
 
void StartMonitor (StatusChangeCallback callback)
 
void StopMonitor ()
 
bool Contains (string ReaderName)
 
SCardReader GetReader (int index)
 
SCardReader GetReader (string reader_name)
 

Static Public Member Functions

static SCardReaderList_CcidOverBle Instantiate (BLE.Adapter bleAdapter, BluetoothAddress deviceAddress)
 
static void BackgroundInstantiate (BackgroundInstantiateCallback Callback, BLE.Adapter BleAdapter, string DeviceAddress)
 
static void BackgroundInstantiate (BackgroundInstantiateCallback Callback, BLE.Adapter BleAdapter, BluetoothAddress DeviceAddress)
 

Public Attributes

const string ConfigurationServiceUuid = "7A4385C9-F7C7-4E22-9AFD-16D68FC588CA"
 
const string ConfigIoCharacteristicUuid = "1254FC72-336E-4BB2-A0A8-71C7D28D73CE"
 
const string ApplicationServiceUuid = "6CB501B7-96F6-4EEF-ACB1-D7535F153CF0"
 
const string CcidStatusCharacteristicUuid = "7C334BC2-1812-4C7E-A81D-591F92933C37"
 
const string CcidPcToRdrCharacteristicUuid = "91ACE9FD-EDD6-40B1-BA77-050A78CF9BC0"
 
const string CcidRdrToPcCharacteristicUuid = "B4CA2D75-B855-4C1A-BF40-4A72AE46BD5A"
 
- Public Attributes inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
int CommandTimeout = 120000
 
RawMessageReceivedCallback OnRawControlIn = null
 
RawMessageReceivedCallback OnRawInterruptIn = null
 
RawMessageReceivedCallback OnRawBulkIn = null
 
DisconnectedCallback OnDisconnect = null
 

Protected Member Functions

override void CloseDevice ()
 
override bool Send (byte endpoint, byte[] buffer)
 
override bool GetDescriptors ()
 
- Protected Member Functions inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
virtual void StopDevice ()
 
virtual bool StartDevice ()
 
bool Recv (byte[] buffer, out int deal_done)
 
void Recv (byte endpoint, byte[] buffer)
 
bool sendControl (byte bRequest, ushort wValue=0, ushort wIndex=0, byte bOption=0)
 
bool WaitControl ()
 
uint PC_to_RDR (byte slot, byte command, byte[] data=null)
 
uint PowerOn (byte slot)
 
uint PowerOff (byte slot)
 
bool MakeReaderList ()
 

Protected Attributes

int ProtocolVersion = 2
 
int CommunicationMtu = 64
 
- Protected Attributes inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
DeviceState deviceState
 
AutoResetEvent CommandSyncEvent = new AutoResetEvent(false)
 
volatile bool ReadersReady = false
 
ChildReader [] Children
 
- Protected Attributes inherited from SpringCard.PCSC.SCardReaderList
string [] _reader_names
 

Properties

override bool Available [get]
 
- Properties inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
string VendorName [get, protected set]
 
string ProductName [get, protected set]
 
string SerialNumber [get, protected set]
 
string Version [get, protected set]
 
int SlotCount [get, protected set]
 
virtual bool Available [get]
 
- Properties inherited from SpringCard.PCSC.SCardReaderList
string [] Readers [get]
 
uint LastError [get]
 
string LastErrorAsString [get]
 

Additional Inherited Members

- Protected Types inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
enum  DeviceState { NotActive, Active, Error }
 

The documentation for this class was generated from the following file: