C# 클래스 BTool.DeviceFormUtils

파일 보기 프로젝트 열기: x893/BTool

공개 메소드들

메소드 설명
BuildRawDataStr ( byte data, string &msg, int length ) : void
CheckLineLength ( string &msg, uint lineIndex, bool addTabs ) : void
ConvertDisplayTypes ( ValueDisplay inValueDisplay, string inStr, ValueDisplay &outValueDisplay, string &outStr, bool displayMsg ) : bool
GetAttExecuteWriteFlagsStr ( byte executeWriteFlags ) : string
GetErrorStatusStr ( byte errorStatus ) : string
GetErrorStatusStr ( byte errorStatus, string newLineSpacer ) : string
GetFindFormatStr ( byte findFormat ) : string
GetGapAdTypesStr ( byte adTypes ) : string
GetGapAddrTypeStr ( byte addrType ) : string
GetGapAdventAdTypeStr ( byte adType ) : string
GetGapAuthReqStr ( byte authReq ) : string
GetGapAuthenticatedCsrkStr ( byte authCsrk ) : string
GetGapBondParamIdStr ( ushort bondParamId ) : string
GetGapChannelMapStr ( byte channelMap ) : string
GetGapDisconnectReasonStr ( byte discReason ) : string
GetGapDiscoveryModeStr ( byte discoveryMode ) : string
GetGapEnableDisableStr ( byte gapEnableDisable ) : string
GetGapEventTypeStr ( byte eventType ) : string
GetGapFilterPolicyStr ( byte filterPolicy ) : string
GetGapIOCapsStr ( byte ioCaps ) : string
GetGapKeyDiskStr ( byte keyDisk ) : string
GetGapOobDataFlagStr ( byte dataFlag ) : string
GetGapParamIdStr ( byte paramId ) : string
GetGapProfileStr ( byte gapProfile ) : string
GetGapSMPFailureTypesStr ( byte failTypes ) : string
GetGapTerminationReasonStr ( byte termReason ) : string
GetGapTrueFalseStr ( byte gapTrueFalse ) : string
GetGapUiInputStr ( byte uiInput ) : string
GetGapUiOutputStr ( byte uiOutput ) : string
GetGapYesNoStr ( byte gapYesNo ) : string
GetGattCharProperties ( byte properties, bool useShort ) : string
GetGattPermissionsStr ( byte permissions ) : string
GetGattServiceUUIDStr ( ushort serviceUUID ) : string
GetHCIExtStatusStr ( byte status ) : string
GetHciExtClkDivideOnHaltCtrlStr ( byte control ) : string
GetHciExtCwModeStr ( byte cwMode ) : string
GetHciExtDeclareNvUsageModeStr ( byte control ) : string
GetHciExtMapPmIoPortStr ( byte data ) : string
GetHciExtOnePktPerEvtCtrlStr ( byte control ) : string
GetHciExtPERTestCommandStr ( byte data ) : string
GetHciExtRxGainStr ( byte rxGain ) : string
GetHciExtSetFastTxRespTimeCtrlStr ( byte control ) : string
GetHciExtSetFreqTuneStr ( byte data ) : string
GetHciExtTxPowerStr ( byte txPower ) : string
GetHciReqOpCodeStr ( byte data ) : string
GetL2CapConnParamUpdateResultStr ( ushort updateResult ) : string
GetL2CapInfoTypesStr ( ushort infoTypes ) : string
GetL2CapRejectReasonsStr ( ushort rejectReason ) : string
GetLEAddressTypeStr ( byte dataFlag ) : string
GetOpCodeName ( ushort opCode ) : string
GetPacketTypeStr ( byte packetType ) : string
GetShortErrorStatusStr ( byte errorStatus ) : string
GetSigAuthStr ( byte sigAuth ) : string
GetStatusStr ( byte status ) : string
GetUtilResetTypeStr ( byte resetType ) : string
GetUuidLength ( byte format, bool &dataErr ) : int
HexStr2UserDefinedStr ( string msg, SharedAppObjs strType ) : string
LoadMsgHeader ( ArrayList &data, int &index, byte packetType, ushort opCode, byte dataLength ) : bool
LoadMsgHeader ( byte &data, int &index, byte packetType, ushort opCode, byte dataLength ) : bool
String2BDA_LSBMSB ( string bdaStr ) : byte[]
String2Bytes_LSBMSB ( string str, byte radix ) : byte[]
String2UInt16_LSBMSB ( string str, byte radix ) : ushort[]
UnloadAttMsgHeader ( byte &data, int &index, string &msg, bool &dataErr ) : byte
UnloadColonData ( byte data, bool limitLen ) : string
UnloadColonData ( byte data, int &index, int numBytes, bool &dataErr ) : string
UnloadColonData ( byte data, int &index, int numBytes, bool &dataErr, bool limitLen ) : string
UnloadDeviceAddr ( byte data, byte &addr, int &index, bool direction, bool &dataErr ) : string
UnloadHandleHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr ) : string
UnloadHandleHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr, List &handleHandleData ) : string
UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr ) : string
UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr, string strDataName ) : string
UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr, string strDataName, List &handleData ) : string
UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, string &handleStr, string &valueStr, bool &dataErr, string strDataName ) : string
UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, string &handleStr, string &valueStr, bool &dataErr, string strDataName, List &handleData ) : string

