Capability

SCPI Commands

SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:ESCO
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:SCLass
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:ENCRyption
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:PCONtrol
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:EPControl
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:PSAVing
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:CONNection
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:SCO
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:ACL
SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:LESignaling
class Capability[source]

Capability commands group definition. 11 total commands, 1 Sub-groups, 10 group commands

class AclStruct[source]

Structure for reading output parameters. Fields:

  • Fc_Lag: int: decimal Flow control lag Range: 0 to 7 , Unit: 256 bytes

  • Dh_3_Dm_3: bool: OFF | ON Three-slot packets

  • Dh_5_Dm_5: bool: OFF | ON Five-slot packets

  • Edr_3_Slot: bool: OFF | ON Three-slot EDR ACL packets

  • Edr_5_Slot: bool: OFF | ON Five-slot EDR ACL packets

  • Edr_2_Mbps: bool: OFF | ON EDR ACL 2 Mbit/s

  • Edr_3_Mbps: bool: OFF | ON EDR ACL 3 Mbit/s

class ConnectionStruct[source]

Structure for reading output parameters. Fields:

  • Page_Scan_Mode: enums.PageScanMode: 0X00 | 0X01 | 0X02 | 0X03 The page scan mode that is used for default page scan: 0X00: mandatory page scan mode 0X01: optional page scan mode I 0X02: optional page scan mode II 0X03: optional page scan mode III

  • Pg_Scan_Prd_Mode: enums.PageScanPeriodMode: P0 | P1 | P2 Page scan period mode

  • Pg_Scan_Rep_Mode: enums.PsrMode: R0 | R1 | R2 Page scan repetition mode

  • Pscheme: bool: OFF | ON ‘Optional paging scheme’ support

  • Slot_Offset: bool: OFF | ON ‘Slot offset’ support

  • Timing_Acc: bool: OFF | ON ‘Timing accuracy’ support

  • Switch: bool: OFF | ON ‘Switching between master and slave’ support

  • Rssi: bool: OFF | ON ‘Received signal strength indication’ support

class EscoStruct[source]

Structure for reading output parameters. Fields:

  • Ev_3_Packets: bool: OFF | ON EV3 packets

  • Ev_4_Packets: bool: OFF | ON EV4 packets

  • Ev_5_Packets: bool: OFF | ON EV5 packets

  • Three_Slot_Edr_Pck: bool: OFF | ON 2-EV5 / 3-EV5 packets over three slots

  • Edr_2_Mbps_Mode: bool: OFF | ON 2-EV3 / 2-EV5 packets

  • Edr_3_Mbps_Mode: bool: OFF | ON 3-EV3 / 3-EV5 packets

class LeSignalingStruct[source]

Structure for reading output parameters. Fields:

  • Device_Name: str: string LE device name

  • Le_Encryption: bool: OFF | ON Support of LE encryption

  • Conn_Param_Req: bool: OFF | ON Support of connection parameter request procedure

  • Ext_Rejection_Ind: bool: OFF | ON Support of extended rejection indication

  • Slave_Init_Feat_Ex: bool: OFF | ON Support of slave-initiated features exchange

  • Le_Ping: bool: OFF | ON Support of LE ping

  • Le_Data_Pk_Lex: bool: No parameter help available

  • Ll_Privacy: bool: OFF | ON Support of LL privacy

  • Ex_Scan_Filt_Pol: bool: OFF | ON Support of extended scanner filter policies

  • Le_2_Mphy: bool: OFF | ON Support of LE 2 Mbps PHY

  • Stab_Mod_Trans: bool: OFF | ON Support of stable modulation index for transmitter

  • Stab_Mod_Rec: bool: OFF | ON Support of stable modulation index for receiver

  • Le_Coded_Phy: bool: No parameter help available

  • Le_Ext_Adv: bool: OFF | ON Support of extended advertising

  • Le_Periodic_Adv: bool: No parameter help available

  • Chan_Sel_Alg_2: bool: OFF | ON Support of channel selection algorithm No. 2

  • Le_Power_Class_1: bool: No parameter help available

  • Min_Number_Used_Ch: bool: No parameter help available

class PsavingStruct[source]

Structure for reading output parameters. Fields:

  • Hold: bool: OFF | ON Hold mode

  • Sniff: bool: OFF | ON Sniff mode

  • Park: bool: OFF | ON Park mode

class ScoStruct[source]

Structure for reading output parameters. Fields:

  • Cqdd: bool: OFF | ON Channel quality driven data rate

  • Link: bool: OFF | ON SCO link

  • Ts_Data: bool: OFF | ON Transparent SCO data

  • Hv_2_P: bool: OFF | ON HV2 packets

  • Hv_3_P: bool: OFF | ON HV3 packets

  • Ulaw: bool: OFF | ON μ-law log

  • Alaw: bool: OFF | ON A-law log

  • Cvsd: bool: OFF | ON Continuous variable slope delta modulation

get_acl()AclStruct[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:ACL
value: AclStruct = driver.sense.eut.capability.get_acl()

Gets the ACL-related capabilities of the connected EUT. Except for the flow control lag, for each capability either OFF or ON is returned.

return

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

get_connection()ConnectionStruct[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:CONNection
value: ConnectionStruct = driver.sense.eut.capability.get_connection()

Gets the connection-related properties and capabilities of the connected EUT.

return

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

get_encryption()bool[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:ENCRyption
value: bool = driver.sense.eut.capability.get_encryption()

Queries whether the connected EUT supports encryption (OFF|ON)

return

encryption: OFF | ON

get_ep_control()bool[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:EPControl
value: bool = driver.sense.eut.capability.get_ep_control()

Queries whether the connected EUT supports enhanced power control (OFF|ON)

return

epower_control: OFF | ON

get_esco()EscoStruct[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:ESCO
value: EscoStruct = driver.sense.eut.capability.get_esco()

Gets the e-SCO-related capabilities of the connected EUT. For each capability, either OFF or ON is returned

return

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

get_le_signaling()LeSignalingStruct[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:LESignaling
value: LeSignalingStruct = driver.sense.eut.capability.get_le_signaling()

Queries capabilities retrieved from the EUT.

return

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

get_power_control()bool[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:PCONtrol
value: bool = driver.sense.eut.capability.get_power_control()

Queries whether the connected EUT supports legacy power control (OFF|ON)

return

power_control: OFF | ON

get_psaving()PsavingStruct[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:PSAVing
value: PsavingStruct = driver.sense.eut.capability.get_psaving()

Gets the power saving-related capabilities of the connected EUT. For each capability, either OFF or ON is returned

return

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

get_sclass()str[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:SCLass
value: str = driver.sense.eut.capability.get_sclass()

Gets the (major) service class of the connected EUT as specified in https://www.bluetooth. org/Technical/AssignedNumbers/baseband.htm.

return

service_class: string

get_sco()ScoStruct[source]
# SCPI: SENSe:BLUetooth:SIGNaling<Instance>:EUT:CAPability:SCO
value: ScoStruct = driver.sense.eut.capability.get_sco()

Gets the SCO-related capabilities of the connected EUT. For each capability, either OFF or ON is returned

return

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

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.sense.eut.capability.clone()

Subgroups