Pconfiguration#
SCPI Commands :
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:ACKNowledgement
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:BDALap
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:BDANap
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:BDAUap
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:BYTEInterleaving
- [SOURce<HW>]:BB:BTOoth:PCONfiguration:CODevice
- [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:LFSWord
- [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: 1Direct child commands: 20
- class BdaLapStruct
Structure for reading output parameters. Fields:
Bda_Lap: str: numeric
Bitcount: int: integer
- class BdaNapStruct
Structure for reading output parameters. Fields:
Bda_Nap: str: numeric
Bitcount: int: integer
- class BdaUapStruct
Structure for reading output parameters. Fields:
Bda_Uap: str: numeric
Bitcount: int: integer
- class CoDeviceStruct
Structure for reading output parameters. Fields:
Co_Device: str: numeric
Bitcount: int: integer
- class LfsWordStruct
Structure for reading output parameters. Fields:
Lap_For_Sw: str: numeric
Bitcount: int: integer
- get_acknowledgement ( ) BtoAckNldgmt
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:ACKNowledgement value: enums.BtoAckNldgmt = driver.source.bb.btooth.pconfiguration.get_acknowledgement()Sets the ARQN bit of the packet header..
- Returns:
acknowledgement: NAK | ACK
NAK: Request to retransmit the previous payload.
ACK: Previous payload has been received successfully.
- get_bda_lap ( ) BdaLapStruct
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:BDALap value: BdaLapStruct = driver.source.bb.btooth.pconfiguration.get_bda_lap()Sets the lower address part of Bluetooth Device Address. The length of LAP is 24 bits or 6 hexadecimal figures.
- Returns:
structure: for return value, see the help for BdaLapStruct structure arguments.
- get_bda_nap ( ) BdaNapStruct
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:BDANap value: BdaNapStruct = driver.source.bb.btooth.pconfiguration.get_bda_nap()Enters the non-significant address part of Bluetooth Device Address. The length of NAP is 16 bits or 4 hexadecimal figures.
- Returns:
structure: for return value, see the help for BdaNapStruct structure arguments.
- get_bda_uap ( ) BdaUapStruct
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:BDAUap value: BdaUapStruct = driver.source.bb.btooth.pconfiguration.get_bda_uap()Enters the upper address part of Bluetooth Device Address. The length of UAP is 8 bits or 2 hexadecimal figures.
- Returns:
structure: for return value, see the help for BdaUapStruct structure arguments.
- get_byte_interleaving ( ) bool
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:BYTEInterleaving value: bool = driver.source.bb.btooth.pconfiguration.get_byte_interleaving()No help available
- get_co_device ( ) CoDeviceStruct
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:CODevice value: CoDeviceStruct = driver.source.bb.btooth.pconfiguration.get_co_device()A parameter received during the device discovery procedure, indicates the type of device and which types of service that are supported.
- Returns:
structure: for return value, see the help for CoDeviceStruct structure arguments.
- get_dlength ( ) int
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:DLENgth value: int = driver.source.bb.btooth.pconfiguration.get_dlength()Sets the payload data length in bytes.
- Returns:
dlength: integer
- get_dsf_packet ( ) BtoDataSourForPck
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:DSFPacket value: enums.BtoDataSourForPck = driver.source.bb.btooth.pconfiguration.get_dsf_packet()Selects the data source for the selected packet type.
- Returns:
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
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:DWHitening value: bool = driver.source.bb.btooth.pconfiguration.get_dwhitening()Activates the Data Whitening.
- Returns:
dwhitening: 1 | ON | 0| OFF
- get_eir_packet_follows ( ) YesNoStatus
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:EIRPacketfollows value: enums.YesNoStatus = driver.source.bb.btooth.pconfiguration.get_eir_packet_follows()Indicates that an extended inquiry response packet can follow.
- Returns:
eir_packet_follow: YES | NO
YES: Indicates that EIR packet follows.
NO: Indicates that EIR packet does not follow.
- get_hf_control ( ) BtoFlowCtrl
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:HFControl value: enums.BtoFlowCtrl = driver.source.bb.btooth.pconfiguration.get_hf_control()The command sets the FLOW bit in the header. This bit indicates the start or stop of transmission of packets over the ACL logical transport.
- Returns:
hf_control: STOP | GO
STOP: Stops the other devices from transmitting data temporarily.
GO: Allows the other devices to transmit new data.
- get_hr_interleav ( ) int
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:HRINterleav value: int = driver.source.bb.btooth.pconfiguration.get_hr_interleav()No help available
- get_lfs_word ( ) LfsWordStruct
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:LFSWord value: LfsWordStruct = driver.source.bb.btooth.pconfiguration.get_lfs_word()Sets the lower address part (LAP) of the sync word for FHS packets. The length of LAP is 24 bits or 6 hexadecimal figures.
- Returns:
structure: for return value, see the help for LfsWordStruct structure arguments.
- get_lt_address ( ) int
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:LTADdress value: int = driver.source.bb.btooth.pconfiguration.get_lt_address()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.
- Returns:
lt_address: integer
- get_pf_control ( ) BtoFlowCtrl
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:PFControl value: enums.BtoFlowCtrl = driver.source.bb.btooth.pconfiguration.get_pf_control()The command sets the FLOW bit in the payload (flow control per logical link) .
- Returns:
pf_control: STOP | GO
STOP: Indicates the stop of transmission of ACL packets before an additional amount of payload data is sent.
GO: Indicates the start of transmission of ACL packets after a new connection has been established.
- get_plength ( ) int
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:PLENgth value: int = driver.source.bb.btooth.pconfiguration.get_plength()Sets the packet length in symbols.
- Returns:
plength: integer
- get_slap ( ) bool
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:SLAP value: bool = driver.source.bb.btooth.pconfiguration.get_slap()Activates synchronization of the lower address part (LAP) of the sync word and Bluetooth device address.
- Returns:
state: 1 | ON | 0| OFF
- get_sns_value ( ) int
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:SNSValue value: int = driver.source.bb.btooth.pconfiguration.get_sns_value()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.
- Returns:
sns_value: integer
- get_sr_mode ( ) BtoScanReMode
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:SRMode value: enums.BtoScanReMode = driver.source.bb.btooth.pconfiguration.get_sr_mode()The command indicates the interval between two consecutive page scan windows, determines the behavior of the paging device.
- Returns:
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
# [SOURce<HW>]:BB:BTOoth:PCONfiguration:VDATa value: enums.DataSourceB = driver.source.bb.btooth.pconfiguration.get_vdata()Selects the data source for the voice field.
- Returns:
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