메소드 상세

BuildRawDataStr() 공개 메소드

public BuildRawDataStr ( byte data, string &msg, int length ) : void
data byte
msg string
length int
리턴 void

CheckLineLength() 공개 메소드

public CheckLineLength ( string &msg, uint lineIndex, bool addTabs ) : void
msg string
lineIndex uint
addTabs bool
리턴 void

ConvertDisplayTypes() 공개 메소드

public ConvertDisplayTypes ( ValueDisplay inValueDisplay, string inStr, ValueDisplay &outValueDisplay, string &outStr, bool displayMsg ) : bool
inValueDisplay ValueDisplay
inStr string
outValueDisplay ValueDisplay
outStr string
displayMsg bool
리턴 bool

GetAttExecuteWriteFlagsStr() 공개 메소드

public GetAttExecuteWriteFlagsStr ( byte executeWriteFlags ) : string
executeWriteFlags byte
리턴 string

GetErrorStatusStr() 공개 메소드

public GetErrorStatusStr ( byte errorStatus ) : string
errorStatus byte
리턴 string

GetErrorStatusStr() 공개 메소드

public GetErrorStatusStr ( byte errorStatus, string newLineSpacer ) : string
errorStatus byte
newLineSpacer string
리턴 string

GetFindFormatStr() 공개 메소드

public GetFindFormatStr ( byte findFormat ) : string
findFormat byte
리턴 string

GetGapAdTypesStr() 공개 메소드

public GetGapAdTypesStr ( byte adTypes ) : string
adTypes byte
리턴 string

GetGapAddrTypeStr() 공개 메소드

public GetGapAddrTypeStr ( byte addrType ) : string
addrType byte
리턴 string

GetGapAdventAdTypeStr() 공개 메소드

public GetGapAdventAdTypeStr ( byte adType ) : string
adType byte
리턴 string

GetGapAuthReqStr() 공개 메소드

public GetGapAuthReqStr ( byte authReq ) : string
authReq byte
리턴 string

GetGapAuthenticatedCsrkStr() 공개 메소드

public GetGapAuthenticatedCsrkStr ( byte authCsrk ) : string
authCsrk byte
리턴 string

GetGapBondParamIdStr() 공개 메소드

public GetGapBondParamIdStr ( ushort bondParamId ) : string
bondParamId ushort
리턴 string

GetGapChannelMapStr() 공개 메소드

public GetGapChannelMapStr ( byte channelMap ) : string
channelMap byte
리턴 string

GetGapDisconnectReasonStr() 공개 메소드

public GetGapDisconnectReasonStr ( byte discReason ) : string
discReason byte
리턴 string

GetGapDiscoveryModeStr() 공개 메소드

public GetGapDiscoveryModeStr ( byte discoveryMode ) : string
discoveryMode byte
리턴 string

GetGapEnableDisableStr() 공개 메소드

public GetGapEnableDisableStr ( byte gapEnableDisable ) : string
gapEnableDisable byte
리턴 string

GetGapEventTypeStr() 공개 메소드

public GetGapEventTypeStr ( byte eventType ) : string
eventType byte
리턴 string

GetGapFilterPolicyStr() 공개 메소드

public GetGapFilterPolicyStr ( byte filterPolicy ) : string
filterPolicy byte
리턴 string

GetGapIOCapsStr() 공개 메소드

public GetGapIOCapsStr ( byte ioCaps ) : string
ioCaps byte
리턴 string

GetGapKeyDiskStr() 공개 메소드

public GetGapKeyDiskStr ( byte keyDisk ) : string
keyDisk byte
리턴 string

GetGapOobDataFlagStr() 공개 메소드

public GetGapOobDataFlagStr ( byte dataFlag ) : string
dataFlag byte
리턴 string

