C# Класс BTool.DeviceTabsForm

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DisplayMsgCallback DeviceForm.DisplayMsgDelegate
discoverConnectStatus DiscoverConnectStatus

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
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

Описание методов

AddSlaveDevice() публичный Метод

public AddSlaveDevice ( DeviceTabsForm linkSlave ) : void
linkSlave DeviceTabsForm
Результат void

DeviceTabsForm() публичный Метод

public DeviceTabsForm ( DeviceForm deviceForm ) : System
deviceForm DeviceForm
Результат System

DeviceTabsUpdate() публичный Метод

public DeviceTabsUpdate ( ) : void
Результат void

DiscoverConnectUserInputControl() публичный Метод

public DiscoverConnectUserInputControl ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetConnectionParameters() публичный Метод

public GetConnectionParameters ( ) : void
Результат void

GetRbASCIIReadChecked() публичный Метод

public GetRbASCIIReadChecked ( ) : bool
Результат bool

GetRbDecimalReadChecked() публичный Метод

public GetRbDecimalReadChecked ( ) : bool
Результат bool

GetSelectedTab() публичный Метод

public GetSelectedTab ( ) : int
Результат int

GetTbReadStatusText() публичный Метод

public GetTbReadStatusText ( ) : string
Результат string

GetTbWriteStatusText() публичный Метод

public GetTbWriteStatusText ( ) : string
Результат string

GetTcDeviceTabsWidth() публичный Метод

public GetTcDeviceTabsWidth ( ) : int
Результат int

PairBondUserInputControl() публичный Метод

public PairBondUserInputControl ( ) : void
Результат void

SetAddrType() публичный Метод

public SetAddrType ( byte addrType ) : void
addrType byte
Результат void

SetAuthenticatedBond() публичный Метод

public SetAuthenticatedBond ( bool state ) : void
state bool
Результат void

SetConnHandles() публичный Метод

public SetConnHandles ( ushort handle ) : bool
handle ushort
Результат bool

SetGapAuthCompleteInfo() публичный Метод

public SetGapAuthCompleteInfo ( HCICmds obj ) : void
obj HCICmds
Результат void

SetMaxConnectionInterval() публичный Метод

public SetMaxConnectionInterval ( uint interval ) : void
interval uint
Результат void

SetMinConnectionInterval() публичный Метод

public SetMinConnectionInterval ( uint interval ) : void
interval uint
Результат void

SetNudMaxConnIntValue() публичный Метод

public SetNudMaxConnIntValue ( int value ) : void
value int
Результат void

SetNudMinConnIntValue() публичный Метод

public SetNudMinConnIntValue ( int value ) : void
value int
Результат void

SetNudSlaveLatencyValue() публичный Метод

public SetNudSlaveLatencyValue ( int value ) : void
value int
Результат void

SetNudSprVisionTimeoutValue() публичный Метод

public SetNudSprVisionTimeoutValue ( int value ) : void
value int
Результат void

SetPairingStatus() публичный Метод

public SetPairingStatus ( DeviceTabsForm state ) : void
state DeviceTabsForm
Результат void

SetSlaveLatency() публичный Метод

public SetSlaveLatency ( uint latency ) : void
latency uint
Результат void

SetSupervisionTimeout() публичный Метод

public SetSupervisionTimeout ( uint timeout ) : void
timeout uint
Результат void

SetTbReadAttrHandleText() публичный Метод

public SetTbReadAttrHandleText ( string text ) : void
text string
Результат void

SetTbReadStatusText() публичный Метод

public SetTbReadStatusText ( string text ) : void
text string
Результат void

SetTbReadValueTag() публичный Метод

public SetTbReadValueTag ( object tag ) : void
tag object
Результат void

SetTbReadValueText() публичный Метод

public SetTbReadValueText ( string text ) : void
text string
Результат void

SetTbWriteStatusText() публичный Метод

public SetTbWriteStatusText ( string text ) : void
text string
Результат void

ShowProgress() публичный Метод

public ShowProgress ( bool enable ) : void
enable bool
Результат void

TabAdvCommandsInitValues() публичный Метод

public TabAdvCommandsInitValues ( ) : void
Результат void

TabDiscoverConnectInitValues() публичный Метод

public TabDiscoverConnectInitValues ( ) : void
Результат void

TabPairBondInitValues() публичный Метод

public TabPairBondInitValues ( ) : void
Результат void

TabReadWriteInitValues() публичный Метод

public TabReadWriteInitValues ( ) : void
Результат void

UsePasskeySecurity() публичный Метод

public UsePasskeySecurity ( HCICmds state ) : void
state HCICmds
Результат void

UserTabAccess() публичный Метод

public UserTabAccess ( bool tabAcccess ) : void
tabAcccess bool
Результат void

Описание свойств

DisplayMsgCallback публичное свойство

public DeviceForm.DisplayMsgDelegate DisplayMsgCallback
Результат DeviceForm.DisplayMsgDelegate

discoverConnectStatus публичное свойство

public DiscoverConnectStatus discoverConnectStatus
Результат DiscoverConnectStatus