scapy.contrib.altbeacon

scapy.contrib.altbeacon-AltBeacon蓝牙LE邻近信标.

可以在以下位置找到AltBeacon规范: https//github.com/AltBeacon/spec

class scapy.contrib.altbeacon.AltBeacon

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

AltBeacon广播帧类型.

https://github.com/AltBeacon/spec

aliastypes
build_eir()

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

fields_desc
AltBeacon字段

header

StrFixedLenField

b'\xbe\xac'

id1

UUIDField

None

id2

ShortField

None

id3

ShortField

None

tx_power

SignedByteField

None

mfg_reserved

ByteField

None

magic = b'\xbe\xac'
classmethod magic_check(payload)

检查给定的有效载荷是否适合我们(从我们的魔术字符串开始).