scapy.contrib.ibeacon

scapy.contrib.ibeacon-苹果iBeacon蓝牙LE邻近信标.

数据包格式文档可在以下位置找到:

class scapy.contrib.ibeacon.Apple_BLE_Frame

Bases: scapy.packet.Packet, scapy.layers.bluetooth.LowEnergyBeaconHelper

Apple设备的BLE制造商特定数据广告的包装.

每个广告由一个或多个子消息组成.

该字段的长度来自EIR_Hdr.

aliastypes
build_eir()

建立EIR消息列表以包装此框架.

fields_desc
Apple_BLE_Frame字段

plist

PacketListField

[]

class scapy.contrib.ibeacon.Apple_BLE_Submessage

Bases: scapy.packet.Packet, scapy.layers.bluetooth.LowEnergyBeaconHelper

基本的Apple子消息.

aliastypes
build_eir()

请参阅Apple_BLE_Frame.build_eir.

build_frame()

将此子消息包装在Apple_BLE_Frame中.

extract_padding(s)
fields_desc
Apple_BLE_Submessage字段

subtype

ByteEnumField

None

len

LenField

None

payload_guess

可能的子层: IBeacon_Data

class scapy.contrib.ibeacon.IBeacon_Data

Bases: scapy.packet.Packet

iBeacon广播数据帧. 构成在Apple_BLE_Submessage的顶部.

aliastypes
fields_desc
IBeacon_Data字段

uuid

UUIDField

None

major

ShortField

None

minor

ShortField

None

tx_power

SignedByteField

None