scapy.contrib.bluetooth_vsc_intel

class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Exception_Info(_pkt, /, *, exception=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')[source]

Bases: Packet

Exception Info (0xFC22) command complete: a fixed 12-byte exception string.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Exception_Info'>, <class 'scapy.packet.Packet'>]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<StrFixedLenField (HCI_Cmd_Complete_VSC_Intel_Exception_Info).exception>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params(_pkt, /, *, otp_format=0, otp_content=0, otp_patch=0, dev_revid=0, secure_boot=0, key_from_hdr=0, key_type=0, otp_lock=0, api_lock=0, debug_lock=0, otp_bdaddr=None, min_fw_build_nn=0, min_fw_build_cw=0, min_fw_build_yy=0, limited_cce=0, unlocked_state=0)[source]

Bases: Packet

Read Boot Params (0xFC0D) command complete.

Reports the secure-boot / OTP / API / debug lock state.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params'>, <class 'scapy.packet.Packet'>]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).otp_format>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).otp_content>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).otp_patch>, <LEShortField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).dev_revid>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).secure_boot>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).key_from_hdr>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).key_type>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).otp_lock>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).api_lock>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).debug_lock>, <LEMACField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).otp_bdaddr>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).min_fw_build_nn>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).min_fw_build_cw>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).min_fw_build_yy>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).limited_cce>, <ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Boot_Params).unlocked_state>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Read_Debug_Features(_pkt, /, *, page_no=1, page1=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')[source]

Bases: Packet

Read Debug Features (0xFCA6) command complete.

page1 is the 128-bit feature mask. page1[0] & 0x3f gates coredump and telemetry.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Read_Debug_Features'>, <class 'scapy.packet.Packet'>]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<ByteField (HCI_Cmd_Complete_VSC_Intel_Read_Debug_Features).page_no>, <StrFixedLenField (HCI_Cmd_Complete_VSC_Intel_Read_Debug_Features).page1>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Read_Version(_pkt, /, *, tlvs=[])[source]

Bases: Packet

Read Version (0xFC05) command complete.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Read_Version'>, <class 'scapy.packet.Packet'>]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<PacketListField (HCI_Cmd_Complete_VSC_Intel_Read_Version).tlvs>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Version_TLV(_pkt, /, *, type=0, len=None, value=b'')[source]

Bases: Packet

One intel_version_tlv record: type, length, value.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_Complete_VSC_Intel_Version_TLV'>, <class 'scapy.packet.Packet'>]
extract_padding(s)[source]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<ByteEnumField (HCI_Cmd_Complete_VSC_Intel_Version_TLV).type>, <FieldLenField (HCI_Cmd_Complete_VSC_Intel_Version_TLV).len>, <XStrLenField (HCI_Cmd_Complete_VSC_Intel_Version_TLV).value>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Exception_Info(_pkt, /, *, type=0)[source]

Bases: Packet

Intel Exception Info (OCF 0x022, opcode 0xFC22).

Issued by the driver after a hardware-error event to fetch the exception string.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Exception_Info'>, <class 'scapy.packet.Packet'>]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<ByteEnumField (HCI_Cmd_VSC_Intel_Exception_Info).type>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Read_Boot_Params(_pkt, /)[source]

Bases: Packet

Intel Read Boot Params (OCF 0x00D, opcode 0xFC0D). Empty body.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Read_Boot_Params'>, <class 'scapy.packet.Packet'>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Read_Debug_Features(_pkt, /, *, page_no=1)[source]

Bases: Packet

Intel Read Debug Features (OCF 0x0A6, opcode 0xFCA6).

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Read_Debug_Features'>, <class 'scapy.packet.Packet'>]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<ByteField (HCI_Cmd_VSC_Intel_Read_Debug_Features).page_no>]
class scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Read_Version(_pkt, /, *, param=255)[source]

Bases: Packet

Intel Read Version (OCF 0x005, opcode 0xFC05).

An empty param requests the legacy fixed reply. A param=0xFF requests the TLV reply used by modern CNVi controllers.

aliastypes = [<class 'scapy.contrib.bluetooth_vsc_intel.HCI_Cmd_VSC_Intel_Read_Version'>, <class 'scapy.packet.Packet'>]
fields_desc: ClassVar[List[Field[Any, Any] | _FieldContainer]] = [<ByteField (HCI_Cmd_VSC_Intel_Read_Version).param>]