GetGapParamIdStr() 공개 메소드

public GetGapParamIdStr ( byte paramId ) : string
paramId byte
리턴 string

GetGapProfileStr() 공개 메소드

public GetGapProfileStr ( byte gapProfile ) : string
gapProfile byte
리턴 string

GetGapSMPFailureTypesStr() 공개 메소드

public GetGapSMPFailureTypesStr ( byte failTypes ) : string
failTypes byte
리턴 string

GetGapTerminationReasonStr() 공개 메소드

public GetGapTerminationReasonStr ( byte termReason ) : string
termReason byte
리턴 string

GetGapTrueFalseStr() 공개 메소드

public GetGapTrueFalseStr ( byte gapTrueFalse ) : string
gapTrueFalse byte
리턴 string

GetGapUiInputStr() 공개 메소드

public GetGapUiInputStr ( byte uiInput ) : string
uiInput byte
리턴 string

GetGapUiOutputStr() 공개 메소드

public GetGapUiOutputStr ( byte uiOutput ) : string
uiOutput byte
리턴 string

GetGapYesNoStr() 공개 메소드

public GetGapYesNoStr ( byte gapYesNo ) : string
gapYesNo byte
리턴 string

GetGattCharProperties() 공개 메소드

public GetGattCharProperties ( byte properties, bool useShort ) : string
properties byte
useShort bool
리턴 string

GetGattPermissionsStr() 공개 메소드

public GetGattPermissionsStr ( byte permissions ) : string
permissions byte
리턴 string

GetGattServiceUUIDStr() 공개 메소드

public GetGattServiceUUIDStr ( ushort serviceUUID ) : string
serviceUUID ushort
리턴 string

GetHCIExtStatusStr() 공개 메소드

public GetHCIExtStatusStr ( byte status ) : string
status byte
리턴 string

GetHciExtClkDivideOnHaltCtrlStr() 공개 메소드

public GetHciExtClkDivideOnHaltCtrlStr ( byte control ) : string
control byte
리턴 string

GetHciExtCwModeStr() 공개 메소드

public GetHciExtCwModeStr ( byte cwMode ) : string
cwMode byte
리턴 string

GetHciExtDeclareNvUsageModeStr() 공개 메소드

public GetHciExtDeclareNvUsageModeStr ( byte control ) : string
control byte
리턴 string

GetHciExtMapPmIoPortStr() 공개 메소드

public GetHciExtMapPmIoPortStr ( byte data ) : string
data byte
리턴 string

GetHciExtOnePktPerEvtCtrlStr() 공개 메소드

public GetHciExtOnePktPerEvtCtrlStr ( byte control ) : string
control byte
리턴 string

GetHciExtPERTestCommandStr() 공개 메소드

public GetHciExtPERTestCommandStr ( byte data ) : string
data byte
리턴 string

GetHciExtRxGainStr() 공개 메소드

public GetHciExtRxGainStr ( byte rxGain ) : string
rxGain byte
리턴 string

GetHciExtSetFastTxRespTimeCtrlStr() 공개 메소드

public GetHciExtSetFastTxRespTimeCtrlStr ( byte control ) : string
control byte
리턴 string

GetHciExtSetFreqTuneStr() 공개 메소드

public GetHciExtSetFreqTuneStr ( byte data ) : string
data byte
리턴 string

GetHciExtTxPowerStr() 공개 메소드

public GetHciExtTxPowerStr ( byte txPower ) : string
txPower byte
리턴 string

GetHciReqOpCodeStr() 공개 메소드

public GetHciReqOpCodeStr ( byte data ) : string
data byte
리턴 string

GetL2CapConnParamUpdateResultStr() 공개 메소드

public GetL2CapConnParamUpdateResultStr ( ushort updateResult ) : string
updateResult ushort
리턴 string

GetL2CapInfoTypesStr() 공개 메소드

public GetL2CapInfoTypesStr ( ushort infoTypes ) : string
infoTypes ushort
리턴 string

GetL2CapRejectReasonsStr() 공개 메소드

public GetL2CapRejectReasonsStr ( ushort rejectReason ) : string
rejectReason ushort
리턴 string

GetLEAddressTypeStr() 공개 메소드

public GetLEAddressTypeStr ( byte dataFlag ) : string
dataFlag byte
리턴 string

GetOpCodeName() 공개 메소드

public GetOpCodeName ( ushort opCode ) : string
opCode ushort
리턴 string

GetPacketTypeStr() 공개 메소드

public GetPacketTypeStr ( byte packetType ) : string
packetType byte
리턴 string

