Audio

SCPI Commands

SENSe:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:LINFo
class Audio[source]

Audio commands group definition. 1 total commands, 0 Sub-groups, 1 group commands

class LinfoStruct[source]

Structure for reading output parameters. Fields:

  • Speech_Code: enums.SpeechCode: CVSD | ALAW | ULAW | MSBC CVSD (8 kHz) , A-law (8 kHz) , μ-law (8 kHz) , or mSBC (16 kHz) codec

  • Link_Type: enums.VoiceLinkType: SCO | ESCO Synchronous connection-oriented (SCO) or enhanced synchronous connection-oriented (eSCO) link

  • Packet_Type: enums.PacketTypeEsco: HV1 | HV2 | HV3 | EV3 | EV4 | EV5 | 2EV3 | 3EV3 | 2EV5 | 3EV5 HV1: SCO packets high-quality voice, 1/3 rate FEC HV2: SCO packets high-quality voice, 2/3 rate FEC HV3: SCO packets high-quality voice, no FEC EV3, EV4, EV5: eSCO packets on the top of BR ACL connection 2EV3, 3EV3, 2EV5, 3EV5: eSCO packets on the top of EDR ACL connection (2-EV3, 3-EV3, 2-EV5, 3-EV5 packets)

  • Sample_Rate: float: float Range: 0 kHz to 999 kHz

  • Data_Rate: int: decimal Range: 0 kbit/s to 9999 kbit/s

get_linfo()LinfoStruct[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:CONNection:AUDio:LINFo
value: LinfoStruct = driver.sense.connection.audio.get_linfo()

Queries the parameters of active audio connection.

return

structure: for return value, see the help for LinfoStruct structure arguments.