Pconfiguration#
SCPI Commands :
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:ACKNowledgement
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:BYTEInterleaving
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:DLENgth
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:DSFPacket
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:DWHitening
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:EIRPacketfollows
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:HFControl
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:HRINterleav
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:LTADdress
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:PFControl
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:PLENgth
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:SLAP
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:SNSValue
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:SRMode
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:VDATa
- Commands in total: 25Subgroups: 6Direct child commands: 15
- get_acknowledgement ( ) BtoAckNldgmt
- set_acknowledgement ( acknowledgement: BtoAckNldgmt ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:ACKNowledgement # get: value: enums.BtoAckNldgmt = driver.source.bb.btooth.pconfiguration.get_acknowledgement() # set: driver.source.bb.btooth.pconfiguration.set_acknowledgement(acknowledgement = enums.BtoAckNldgmt.ACK)
Sets the ARQN bit of the packet header..
- Parameters:
acknowledgement – NAK | ACK
NAK: Request to retransmit the previous payload.
ACK: Previous payload has been received successfully.
- get_byte_interleaving ( ) bool
- set_byte_interleaving ( state: bool ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:BYTEInterleaving # get: value: bool = driver.source.bb.btooth.pconfiguration.get_byte_interleaving() # set: driver.source.bb.btooth.pconfiguration.set_byte_interleaving(state = False)
No help available
- get_dlength ( ) int
- set_dlength ( dlength: int ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:DLENgth # get: value: int = driver.source.bb.btooth.pconfiguration.get_dlength() # set: driver.source.bb.btooth.pconfiguration.set_dlength(dlength = 1)
Sets the payload data length in bytes.
- Parameters:
dlength – integer
- get_dsf_packet ( ) BtoDataSourForPck
- set_dsf_packet ( dsf_packet: BtoDataSourForPck ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:DSFPacket # get: value: enums.BtoDataSourForPck = driver.source.bb.btooth.pconfiguration.get_dsf_packet() # set: driver.source.bb.btooth.pconfiguration.set_dsf_packet(dsf_packet = enums.BtoDataSourForPck.ADATa)
Selects the data source for the selected packet type.
- Parameters:
dsf_packet – PEDit | ADATa
PED: Enables the Packet Editor. All packet fields can be configured individually.
ADAT: Fills the generated packets with the selected data source. Useful if predefined data contents are loaded with a data list file or the data contents of the packet are not of interest.
- get_dwhitening ( ) bool
- set_dwhitening ( dwhitening: bool ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:DWHitening # get: value: bool = driver.source.bb.btooth.pconfiguration.get_dwhitening() # set: driver.source.bb.btooth.pconfiguration.set_dwhitening(dwhitening = False)
Activates the Data Whitening.
- Parameters:
dwhitening – 1 | ON | 0| OFF
- get_eir_packet_follows ( ) YesNoStatus
- set_eir_packet_follows ( eir_packet_follow: YesNoStatus ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:EIRPacketfollows # get: value: enums.YesNoStatus = driver.source.bb.btooth.pconfiguration.get_eir_packet_follows() # set: driver.source.bb.btooth.pconfiguration.set_eir_packet_follows(eir_packet_follow = enums.YesNoStatus.NO)
Indicates that an extended inquiry response packet can follow.
- Parameters:
eir_packet_follow – YES | NO
YES: Indicates that EIR packet follows.
NO: Indicates that EIR packet does not follow.
- get_hf_control ( ) BtoFlowCtrl
- set_hf_control ( hf_control: BtoFlowCtrl ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:HFControl # get: value: enums.BtoFlowCtrl = driver.source.bb.btooth.pconfiguration.get_hf_control() # set: driver.source.bb.btooth.pconfiguration.set_hf_control(hf_control = enums.BtoFlowCtrl.GO)
The command sets the FLOW bit in the header. This bit indicates start or stop of transmission of packets over the ACL logical transport.
- Parameters:
hf_control – GO | STOP
GO: Allows the other devices to transmit new data.
STOP: Stops the other devices from transmitting data temporarily.
- get_hr_interleav ( ) int
- set_hr_interleav ( hr_interleaving: int ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:HRINterleav # get: value: int = driver.source.bb.btooth.pconfiguration.get_hr_interleav() # set: driver.source.bb.btooth.pconfiguration.set_hr_interleav(hr_interleaving = 1)
No help available
- get_lt_address ( ) int
- set_lt_address ( lt_address: int ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:LTADdress # get: value: int = driver.source.bb.btooth.pconfiguration.get_lt_address() # set: driver.source.bb.btooth.pconfiguration.set_lt_address(lt_address = 1)
The command enters the logical transport address for the header. Each Peripheral active in a piconet is assigned a primary logical transport address (LT_ADDR) . The all-zero LT_ADDR is reserved for broadcast messages.
- Parameters:
lt_address – integer
- get_pf_control ( ) BtoFlowCtrl
- set_pf_control ( pf_control: BtoFlowCtrl ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:PFControl # get: value: enums.BtoFlowCtrl = driver.source.bb.btooth.pconfiguration.get_pf_control() # set: driver.source.bb.btooth.pconfiguration.set_pf_control(pf_control = enums.BtoFlowCtrl.GO)
The command sets the FLOW bit in the payload (flow control per logical link) .
- Parameters:
pf_control – GO | STOP
GO: Indicates the start of transmission of ACL packets after a new connection has been established.
STOP: Indicates the stop of transmission of ACL packets before an additional amount of payload data is sent.
- get_plength ( ) int
- set_plength ( plength: int ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:PLENgth # get: value: int = driver.source.bb.btooth.pconfiguration.get_plength() # set: driver.source.bb.btooth.pconfiguration.set_plength(plength = 1)
Sets the packet length in symbols.
- Parameters:
plength – integer
- get_slap ( ) bool
- set_slap ( state: bool ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:SLAP # get: value: bool = driver.source.bb.btooth.pconfiguration.get_slap() # set: driver.source.bb.btooth.pconfiguration.set_slap(state = False)
Activates synchronization of the lower address part (LAP) of the sync word and Bluetooth device address.
- Parameters:
state – 1 | ON | 0| OFF
- get_sns_value ( ) int
- set_sns_value ( sns_value: int ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:SNSValue # get: value: int = driver.source.bb.btooth.pconfiguration.get_sns_value() # set: driver.source.bb.btooth.pconfiguration.set_sns_value(sns_value = 1)
Sets the start value of the header SEQN bit. The SEQN bit is present in the header to filter out retransmissions in the destination. The signal generator is altering this bit automatically on consecutive frames, if a sequence length of at least 2 frames is set.
- Parameters:
sns_value – integer
- get_sr_mode ( ) BtoScanReMode
- set_sr_mode ( sr_mode: BtoScanReMode ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:SRMode # get: value: enums.BtoScanReMode = driver.source.bb.btooth.pconfiguration.get_sr_mode() # set: driver.source.bb.btooth.pconfiguration.set_sr_mode(sr_mode = enums.BtoScanReMode.R0)
The command indicates the interval between two consecutive page scan windows, determines the behavior of the paging device.
- Parameters:
sr_mode – R0 | R1 | R2
R0: The scan interval is equal to the scan window T w page scan (continuous nscan) and maximal 1.28s.
R1: The scan interval is maximal 1.28s.
R2: The scan interval is maximal 2.56s.
- get_vdata ( ) DataSourceB
- set_vdata ( vdata: DataSourceB ) None
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:VDATa # get: value: enums.DataSourceB = driver.source.bb.btooth.pconfiguration.get_vdata() # set: driver.source.bb.btooth.pconfiguration.set_vdata(vdata = enums.DataSourceB.ALL0)
Selects the data source for the voice field.
- Parameters:
vdata – ALL0 | ALL1 | PATTern | PN09 | PN11 | PN15 | PN16 | PN20 | PN21 | PN23 | DLISt
Cloning the Group
# Create a copy of the original group, that exists independently
pconfiguration_copy = driver.source.bb.btooth.pconfiguration.clone()
Subgroups