A2Dp

SCPI Commands

CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:ACCSlave
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:BITRate
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:MAXBitpool
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:MINBitpool
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:ALCMethod
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:SUBBands
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:BLKLength
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:CHMode
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:SMPFrequency
CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:CODec
class A2Dp[source]

A2Dp commands group definition. 10 total commands, 0 Sub-groups, 10 group commands

get_acc_slave()bool[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:ACCSlave
value: bool = driver.configure.connection.audio.a2Dp.get_acc_slave()

Allows the EUT to take control of the establishment of the A2DP connection when the R&S CMW acts as the slave.

return

assume_acceptor_role_in_slave_mode: OFF | ON

get_alc_method()RsCmwBluetoothSig.enums.AllocMethod[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:ALCMethod
value: enums.AllocMethod = driver.configure.connection.audio.a2Dp.get_alc_method()

Defines the algorithm used to calculate the no. of allocated bits to represent each subband sample.

return

allocation_method: LOUDness | SNR

get_bitrate()int[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:BITRate
value: int = driver.configure.connection.audio.a2Dp.get_bitrate()

Queries the bit rate calculated from the A2DP audio link parameters.

return

bitrate: decimal Unit: bit/s

get_blk_length()RsCmwBluetoothSig.enums.BlockLength[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:BLKLength
value: enums.BlockLength = driver.configure.connection.audio.a2Dp.get_blk_length()

Specifies the number of blocks of audio samples that are encoded in a single SBC frame.

return

block_length: BL4 | BL8 | BL12 | BL16 4, 8, 12, 16 blocks

get_chmode()RsCmwBluetoothSig.enums.AudioChannelMode[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:CHMode
value: enums.AudioChannelMode = driver.configure.connection.audio.a2Dp.get_chmode()

Specifies channel mode.

return

channel_mode: MONO | DUAL | STEReo | JSTereo Mono, dual, stereo, joint stereo

get_codec()RsCmwBluetoothSig.enums.AudioCodec[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:CODec
value: enums.AudioCodec = driver.configure.connection.audio.a2Dp.get_codec()

Specifies A2DP codec.

return

codec: SBC Only subband coding is supported

get_max_bit_pool()int[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:MAXBitpool
value: int = driver.configure.connection.audio.a2Dp.get_max_bit_pool()

Specifies maximum bitpool value.

return

maximum_bitpool: numeric Range: 8 to 250

get_min_bit_pool()int[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:MINBitpool
value: int = driver.configure.connection.audio.a2Dp.get_min_bit_pool()

Specifies minimum bitpool value.

return

minimum_bitpool: numeric Range: 2 to 18

get_smp_frequency()RsCmwBluetoothSig.enums.SamplingFrequency[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:SMPFrequency
value: enums.SamplingFrequency = driver.configure.connection.audio.a2Dp.get_smp_frequency()

Specifies the sampling frequency.

return

sampling_frequency: SF16 | SF32 | SF441 | SF48 16 kHz, 32 kHz, 44.1 kHz, 48 kHz

get_sub_bands()RsCmwBluetoothSig.enums.SubBands[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:SUBBands
value: enums.SubBands = driver.configure.connection.audio.a2Dp.get_sub_bands()

Specifies the number of subbands used by generated signal.

return

sub_bands: SB4 | SB8 Subband 4 or 8

set_acc_slave(assume_acceptor_role_in_slave_mode: bool)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:ACCSlave
driver.configure.connection.audio.a2Dp.set_acc_slave(assume_acceptor_role_in_slave_mode = False)

Allows the EUT to take control of the establishment of the A2DP connection when the R&S CMW acts as the slave.

param assume_acceptor_role_in_slave_mode

OFF | ON

set_alc_method(allocation_method: RsCmwBluetoothSig.enums.AllocMethod)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:ALCMethod
driver.configure.connection.audio.a2Dp.set_alc_method(allocation_method = enums.AllocMethod.LOUDness)

Defines the algorithm used to calculate the no. of allocated bits to represent each subband sample.

param allocation_method

LOUDness | SNR

set_blk_length(block_length: RsCmwBluetoothSig.enums.BlockLength)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:BLKLength
driver.configure.connection.audio.a2Dp.set_blk_length(block_length = enums.BlockLength.BL12)

Specifies the number of blocks of audio samples that are encoded in a single SBC frame.

param block_length

BL4 | BL8 | BL12 | BL16 4, 8, 12, 16 blocks

set_chmode(channel_mode: RsCmwBluetoothSig.enums.AudioChannelMode)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:CHMode
driver.configure.connection.audio.a2Dp.set_chmode(channel_mode = enums.AudioChannelMode.DUAL)

Specifies channel mode.

param channel_mode

MONO | DUAL | STEReo | JSTereo Mono, dual, stereo, joint stereo

set_codec(codec: RsCmwBluetoothSig.enums.AudioCodec)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:CODec
driver.configure.connection.audio.a2Dp.set_codec(codec = enums.AudioCodec.SBC)

Specifies A2DP codec.

param codec

SBC Only subband coding is supported

set_max_bit_pool(maximum_bitpool: int)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:MAXBitpool
driver.configure.connection.audio.a2Dp.set_max_bit_pool(maximum_bitpool = 1)

Specifies maximum bitpool value.

param maximum_bitpool

numeric Range: 8 to 250

set_min_bit_pool(minimum_bitpool: int)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:MINBitpool
driver.configure.connection.audio.a2Dp.set_min_bit_pool(minimum_bitpool = 1)

Specifies minimum bitpool value.

param minimum_bitpool

numeric Range: 2 to 18

set_smp_frequency(sampling_frequency: RsCmwBluetoothSig.enums.SamplingFrequency)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:SMPFrequency
driver.configure.connection.audio.a2Dp.set_smp_frequency(sampling_frequency = enums.SamplingFrequency.SF16)

Specifies the sampling frequency.

param sampling_frequency

SF16 | SF32 | SF441 | SF48 16 kHz, 32 kHz, 44.1 kHz, 48 kHz

set_sub_bands(sub_bands: RsCmwBluetoothSig.enums.SubBands)None[source]
# SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:A2DP:SUBBands
driver.configure.connection.audio.a2Dp.set_sub_bands(sub_bands = enums.SubBands.SB4)

Specifies the number of subbands used by generated signal.

param sub_bands

SB4 | SB8 Subband 4 or 8