C# Class com.clover.remotepay.transport.MiniInitializer

Afficher le fichier Open project: clover/remote-pay-windows Class Usage Examples

Méthodes publiques

Свойство Type Description
ACCESSORY_GET_PROTOCOL byte
ACCESSORY_SEND_STRING byte
ACCESSORY_START byte
ACCESSORY_STRING_DESCRIPTION short
ACCESSORY_STRING_MANUFACTURER short
ACCESSORY_STRING_MODEL short
ACCESSORY_STRING_SERIAL byte
ACCESSORY_STRING_URI byte
ACCESSORY_STRING_VERSION byte

Méthodes publiques

Méthode Description
checkProtocol ( UsbDevice device ) : System.Boolean
initializeDeviceConnectionAccessoryMode ( UsbDevice device ) : System.Boolean
sendControlMessage ( UsbDevice device, byte requestCode, short index, string message ) : System.Boolean

Private Methods

Méthode Description
GetBytes ( string str ) : byte[]

Method Details

checkProtocol() public static méthode

public static checkProtocol ( UsbDevice device ) : System.Boolean
device LibUsbDotNet.UsbDevice
Résultat System.Boolean

initializeDeviceConnectionAccessoryMode() public static méthode

public static initializeDeviceConnectionAccessoryMode ( UsbDevice device ) : System.Boolean
device LibUsbDotNet.UsbDevice
Résultat System.Boolean

sendControlMessage() public static méthode

public static sendControlMessage ( UsbDevice device, byte requestCode, short index, string message ) : System.Boolean
device LibUsbDotNet.UsbDevice
requestCode byte
index short
message string
Résultat System.Boolean

Property Details

ACCESSORY_GET_PROTOCOL public_oe static_oe property

public static byte ACCESSORY_GET_PROTOCOL
Résultat byte

ACCESSORY_SEND_STRING public_oe static_oe property

public static byte ACCESSORY_SEND_STRING
Résultat byte

ACCESSORY_START public_oe static_oe property

public static byte ACCESSORY_START
Résultat byte

ACCESSORY_STRING_DESCRIPTION public_oe static_oe property

public static short ACCESSORY_STRING_DESCRIPTION
Résultat short

ACCESSORY_STRING_MANUFACTURER public_oe static_oe property

public static short ACCESSORY_STRING_MANUFACTURER
Résultat short

ACCESSORY_STRING_MODEL public_oe static_oe property

public static short ACCESSORY_STRING_MODEL
Résultat short

ACCESSORY_STRING_SERIAL public_oe static_oe property

public static byte ACCESSORY_STRING_SERIAL
Résultat byte

ACCESSORY_STRING_URI public_oe static_oe property

public static byte ACCESSORY_STRING_URI
Résultat byte

ACCESSORY_STRING_VERSION public_oe static_oe property

public static byte ACCESSORY_STRING_VERSION
Résultat byte