C# Class SensorShare.Compact.Bluetooth.BtStack

Datei anzeigen Open project: MarkPaxton/SensorShare3

Public Methods

Method Description
Connect ( ) : eBTRC
Disconnect ( ) : void
GetActiveConnections ( ) : ArrayList
GetBtAddress ( ) : byte[]
GetGeneralSecurityOptions ( ) : GenSecOptions
GetSvcSecurityOptions ( eBTSVC eSvc ) : SvcSecOptions
GetVersion ( ) : string
IsRadioOn ( ) : bool
RadioOff ( ) : eBTRC
RadioOn ( ) : eBTRC
RegisterForRecvFileEvent ( ) : eBTRC
SetGeneralSecurityOptions ( GenSecOptions Opts ) : eBTRC
SetSvcSecurityOptions ( eBTSVC eSvc, SvcSecOptions Opts ) : eBTRC
StartDeviceSearch ( ) : eBTRC
StopDeviceSearch ( ) : void
UnregisterForRecvFileEvent ( ) : void

Private Methods

Method Description
BT_ConnectToStack ( IntPtr hWnd ) : eBTRC
BT_DeleteActiveConnections ( IntPtr pList ) : void
BT_DeletePointer ( IntPtr LParam ) : void
BT_DisconnectFromStack ( ) : void
BT_GetActiveConnections ( int &Cnt ) : IntPtr
BT_GetBtAddress ( [ DeviceAddr ) : bool
BT_GetGeneralSecurityOptions ( [ sDevName, [ sFTPRootDir, Int32 &IsDiscoverable, Int32 &IsConnectable ) : void
BT_GetSvcSecurityOptions ( eBTSVC eSvc, Int32 &IsEnabled, Int32 &IsAuthRequired, Int32 &IsPINRequired, Int32 &IsEncryptRequired ) : void
BT_GetVersion ( [ sVersion ) : void
BT_IsRadioOn ( ) : bool
BT_RadioOff ( ) : eBTRC
BT_RadioOn ( ) : eBTRC
BT_RegisterForRecvFileEvent ( ) : eBTRC
BT_SetGeneralSecurityOptions ( string sDevName, string sFTPRootDir, Int32 IsDiscoverable, Int32 IsConnectable ) : eBTRC
BT_SetSvcSecurityOptions ( eBTSVC eSvc, Int32 IsEnabled, Int32 IsAuthRequired, Int32 IsPINRequired, Int32 IsEncryptRequired ) : eBTRC
BT_StartDeviceSearch ( ) : eBTRC
BT_StopDeviceSearch ( ) : void
BT_UnregisterForRecvFileEvent ( ) : void

Method Details

Connect() public method

public Connect ( ) : eBTRC
return eBTRC

Disconnect() public method

public Disconnect ( ) : void
return void

GetActiveConnections() public method

public GetActiveConnections ( ) : ArrayList
return System.Collections.ArrayList

GetBtAddress() public method

public GetBtAddress ( ) : byte[]
return byte[]

GetGeneralSecurityOptions() public method

public GetGeneralSecurityOptions ( ) : GenSecOptions
return GenSecOptions

GetSvcSecurityOptions() public method

public GetSvcSecurityOptions ( eBTSVC eSvc ) : SvcSecOptions
eSvc eBTSVC
return SvcSecOptions

GetVersion() public method

public GetVersion ( ) : string
return string

IsRadioOn() public method

public IsRadioOn ( ) : bool
return bool

RadioOff() public method

public RadioOff ( ) : eBTRC
return eBTRC

RadioOn() public method

public RadioOn ( ) : eBTRC
return eBTRC

RegisterForRecvFileEvent() public method

public RegisterForRecvFileEvent ( ) : eBTRC
return eBTRC

SetGeneralSecurityOptions() public method

public SetGeneralSecurityOptions ( GenSecOptions Opts ) : eBTRC
Opts GenSecOptions
return eBTRC

SetSvcSecurityOptions() public method

public SetSvcSecurityOptions ( eBTSVC eSvc, SvcSecOptions Opts ) : eBTRC
eSvc eBTSVC
Opts SvcSecOptions
return eBTRC

StartDeviceSearch() public method

public StartDeviceSearch ( ) : eBTRC
return eBTRC

StopDeviceSearch() public method

public StopDeviceSearch ( ) : void
return void

UnregisterForRecvFileEvent() public method

public UnregisterForRecvFileEvent ( ) : void
return void