C# Class BTool.DeviceTabsForm

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: x893/BTool Class Usage Examples

Public Properties

Property Type Description
DisplayMsgCallback DeviceForm.DisplayMsgDelegate
discoverConnectStatus DiscoverConnectStatus

Public Methods

Method Description
AddSlaveDevice ( DeviceTabsForm linkSlave ) : void
DeviceTabsForm ( DeviceForm deviceForm ) : System
DeviceTabsUpdate ( ) : void
DiscoverConnectUserInputControl ( ) : void
GetConnectionParameters ( ) : void
GetRbASCIIReadChecked ( ) : bool
GetRbDecimalReadChecked ( ) : bool
GetSelectedTab ( ) : int
GetTbReadStatusText ( ) : string
GetTbWriteStatusText ( ) : string
GetTcDeviceTabsWidth ( ) : int
PairBondUserInputControl ( ) : void
SetAddrType ( byte addrType ) : void
SetAuthenticatedBond ( bool state ) : void
SetConnHandles ( ushort handle ) : bool
SetGapAuthCompleteInfo ( HCICmds obj ) : void
SetMaxConnectionInterval ( uint interval ) : void
SetMinConnectionInterval ( uint interval ) : void
SetNudMaxConnIntValue ( int value ) : void
SetNudMinConnIntValue ( int value ) : void
SetNudSlaveLatencyValue ( int value ) : void
SetNudSprVisionTimeoutValue ( int value ) : void
SetPairingStatus ( DeviceTabsForm state ) : void
SetSlaveLatency ( uint latency ) : void
SetSupervisionTimeout ( uint timeout ) : void
SetTbReadAttrHandleText ( string text ) : void
SetTbReadStatusText ( string text ) : void
SetTbReadValueTag ( object tag ) : void
SetTbReadValueText ( string text ) : void
SetTbWriteStatusText ( string text ) : void
ShowProgress ( bool enable ) : void
TabAdvCommandsInitValues ( ) : void
TabDiscoverConnectInitValues ( ) : void
TabPairBondInitValues ( ) : void
TabReadWriteInitValues ( ) : void
UsePasskeySecurity ( HCICmds state ) : void
UserTabAccess ( bool tabAcccess ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
AddToEndCsv ( DeviceTabsForm newCsvData, List &csvData ) : bool
CheckHexKeyPress ( object sender, KeyPressEventArgs e ) : void
ConnSettingsUserInputControl ( bool enabled ) : void
DeviceTabsForm ( ) : System
DeviceTabsForm_Load ( object sender, EventArgs e ) : void
DeviceTabsForm_Scroll ( object sender, ScrollEventArgs e ) : void
DiscoveryUserInputControl ( bool enabled ) : void
EstablishLinkUserInputControl ( bool enabled ) : void
FindAddrInCsv ( string addr, List csvData, int &csvIndex ) : bool
GATTWriteValueValidation ( string valStr ) : bool
GetAuthenticationEnabled ( ) : bool
GetBondingEnabled ( ) : bool
GetPairingStatusStr ( DeviceTabsForm status ) : string
InitializeComponent ( ) : void
InitiateBondUserInputControl ( bool enabled ) : void
InitiatePairingUserInputControl ( bool enabled ) : void
LoadHCICmds ( ) : void
PairBondFieldControl ( ) : void
PairBondFieldTabDisable ( bool disableTabAcccess ) : void
PasskeyInputUserInputControl ( bool enabled ) : void
ReadCsv ( string pathFileNameStr, bool &fileError ) : List
ReplaceAddrDataInCsv ( DeviceTabsForm newCsvData, List &csvData, int csvIndex ) : bool
ResetSlaveDevices ( ) : void
SetConnectionParameters ( ) : void
TabAdvCommandsToolTips ( ) : void
TabDiscoverConnectToolTips ( ) : void
TabPairBondToolTips ( ) : void
TabReadWriteToolTips ( ) : void
TerminateLinkUserInputControl ( bool enabled ) : void
WriteCsv ( string pathFileNameStr, List csvData ) : bool
btnEstablishCancel_Click ( object sender, EventArgs e ) : void
btnEstablish_Click ( object sender, EventArgs e ) : void
btnGATTReadValue_Click ( object sender, EventArgs e ) : void
btnGATTWriteValue_Click ( object sender, EventArgs e ) : void
btnGetParams_Click ( object sender, EventArgs e ) : void
btnInitiateBond_Click ( object sender, EventArgs e ) : void
btnLoadLongTermKey_Click ( object sender, EventArgs e ) : void
btnSaveLongTermKey_Click ( object sender, EventArgs e ) : void
btnScanCancel_Click ( object sender, EventArgs e ) : void
btnScan_Click ( object sender, EventArgs e ) : void
btnSendPairingRequest_Click ( object sender, EventArgs e ) : void
btnSendPassKey_Click ( object sender, EventArgs e ) : void
btnSendShared_Click ( object sender, EventArgs e ) : void
btnSetParams_Click ( object sender, EventArgs e ) : void
btnTerminate_Click ( object sender, EventArgs e ) : void
cbConnSlaveDeviceBDAddress_SelectedIndexChanged ( object sender, EventArgs e ) : void
maxCI_Changed ( object sender, EventArgs e ) : void
minCI_Changed ( object sender, EventArgs e ) : void
pgAdvCmds_Layout ( object sender, LayoutEventArgs e ) : void
readFormat_Click ( object sender, EventArgs e ) : void
readType_Changed ( object sender, EventArgs e ) : void
supervisionTimeout_Changed ( object sender, EventArgs e ) : void
tbLTKDiversifier_KeyPress ( object sender, KeyPressEventArgs e ) : void
tbLTKRandom_KeyPress ( object sender, KeyPressEventArgs e ) : void
tbLongTermKey_KeyPress ( object sender, KeyPressEventArgs e ) : void
tbPasskey_KeyPress ( object sender, KeyPressEventArgs e ) : void
tcDeviceTab_Selected ( object sender, TabControlEventArgs e ) : void
treeViewCmdList_AfterSelect ( object sender, TreeViewEventArgs e ) : void
tsmiSendAdvCmd_Click ( object sender, EventArgs e ) : void

Method Details

AddSlaveDevice() public method

public AddSlaveDevice ( DeviceTabsForm linkSlave ) : void
linkSlave DeviceTabsForm
return void

DeviceTabsForm() public method

public DeviceTabsForm ( DeviceForm deviceForm ) : System
deviceForm DeviceForm
return System

DeviceTabsUpdate() public method

public DeviceTabsUpdate ( ) : void
return void

DiscoverConnectUserInputControl() public method

public DiscoverConnectUserInputControl ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetConnectionParameters() public method

public GetConnectionParameters ( ) : void
return void

GetRbASCIIReadChecked() public method

public GetRbASCIIReadChecked ( ) : bool
return bool

GetRbDecimalReadChecked() public method

public GetRbDecimalReadChecked ( ) : bool
return bool

GetSelectedTab() public method

public GetSelectedTab ( ) : int
return int

GetTbReadStatusText() public method

public GetTbReadStatusText ( ) : string
return string

GetTbWriteStatusText() public method

public GetTbWriteStatusText ( ) : string
return string

GetTcDeviceTabsWidth() public method

public GetTcDeviceTabsWidth ( ) : int
return int

PairBondUserInputControl() public method

public PairBondUserInputControl ( ) : void
return void

SetAddrType() public method

public SetAddrType ( byte addrType ) : void
addrType byte
return void

SetAuthenticatedBond() public method

public SetAuthenticatedBond ( bool state ) : void
state bool
return void

SetConnHandles() public method

public SetConnHandles ( ushort handle ) : bool
handle ushort
return bool

SetGapAuthCompleteInfo() public method

public SetGapAuthCompleteInfo ( HCICmds obj ) : void
obj HCICmds
return void

SetMaxConnectionInterval() public method

public SetMaxConnectionInterval ( uint interval ) : void
interval uint
return void

SetMinConnectionInterval() public method

public SetMinConnectionInterval ( uint interval ) : void
interval uint
return void

SetNudMaxConnIntValue() public method

public SetNudMaxConnIntValue ( int value ) : void
value int
return void

SetNudMinConnIntValue() public method

public SetNudMinConnIntValue ( int value ) : void
value int
return void

SetNudSlaveLatencyValue() public method

public SetNudSlaveLatencyValue ( int value ) : void
value int
return void

SetNudSprVisionTimeoutValue() public method

public SetNudSprVisionTimeoutValue ( int value ) : void
value int
return void

SetPairingStatus() public method

public SetPairingStatus ( DeviceTabsForm state ) : void
state DeviceTabsForm
return void

SetSlaveLatency() public method

public SetSlaveLatency ( uint latency ) : void
latency uint
return void

SetSupervisionTimeout() public method

public SetSupervisionTimeout ( uint timeout ) : void
timeout uint
return void

SetTbReadAttrHandleText() public method

public SetTbReadAttrHandleText ( string text ) : void
text string
return void

SetTbReadStatusText() public method

public SetTbReadStatusText ( string text ) : void
text string
return void

SetTbReadValueTag() public method

public SetTbReadValueTag ( object tag ) : void
tag object
return void

SetTbReadValueText() public method

public SetTbReadValueText ( string text ) : void
text string
return void

SetTbWriteStatusText() public method

public SetTbWriteStatusText ( string text ) : void
text string
return void

ShowProgress() public method

public ShowProgress ( bool enable ) : void
enable bool
return void

TabAdvCommandsInitValues() public method

public TabAdvCommandsInitValues ( ) : void
return void

TabDiscoverConnectInitValues() public method

public TabDiscoverConnectInitValues ( ) : void
return void

TabPairBondInitValues() public method

public TabPairBondInitValues ( ) : void
return void

TabReadWriteInitValues() public method

public TabReadWriteInitValues ( ) : void
return void

UsePasskeySecurity() public method

public UsePasskeySecurity ( HCICmds state ) : void
state HCICmds
return void

UserTabAccess() public method

public UserTabAccess ( bool tabAcccess ) : void
tabAcccess bool
return void

Property Details

DisplayMsgCallback public_oe property

public DeviceForm.DisplayMsgDelegate DisplayMsgCallback
return DeviceForm.DisplayMsgDelegate

discoverConnectStatus public_oe property

public DiscoverConnectStatus discoverConnectStatus
return DiscoverConnectStatus