C# Class BLEFramework.Unity.BLEController

Afficher le fichier Open project: giomurru/ble-framework Class Usage Examples

Méthodes publiques

Méthode Description
ConnectPeripheral ( string peripheralID ) : bool
ConnectPeripheralAtIndex ( int peripheralIndex ) : bool
GetData ( ) : byte[]
GetListOfDevices ( ) : string
InitBLEFramework ( ) : void
IsDeviceConnected ( ) : bool
ScanForPeripherals ( ) : void
SearchDevicesDidFinish ( ) : bool
SendData ( byte data ) : void

Private Methods

Méthode Description
_ConnectPeripheral ( string peripheralID ) : bool
_ConnectPeripheralAtIndex ( int peripheralIndex ) : bool
_GetData ( ) : byte[]
_GetListOfDevices ( ) : string
_InitBLEFramework ( ) : void
_IsDeviceConnected ( ) : bool
_ScanForPeripherals ( ) : void
_SearchDevicesDidFinish ( ) : bool
_SendData ( byte buffer ) : void

Method Details

ConnectPeripheral() public static méthode

public static ConnectPeripheral ( string peripheralID ) : bool
peripheralID string
Résultat bool

ConnectPeripheralAtIndex() public static méthode

public static ConnectPeripheralAtIndex ( int peripheralIndex ) : bool
peripheralIndex int
Résultat bool

GetData() public static méthode

public static GetData ( ) : byte[]
Résultat byte[]

GetListOfDevices() public static méthode

public static GetListOfDevices ( ) : string
Résultat string

InitBLEFramework() public static méthode

public static InitBLEFramework ( ) : void
Résultat void

IsDeviceConnected() public static méthode

public static IsDeviceConnected ( ) : bool
Résultat bool

ScanForPeripherals() public static méthode

public static ScanForPeripherals ( ) : void
Résultat void

SearchDevicesDidFinish() public static méthode

public static SearchDevicesDidFinish ( ) : bool
Résultat bool

SendData() public static méthode

public static SendData ( byte data ) : void
data byte
Résultat void