scapy.layers.ir

IrDA infrared data communication.

class scapy.layers.ir.IrLAPCommand

Bases: scapy.packet.Packet

aliastypes
fields_desc
IrLAPCommand fields

Control

XByteField

0

Format identifier

XByteField

0

Source address

XIntField

0

Destination address

XIntField

4294967295

Discovery flags

XByteField

1

Slot number

ByteEnumField

255

Version

XByteField

0

payload_guess

Possible sublayers: IrLMP

class scapy.layers.ir.IrLAPHead

Bases: scapy.packet.Packet

aliastypes
fields_desc
IrLAPHead fields

Address

XBitField (7 bits)

127

Type

BitEnumField (1 bit)

1

payload_guess

Possible sublayers: IrLAPCommand

class scapy.layers.ir.IrLMP

Bases: scapy.packet.Packet

aliastypes
fields_desc
IrLMP fields

Service hints

XShortField

0

Character set

XByteField

0

Device name

StrField

b''