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
class PconfigurationCls[source]

Pconfiguration commands group definition. 25 total commands, 6 Subgroups, 15 group commands

get_acknowledgement() BtoAckNldgmt[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:ACKNowledgement
value: enums.BtoAckNldgmt = driver.source.bb.btooth.pconfiguration.get_acknowledgement()

Sets the ARQN bit of the packet header..

return:

acknowledgement: NAK| ACK NAK Request to retransmit the previous payload. ACK Previous payload has been received successfully.

get_byte_interleaving() bool[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:BYTEInterleaving
value: bool = driver.source.bb.btooth.pconfiguration.get_byte_interleaving()

No command help available

return:

state: No help available

get_dlength() int[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:DLENgth
value: int = driver.source.bb.btooth.pconfiguration.get_dlength()

Sets the payload data length in bytes.

return:

dlength: integer Range: 0 to depends on packet type

get_dsf_packet() BtoDataSourForPck[source]
# SCPI: [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.

return:

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]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:DWHitening
value: bool = driver.source.bb.btooth.pconfiguration.get_dwhitening()

Activates the ‘Data Whitening’.

return:

dwhitening: 1| ON| 0| OFF

get_eir_packet_follows() YesNoStatus[source]
# SCPI: [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.

return:

eir_packet_follow: YES| NO YES Indicates that EIR packet follows. NO Indicates that EIR packet does not follow.

get_hf_control() BtoFlowCtrl[source]
# SCPI: [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 start or stop of transmission of packets over the ACL logical transport.

return:

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[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:HRINterleav
value: int = driver.source.bb.btooth.pconfiguration.get_hr_interleav()

No command help available

return:

hr_interleaving: No help available

get_lt_address() int[source]
# SCPI: [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.

return:

lt_address: integer Range: 0 to 7

get_pf_control() BtoFlowCtrl[source]
# SCPI: [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) .

return:

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[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:PLENgth
value: int = driver.source.bb.btooth.pconfiguration.get_plength()

Sets the packet length in symbols.

return:

plength: integer Range: 1 to depends on packet type

get_slap() bool[source]
# SCPI: [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.

return:

state: 1| ON| 0| OFF

get_sns_value() int[source]
# SCPI: [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.

return:

sns_value: integer Range: 0 to 1

get_sr_mode() BtoScanReMode[source]
# SCPI: [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.

return:

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]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:VDATa
value: enums.DataSourceB = driver.source.bb.btooth.pconfiguration.get_vdata()

Selects the data source for the voice field.

return:

vdata: ALL0| ALL1| PATTern| PN09| PN11| PN15| PN16| PN20| PN21| PN23| DLISt

set_acknowledgement(acknowledgement: BtoAckNldgmt) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:ACKNowledgement
driver.source.bb.btooth.pconfiguration.set_acknowledgement(acknowledgement = enums.BtoAckNldgmt.ACK)

Sets the ARQN bit of the packet header..

param acknowledgement:

NAK| ACK NAK Request to retransmit the previous payload. ACK Previous payload has been received successfully.

set_byte_interleaving(state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:BYTEInterleaving
driver.source.bb.btooth.pconfiguration.set_byte_interleaving(state = False)

No command help available

param state:

No help available

set_dlength(dlength: int) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:DLENgth
driver.source.bb.btooth.pconfiguration.set_dlength(dlength = 1)

Sets the payload data length in bytes.

param dlength:

integer Range: 0 to depends on packet type

set_dsf_packet(dsf_packet: BtoDataSourForPck) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:DSFPacket
driver.source.bb.btooth.pconfiguration.set_dsf_packet(dsf_packet = enums.BtoDataSourForPck.ADATa)

Selects the data source for the selected packet type.

param 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.

set_dwhitening(dwhitening: bool) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:DWHitening
driver.source.bb.btooth.pconfiguration.set_dwhitening(dwhitening = False)

Activates the ‘Data Whitening’.

param dwhitening:

1| ON| 0| OFF

set_eir_packet_follows(eir_packet_follow: YesNoStatus) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:EIRPacketfollows
driver.source.bb.btooth.pconfiguration.set_eir_packet_follows(eir_packet_follow = enums.YesNoStatus.NO)

Indicates that an extended inquiry response packet can follow.

param eir_packet_follow:

YES| NO YES Indicates that EIR packet follows. NO Indicates that EIR packet does not follow.

set_hf_control(hf_control: BtoFlowCtrl) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:HFControl
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.

param hf_control:

GO| STOP GO Allows the other devices to transmit new data. STOP Stops the other devices from transmitting data temporarily.

set_hr_interleav(hr_interleaving: int) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:HRINterleav
driver.source.bb.btooth.pconfiguration.set_hr_interleav(hr_interleaving = 1)

No command help available

param hr_interleaving:

No help available

set_lt_address(lt_address: int) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:LTADdress
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.

param lt_address:

integer Range: 0 to 7

set_pf_control(pf_control: BtoFlowCtrl) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:PFControl
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) .

param 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.

set_plength(plength: int) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:PLENgth
driver.source.bb.btooth.pconfiguration.set_plength(plength = 1)

Sets the packet length in symbols.

param plength:

integer Range: 1 to depends on packet type

set_slap(state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:SLAP
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.

param state:

1| ON| 0| OFF

set_sns_value(sns_value: int) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:SNSValue
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.

param sns_value:

integer Range: 0 to 1

set_sr_mode(sr_mode: BtoScanReMode) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:SRMode
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.

param 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.

set_vdata(vdata: DataSourceB) None[source]
# SCPI: [SOURce<HW>]:BB:BTOoth:PCONfiguration:VDATa
driver.source.bb.btooth.pconfiguration.set_vdata(vdata = enums.DataSourceB.ALL0)

Selects the data source for the voice field.

param vdata:

ALL0| ALL1| PATTern| PN09| PN11| PN15| PN16| PN20| PN21| PN23| DLISt

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.btooth.pconfiguration.clone()

Subgroups