GetShortErrorStatusStr() 공개 메소드

public GetShortErrorStatusStr ( byte errorStatus ) : string
errorStatus byte
리턴 string

GetSigAuthStr() 공개 메소드

public GetSigAuthStr ( byte sigAuth ) : string
sigAuth byte
리턴 string

GetStatusStr() 공개 메소드

public GetStatusStr ( byte status ) : string
status byte
리턴 string

GetUtilResetTypeStr() 공개 메소드

public GetUtilResetTypeStr ( byte resetType ) : string
resetType byte
리턴 string

GetUuidLength() 공개 메소드

public GetUuidLength ( byte format, bool &dataErr ) : int
format byte
dataErr bool
리턴 int

HexStr2UserDefinedStr() 공개 메소드

public HexStr2UserDefinedStr ( string msg, SharedAppObjs strType ) : string
msg string
strType SharedAppObjs
리턴 string

LoadMsgHeader() 공개 메소드

public LoadMsgHeader ( ArrayList &data, int &index, byte packetType, ushort opCode, byte dataLength ) : bool
data ArrayList
index int
packetType byte
opCode ushort
dataLength byte
리턴 bool

LoadMsgHeader() 공개 메소드

public LoadMsgHeader ( byte &data, int &index, byte packetType, ushort opCode, byte dataLength ) : bool
data byte
index int
packetType byte
opCode ushort
dataLength byte
리턴 bool

String2BDA_LSBMSB() 공개 메소드

public String2BDA_LSBMSB ( string bdaStr ) : byte[]
bdaStr string
리턴 byte[]

String2Bytes_LSBMSB() 공개 메소드

public String2Bytes_LSBMSB ( string str, byte radix ) : byte[]
str string
radix byte
리턴 byte[]

String2UInt16_LSBMSB() 공개 메소드

public String2UInt16_LSBMSB ( string str, byte radix ) : ushort[]
str string
radix byte
리턴 ushort[]

UnloadAttMsgHeader() 공개 메소드

public UnloadAttMsgHeader ( byte &data, int &index, string &msg, bool &dataErr ) : byte
data byte
index int
msg string
dataErr bool
리턴 byte

UnloadColonData() 공개 메소드

public UnloadColonData ( byte data, bool limitLen ) : string
data byte
limitLen bool
리턴 string

UnloadColonData() 공개 메소드

public UnloadColonData ( byte data, int &index, int numBytes, bool &dataErr ) : string
data byte
index int
numBytes int
dataErr bool
리턴 string

UnloadColonData() 공개 메소드

public UnloadColonData ( byte data, int &index, int numBytes, bool &dataErr, bool limitLen ) : string
data byte
index int
numBytes int
dataErr bool
limitLen bool
리턴 string

UnloadDeviceAddr() 공개 메소드

public UnloadDeviceAddr ( byte data, byte &addr, int &index, bool direction, bool &dataErr ) : string
data byte
addr byte
index int
direction bool
dataErr bool
리턴 string

UnloadHandleHandleValueData() 공개 메소드

public UnloadHandleHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr ) : string
data byte
index int
totalLength int
dataLength int
dataErr bool
리턴 string

UnloadHandleHandleValueData() 공개 메소드

public UnloadHandleHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr, List &handleHandleData ) : string
data byte
index int
totalLength int
dataLength int
dataErr bool
handleHandleData List
리턴 string

UnloadHandleValueData() 공개 메소드

public UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr ) : string
data byte
index int
totalLength int
dataLength int
dataErr bool
리턴 string

UnloadHandleValueData() 공개 메소드

public UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr, string strDataName ) : string
data byte
index int
totalLength int
dataLength int
dataErr bool
strDataName string
리턴 string

UnloadHandleValueData() 공개 메소드

public UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, bool &dataErr, string strDataName, List &handleData ) : string
data byte
index int
totalLength int
dataLength int
dataErr bool
strDataName string
handleData List
리턴 string

UnloadHandleValueData() 공개 메소드

public UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, string &handleStr, string &valueStr, bool &dataErr, string strDataName ) : string
data byte
index int
totalLength int
dataLength int
handleStr string
valueStr string
dataErr bool
strDataName string
리턴 string

UnloadHandleValueData() 공개 메소드

public UnloadHandleValueData ( byte data, int &index, int totalLength, int dataLength, string &handleStr, string &valueStr, bool &dataErr, string strDataName, List &handleData ) : string
data byte
index int
totalLength int
dataLength int
handleStr string
valueStr string
dataErr bool
strDataName string
handleData List
리턴 string