C# 클래스 Bloxy.USBBluetoothAdapter

파일 보기 프로젝트 열기: brandonlw/bloxy

공개 메소드들

메소드 설명
AcceptConnectionRequest ( ulong bdAddr, byte role ) : void
Close ( ) : void
Connect ( InquiryResult result ) : void
Connect ( ulong bdAddr, byte pageScanRepetitionMode, ushort clockOffset ) : void
DoInquiryScan ( int timeoutSeconds ) : List
GetRemoteName ( InquiryResult device ) : string
Open ( ) : void
Reset ( ) : void
SendACLData ( byte buffer, int offset, int count ) : void
SendPINCodeReply ( ulong bdAddr, string pin ) : void
SetDeviceClass ( uint deviceClass ) : void
SetDiscoverableMode ( bool discoverable ) : void
SetLocalName ( string name ) : void
USBBluetoothAdapter ( ushort vendorId, ushort productId ) : System

비공개 메소드들

메소드 설명
_SendHCICommand ( Opcode command ) : void
_SendHCICommand ( Opcode command, bool returnImmediately ) : void
_SendHCICommand ( Opcode command, byte parameterData ) : void
_SendHCICommand ( Opcode command, byte parameterData, bool returnImmediately ) : void
_WaitForCompletion ( Opcode command ) : void
_isoReader_DataReceived ( object sender, EndpointDataEventArgs e ) : void
hci_DataReceived ( object sender, EndpointDataEventArgs e ) : void
reader_DataReceived ( object sender, EndpointDataEventArgs e ) : void

메소드 상세

AcceptConnectionRequest() 공개 메소드

public AcceptConnectionRequest ( ulong bdAddr, byte role ) : void
bdAddr ulong
role byte
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( InquiryResult result ) : void
result InquiryResult
리턴 void

Connect() 공개 메소드

public Connect ( ulong bdAddr, byte pageScanRepetitionMode, ushort clockOffset ) : void
bdAddr ulong
pageScanRepetitionMode byte
clockOffset ushort
리턴 void

DoInquiryScan() 공개 메소드

public DoInquiryScan ( int timeoutSeconds ) : List
timeoutSeconds int
리턴 List

GetRemoteName() 공개 메소드

public GetRemoteName ( InquiryResult device ) : string
device InquiryResult
리턴 string

Open() 공개 메소드

public Open ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SendACLData() 공개 메소드

public SendACLData ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

SendPINCodeReply() 공개 메소드

public SendPINCodeReply ( ulong bdAddr, string pin ) : void
bdAddr ulong
pin string
리턴 void

SetDeviceClass() 공개 메소드

public SetDeviceClass ( uint deviceClass ) : void
deviceClass uint
리턴 void

SetDiscoverableMode() 공개 메소드

public SetDiscoverableMode ( bool discoverable ) : void
discoverable bool
리턴 void

SetLocalName() 공개 메소드

public SetLocalName ( string name ) : void
name string
리턴 void

USBBluetoothAdapter() 공개 메소드

public USBBluetoothAdapter ( ushort vendorId, ushort productId ) : System
vendorId ushort
productId ushort
리턴 System