C# Class ScpControl.Bluetooth.BthDevice

Represents a generic Bluetooth client device.
Inheritance: ScpControl.Bluetooth.BthConnection, IDsDevice
ファイルを表示 Open project: nefarius/ScpToolkit Class Usage Examples

Protected Properties

Property Type Description
BluetoothDevice IBthDevice
m_Blocked bool
m_CableStatus byte
m_Init byte
m_Last System.DateTime
m_Packet uint
m_PlugStatus byte
m_Queued uint

Public Methods

Method Description
Close ( ) : bool
Completed ( ) : void
Disconnect ( ) : bool
InitHidReport ( byte report ) : bool
NewHidReport ( ) : ScpControl.Shared.Core.ScpHidReport
Pair ( System.Net.NetworkInformation.PhysicalAddress master ) : bool
ParseHidReport ( byte report ) : void
Rumble ( byte large, byte small ) : bool
Start ( ) : bool
Stop ( ) : void
ToString ( ) : string

Protected Methods

Method Description
BthDevice ( ) : System
BthDevice ( IBthDevice device, System.Net.NetworkInformation.PhysicalAddress master, byte lsb, byte msb ) : System
OnHidReportReceived ( ScpControl.Shared.Core.ScpHidReport report ) : void
Process ( System.DateTime now ) : void

Private Methods

Method Description
OnTimer ( ) : void

Method Details

BthDevice() protected method

protected BthDevice ( ) : System
return System

BthDevice() protected method

protected BthDevice ( IBthDevice device, System.Net.NetworkInformation.PhysicalAddress master, byte lsb, byte msb ) : System
device IBthDevice
master System.Net.NetworkInformation.PhysicalAddress
lsb byte
msb byte
return System

Close() public method

public Close ( ) : bool
return bool

Completed() public method

public Completed ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : bool
return bool

InitHidReport() public method

public InitHidReport ( byte report ) : bool
report byte
return bool

NewHidReport() public method

public NewHidReport ( ) : ScpControl.Shared.Core.ScpHidReport
return ScpControl.Shared.Core.ScpHidReport

OnHidReportReceived() protected method

protected OnHidReportReceived ( ScpControl.Shared.Core.ScpHidReport report ) : void
report ScpControl.Shared.Core.ScpHidReport
return void

Pair() public method

public Pair ( System.Net.NetworkInformation.PhysicalAddress master ) : bool
master System.Net.NetworkInformation.PhysicalAddress
return bool

ParseHidReport() public method

public ParseHidReport ( byte report ) : void
report byte
return void

Process() protected method

protected Process ( System.DateTime now ) : void
now System.DateTime
return void

Rumble() public method

public Rumble ( byte large, byte small ) : bool
large byte
small byte
return bool

Start() public method

public Start ( ) : bool
return bool

Stop() public method

public Stop ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

BluetoothDevice protected_oe property

protected IBthDevice BluetoothDevice
return IBthDevice

m_Blocked protected_oe property

protected bool m_Blocked
return bool

m_CableStatus protected_oe property

protected byte m_CableStatus
return byte

m_Init protected_oe property

protected byte m_Init
return byte

m_Last protected_oe property

protected DateTime,System m_Last
return System.DateTime

m_Packet protected_oe property

protected uint m_Packet
return uint

m_PlugStatus protected_oe property

protected byte m_PlugStatus
return byte

m_Queued protected_oe property

protected uint m_Queued
return uint