C# Class Kreyos.SDK.Bluetooth.BluetoothAgent

Mostra file Open project: kreyosopensource/KreyosWP Class Usage Examples

Public Methods

Method Description
BatchRegisterJob ( IEnumerable jobs ) : void
GetPairedDevices ( ) : Task>
SendBytes ( byte packet ) : void
Start ( string deviceName ) : Task
Stop ( ) : void
handleIncomeData ( byte buffer, int length ) : void

Private Methods

Method Description
BluetoothAgent ( ) : System
Connect ( string deviceName ) : Task
DequeueJob ( ) : JobDesc
Disconnect ( ) : void
ReConnect ( ) : void
ReadPacket ( ) : void
ReadProc ( ) : void
SendJob ( JobDesc job ) : Task
SendProc ( ) : void
WatchDogProc ( ) : void

Method Details

BatchRegisterJob() public method

public BatchRegisterJob ( IEnumerable jobs ) : void
jobs IEnumerable
return void

GetPairedDevices() public static method

public static GetPairedDevices ( ) : Task>
return Task>

SendBytes() public method

public SendBytes ( byte packet ) : void
packet byte
return void

Start() public method

public Start ( string deviceName ) : Task
deviceName string
return Task

Stop() public method

public Stop ( ) : void
return void

handleIncomeData() public method

public handleIncomeData ( byte buffer, int length ) : void
buffer byte
length int
return void