Ecode
SCPI Command :
[SOURce<HW>]:BB:BTOoth:ECONfiguration:PCONfiguration:ECODe
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class EcodeStruct[source]
Response structure. Fields:
1 Ecode: str: numeric
2 Bitcount: int: integer Range: 8 to 8
- get() EcodeStruct[source]
# [SOURce<HW>]:BB:BTOoth:ECONfiguration:PCONfiguration:ECODe value: EcodeStruct = driver.source.bb.btooth.econfiguration.pconfiguration.ecode.get()
Sets the error code value to inform the remote device why the connection is about to be terminated in case of LL_TERMINATE_IND packet. On the other hand, this parameter for LL_REJECT_IND packet is used for the reason a request was rejected. A 8 bit value is set. Note: This parameter is relevant for data frame configuration and the packet type: Selects the clock source:
LL_TERMINATE_IND
LL_REJECT_IND
- Returns:
structure: for return value, see the help for EcodeStruct structure arguments.
- set(ecode: str, bitcount: int) None[source]
# [SOURce<HW>]:BB:BTOoth:ECONfiguration:PCONfiguration:ECODe driver.source.bb.btooth.econfiguration.pconfiguration.ecode.set(ecode = rawAbc, bitcount = 1)
Sets the error code value to inform the remote device why the connection is about to be terminated in case of LL_TERMINATE_IND packet. On the other hand, this parameter for LL_REJECT_IND packet is used for the reason a request was rejected. A 8 bit value is set. Note: This parameter is relevant for data frame configuration and the packet type: Selects the clock source:
LL_TERMINATE_IND
LL_REJECT_IND
- Parameters:
ecode – numeric
bitcount – integer Range: 8 to 8