scapy.layers.ir

IrDA红外数据通信.

class scapy.layers.ir.IrLAPCommand

Bases: scapy.packet.Packet

aliastypes
fields_desc
IrLAPCommand字段

Control

XByteField

0

格式识别

XByteField

0

源地址

XIntField

0

目的地址

XIntField

4294967295

发现标志

XByteField

1

插槽号

ByteEnumField

255

Version

XByteField

0

payload_guess

可能的子层: IrLMP

class scapy.layers.ir.IrLAPHead

Bases: scapy.packet.Packet

aliastypes
fields_desc
IrLAPHead字段

Address

XBitField (7位)

127

Type

BitEnumField (1位)

1

payload_guess

可能的子层: IrLAPCommand

class scapy.layers.ir.IrLMP

Bases: scapy.packet.Packet

aliastypes
fields_desc
IrLMP字段

服务提示

XShortField

0

字符集

XByteField

0

设备名称

StrField

b''