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

Exibir arquivo Open project: clover/remote-pay-windows Class Usage Examples

Public Properties

Property 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

Public Methods

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

Private Methods

Method Description
GetBytes ( string str ) : byte[]

Method Details

checkProtocol() public static method

public static checkProtocol ( UsbDevice device ) : System.Boolean
device LibUsbDotNet.UsbDevice
return System.Boolean

initializeDeviceConnectionAccessoryMode() public static method

public static initializeDeviceConnectionAccessoryMode ( UsbDevice device ) : System.Boolean
device LibUsbDotNet.UsbDevice
return System.Boolean

sendControlMessage() public static method

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

Property Details

ACCESSORY_GET_PROTOCOL public_oe static_oe property

public static byte ACCESSORY_GET_PROTOCOL
return byte

ACCESSORY_SEND_STRING public_oe static_oe property

public static byte ACCESSORY_SEND_STRING
return byte

ACCESSORY_START public_oe static_oe property

public static byte ACCESSORY_START
return byte

ACCESSORY_STRING_DESCRIPTION public_oe static_oe property

public static short ACCESSORY_STRING_DESCRIPTION
return short

ACCESSORY_STRING_MANUFACTURER public_oe static_oe property

public static short ACCESSORY_STRING_MANUFACTURER
return short

ACCESSORY_STRING_MODEL public_oe static_oe property

public static short ACCESSORY_STRING_MODEL
return short

ACCESSORY_STRING_SERIAL public_oe static_oe property

public static byte ACCESSORY_STRING_SERIAL
return byte

ACCESSORY_STRING_URI public_oe static_oe property

public static byte ACCESSORY_STRING_URI
return byte

ACCESSORY_STRING_VERSION public_oe static_oe property

public static byte ACCESSORY_STRING_VERSION
return byte