C# Class SensorShare.Compact.Bluetooth.BtDevice

Mostra file Open project: MarkPaxton/SensorShare3 Class Usage Examples

Public Properties

Property Type Description
DeviceAddr string
DeviceClass eBTDEVCLASS
DeviceName string
DeviceType eBTDEVTYPE
IsConnected bool

Public Methods

Method Description
CancelSendFile ( ) : eBTRC
CreateBond ( string PinCode ) : eBTRC
DUNConnect ( string ConnectionName ) : eBTRC
DUNDisconnect ( ) : eBTRC
ExchangeBusinessCards ( ) : eBTRC
GetBusinessCard ( ) : eBTRC
GetServiceList ( eBTSVC eSvc ) : ArrayList
GetSignalStrength ( ) : eBTRSSI_LEVEL
IsBonded ( ) : bool
LAPConnect ( ) : eBTRC
LAPDisconnect ( ) : eBTRC
PANConnect ( ePAN_NODETYPE ePanType ) : eBTRC
PANDisconnect ( ePAN_NODETYPE ePanType ) : eBTRC
RemoveBond ( ) : eBTRC
SPPConnect ( ) : eBTRC
SPPConnect ( string SvcName ) : eBTRC
SPPDisconnect ( ) : eBTRC
SendBusinessCard ( ) : eBTRC
SendFile ( string FileName ) : eBTRC
ToString ( ) : string

Private Methods

Method Description
BT_CancelSendFile ( string DeviceAddr ) : eBTRC
BT_CreateBond ( string DeviceAddr, string PinCode ) : eBTRC
BT_DUNConnect ( string DeviceAddr, string ConnectionName ) : eBTRC
BT_DUNDisconnect ( string DeviceAddr ) : eBTRC
BT_DeleteServiceList ( IntPtr pList ) : void
BT_ExchangeBusinessCards ( string DeviceAddr ) : eBTRC
BT_GetBusinessCard ( string DeviceAddr ) : eBTRC
BT_GetServiceList ( string DeviceAddr, eBTSVC eSvc, int &Cnt ) : IntPtr
BT_GetSignalStrength ( string DeviceAddr ) : eBTRSSI_LEVEL
BT_IsBonded ( string DeviceAddr ) : int
BT_LAPConnect ( string DeviceAddr ) : eBTRC
BT_LAPDisconnect ( string DeviceAddr ) : eBTRC
BT_PANConnect ( string DeviceAddr, ePAN_NODETYPE ePanType ) : eBTRC
BT_PANDisconnect ( string DeviceAddr, ePAN_NODETYPE ePanType ) : eBTRC
BT_RemoveBond ( string DeviceAddr ) : eBTRC
BT_SPPConnect ( string DeviceAddr, string SvcName ) : eBTRC
BT_SPPDisconnect ( string DeviceAddr ) : eBTRC
BT_SendBusinessCard ( string DeviceAddr ) : eBTRC
BT_SendFile ( string DeviceAddr, string FileName ) : eBTRC

Method Details

CancelSendFile() public method

public CancelSendFile ( ) : eBTRC
return eBTRC

CreateBond() public method

public CreateBond ( string PinCode ) : eBTRC
PinCode string
return eBTRC

DUNConnect() public method

public DUNConnect ( string ConnectionName ) : eBTRC
ConnectionName string
return eBTRC

DUNDisconnect() public method

public DUNDisconnect ( ) : eBTRC
return eBTRC

ExchangeBusinessCards() public method

public ExchangeBusinessCards ( ) : eBTRC
return eBTRC

GetBusinessCard() public method

public GetBusinessCard ( ) : eBTRC
return eBTRC

GetServiceList() public method

public GetServiceList ( eBTSVC eSvc ) : ArrayList
eSvc eBTSVC
return System.Collections.ArrayList

GetSignalStrength() public method

public GetSignalStrength ( ) : eBTRSSI_LEVEL
return eBTRSSI_LEVEL

IsBonded() public method

public IsBonded ( ) : bool
return bool

LAPConnect() public method

public LAPConnect ( ) : eBTRC
return eBTRC

LAPDisconnect() public method

public LAPDisconnect ( ) : eBTRC
return eBTRC

PANConnect() public method

public PANConnect ( ePAN_NODETYPE ePanType ) : eBTRC
ePanType ePAN_NODETYPE
return eBTRC

PANDisconnect() public method

public PANDisconnect ( ePAN_NODETYPE ePanType ) : eBTRC
ePanType ePAN_NODETYPE
return eBTRC

RemoveBond() public method

public RemoveBond ( ) : eBTRC
return eBTRC

SPPConnect() public method

public SPPConnect ( ) : eBTRC
return eBTRC

SPPConnect() public method

public SPPConnect ( string SvcName ) : eBTRC
SvcName string
return eBTRC

SPPDisconnect() public method

public SPPDisconnect ( ) : eBTRC
return eBTRC

SendBusinessCard() public method

public SendBusinessCard ( ) : eBTRC
return eBTRC

SendFile() public method

public SendFile ( string FileName ) : eBTRC
FileName string
return eBTRC

ToString() public method

public ToString ( ) : string
return string

Property Details

DeviceAddr public_oe property

public string DeviceAddr
return string

DeviceClass public_oe property

public eBTDEVCLASS DeviceClass
return eBTDEVCLASS

DeviceName public_oe property

public string DeviceName
return string

DeviceType public_oe property

public eBTDEVTYPE DeviceType
return eBTDEVTYPE

IsConnected public_oe property

public bool IsConnected
return bool