scapy.layers.zigbee
ZigBee bindings for IEEE 802.15.4.
- class scapy.layers.zigbee.LinkStatusEntry(_pkt, /, *, neighbor_network_address=0, reserved1=0, outgoing_cost=0, reserved2=0, incoming_cost=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEIGHBOR NETWORK ADDRESS |R|OUTGO|R|INCOM| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. LinkStatusEntryLinkStatusEntry fields neighbor_network_address
0reserved1
BitField(1 bit)0outgoing_cost
BitField(3 bits)0reserved2
BitField(1 bit)0incoming_cost
BitField(3 bits)0
- class scapy.layers.zigbee.ZCLAttributeReport(_pkt, /, *, attribute_identifier=0, attribute_data_type=0, attribute_data=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ATTRIBUTE IDENTIFIER |ATTRIBUTE DATA | ATTRIBUTE DATA| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ZCLAttributeReportZCLAttributeReport fields attribute_identifier
0attribute_data_type
0attribute_data
_DiscreteStringb''
- class scapy.layers.zigbee.ZCLConfigureReportingRecord(_pkt, /, *, attribute_direction=0, attribute_identifier=0, attribute_data_type=0, min_reporting_interval=0, max_reporting_interval=0, reportable_change=b'', timeout_period=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |ATTRIBUTE DIREC| ATTRIBUTE IDENTIFIER |ATTRIBUTE DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MIN REPORTING INTERVAL | MAX REPORTING INTERVAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | REPORTABLE CHANGE | TIMEOUT PERIOD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLConfigureReportingRecordZCLConfigureReportingRecord fields attribute_direction
0attribute_identifier
0attribute_data_type
ByteEnumField(Cond)0min_reporting_interval
XLEShortField(Cond)0max_reporting_interval
XLEShortField(Cond)0reportable_change
_DiscreteString(Cond)b''timeout_period
XLEShortField(Cond)0
- class scapy.layers.zigbee.ZCLConfigureReportingResponseRecord(_pkt, /, *, status=0, attribute_direction=0, attribute_identifier=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STATUS |ATTRIBUTE DIREC| ATTRIBUTE IDENTIFIER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLConfigureReportingResponseRecordZCLConfigureReportingResponseRecord fields status
0attribute_direction
ByteField(Cond)0attribute_identifier
XLEShortField(Cond)0
- class scapy.layers.zigbee.ZCLGeneralConfigureReporting(_pkt, /, *, config_records=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CONFIG RECORDS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralConfigureReportingZCLGeneralConfigureReporting fields config_records
[]
- class scapy.layers.zigbee.ZCLGeneralConfigureReportingResponse(_pkt, /, *, status_records=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STATUS RECORDS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralConfigureReportingResponseZCLGeneralConfigureReportingResponse fields status_records
[]
- class scapy.layers.zigbee.ZCLGeneralDefaultResponse(_pkt, /, *, response_command_identifier=0, status=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RESPONSE COMMAN| STATUS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralDefaultResponseZCLGeneralDefaultResponse fields response_command_identifier
0status
0
- class scapy.layers.zigbee.ZCLGeneralReadAttributes(_pkt, /, *, attribute_identifiers=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ATTRIBUTE IDENTIFIERS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralReadAttributesZCLGeneralReadAttributes fields attribute_identifiers
[]
- class scapy.layers.zigbee.ZCLGeneralReadAttributesResponse(_pkt, /, *, read_attribute_status_record=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | READ ATTRIBUTE STATUS RECORD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralReadAttributesResponseZCLGeneralReadAttributesResponse fields read_attribute_status_record
[]
- class scapy.layers.zigbee.ZCLGeneralReportAttributes(_pkt, /, *, attribute_reports=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ATTRIBUTE REPORTS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralReportAttributesZCLGeneralReportAttributes fields attribute_reports
[]
- class scapy.layers.zigbee.ZCLGeneralWriteAttributes(_pkt, /, *, write_records=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | WRITE RECORDS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralWriteAttributesZCLGeneralWriteAttributes fields write_records
[]
- class scapy.layers.zigbee.ZCLGeneralWriteAttributesResponse(_pkt, /, *, status_records=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STATUS RECORDS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLGeneralWriteAttributesResponseZCLGeneralWriteAttributesResponse fields status_records
[]
- class scapy.layers.zigbee.ZCLIASZoneZoneEnrollRequest(_pkt, /, *, zone_type=0, manuf_code=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ZONE TYPE | MANUF CODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLIASZoneZoneEnrollRequestZCLIASZoneZoneEnrollRequest fields zone_type
0manuf_code
0
- class scapy.layers.zigbee.ZCLIASZoneZoneEnrollResponse(_pkt, /, *, rsp_code=0, zone_id=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RSP CODE | ZONE ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLIASZoneZoneEnrollResponseZCLIASZoneZoneEnrollResponse fields rsp_code
0zone_id
0
- class scapy.layers.zigbee.ZCLIASZoneZoneStatusChangeNotification(_pkt, /, *, zone_status=b'\x00\x00', extended_status=b'\x00', zone_id=0, delay=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ZONE STATUS |EXTENDED STATUS| ZONE ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DELAY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLIASZoneZoneStatusChangeNotificationZCLIASZoneZoneStatusChangeNotification fields zone_status
b'\x00\x00'extended_status
b'\x00'zone_id
0delay
0
- class scapy.layers.zigbee.ZCLMeteringGetProfile(_pkt, /, *, Interval_Channel=0, End_Time=0, NumberOfPeriods=1)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |INTERVAL CHANNE| END TIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |NUMBEROFPERIODS| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLMeteringGetProfileZCLMeteringGetProfile fields Interval_Channel
0End_Time
0NumberOfPeriods
1
- class scapy.layers.zigbee.ZCLPriceGetCurrentPrice(_pkt, /, *, reserved=0, Requestor_Rx_On_When_Idle=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED |R| +-+-+-+-+-+-+-+-+ Fig. ZCLPriceGetCurrentPriceZCLPriceGetCurrentPrice fields reserved
BitField(7 bits)0Requestor_Rx_On_When_Idle
BitField(1 bit)0
- class scapy.layers.zigbee.ZCLPriceGetScheduledPrices(_pkt, /, *, start_time=0, number_of_events=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | START TIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |NUMBER OF EVENT| +-+-+-+-+-+-+-+-+ Fig. ZCLPriceGetScheduledPricesZCLPriceGetScheduledPrices fields start_time
0number_of_events
0
- class scapy.layers.zigbee.ZCLPricePublishPrice(_pkt, /, *, provider_id=0, rate_label=b'', issuer_event_id=0, current_time=0, unit_of_measure=0, currency=0, price_trailing_digit=0, number_of_price_tiers=0, start_time=0, duration_in_minutes=0, price=0, price_ratio=0, generation_price=0, generation_price_ratio=0, alternate_cost_delivered=0, alternate_cost_unit=0, alternate_cost_trailing_digit=0, number_of_block_thresholds=0, price_control=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PROVIDER ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RATE LABEL | ISSUER EVENT ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | CURRENT TIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |UNIT OF MEASURE| CURRENCY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |PRICE TRAILING |NUMBER OF PRICE| START TIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |DURATION IN MIN| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PRICE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PRICE RATIO | GENERATION PRICE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |GENERATION PRIC|ALTERNATE COST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |ALTERNATE COST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |ALTERNATE COST |NUMBER OF BLOCK| PRICE CONTROL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLPricePublishPriceZCLPricePublishPrice fields provider_id
0rate_label
b''issuer_event_id
0current_time
0unit_of_measure
0currency
0price_trailing_digit
0number_of_price_tiers
0start_time
0duration_in_minutes
0price
0price_ratio
0generation_price
0generation_price_ratio
0alternate_cost_delivered
0alternate_cost_unit
0alternate_cost_trailing_digit
0number_of_block_thresholds
0price_control
0
- class scapy.layers.zigbee.ZCLReadAttributeStatusRecord(_pkt, /, *, attribute_identifier=0, status=0, attribute_data_type=0, attribute_value=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ATTRIBUTE IDENTIFIER | STATUS |ATTRIBUTE DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ATTRIBUTE VALUE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLReadAttributeStatusRecordZCLReadAttributeStatusRecord fields attribute_identifier
0status
0attribute_data_type
ByteEnumField(Cond)0attribute_value
_DiscreteString(Cond)b''
- class scapy.layers.zigbee.ZCLWriteAttributeRecord(_pkt, /, *, attribute_identifier=0, attribute_data_type=0, attribute_data=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ATTRIBUTE IDENTIFIER |ATTRIBUTE DATA | ATTRIBUTE DATA| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ZCLWriteAttributeRecordZCLWriteAttributeRecord fields attribute_identifier
0attribute_data_type
0attribute_data
_DiscreteStringb''
- class scapy.layers.zigbee.ZCLWriteAttributeStatusRecord(_pkt, /, *, status=0, attribute_identifier=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STATUS | ATTRIBUTE IDENTIFIER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZCLWriteAttributeStatusRecordZCLWriteAttributeStatusRecord fields status
0attribute_identifier
XLEShortField(Cond)0
- class scapy.layers.zigbee.ZDPActiveEPReq(_pkt, /, *, nwk_addr=0)[源代码]
基类:
Packet- aliastypes
- class scapy.layers.zigbee.ZDPDeviceAnnce(_pkt, /, *, nwk_addr=0, ieee_addr=0, allocate_address=0, security_capability=0, reserved2=0, reserved1=0, receiver_on_when_idle=0, power_source=0, device_type=0, alternate_pan_coordinator=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NWK ADDR | IEEE ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |A|S|R|R|R|P|D|A| +-+-+-+-+-+-+-+-+ Fig. ZDPDeviceAnnceZDPDeviceAnnce fields nwk_addr
0ieee_addr
0allocate_address
BitField(1 bit)0security_capability
BitField(1 bit)0reserved2
BitField(1 bit)0reserved1
BitField(1 bit)0receiver_on_when_idle
BitField(1 bit)0power_source
BitField(1 bit)0device_type
BitField(1 bit)0alternate_pan_coordinator
BitField(1 bit)0
- class scapy.layers.zigbee.ZEP1(_pkt, /, *, preamble=b'EX', ver=0, channel=0, device=0, lqi_mode=0, lqi_val=0, res=0, len=0)[源代码]
基类:
ZEP2- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PREAMBLE | VER | CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DEVICE | LQI MODE | LQI VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RES | + +-+-+-+-+-+-+-+-+ | | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZEP1ZEP1 fields preamble
b'EX'ver
0channel
0device
0lqi_mode
0lqi_val
0res
BitField(56 bits)0len
0
- class scapy.layers.zigbee.ZEP2(_pkt, /, *, preamble=b'EX', ver=0, type=0, channel=0, device=0, lqi_mode=1, lqi_val=0, timestamp=0, seq=0, res=0, length=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PREAMBLE | VER | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL | DEVICE | LQI MODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LQI VAL | TIMESTAMP | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SEQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RES | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+ | | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZEP2ZEP2 fields preamble
b'EX'ver
0type
0channel
0device
0lqi_mode
1lqi_val
0timestamp
TimeStampField(64 bits)0seq
0res
BitField(80 bits)0length
0
- class scapy.layers.zigbee.ZigBeeBeacon(_pkt, /, *, proto_id=0, nwkc_protocol_version=0, stack_profile=0, end_device_capacity=0, device_depth=0, router_capacity=0, reserved=0, extended_pan_id=0, tx_offset=0, update_id=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PROTO ID |NWKC PR|STACK P|E|DEVICE |R|RES|EXTENDED PAN ID| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TX OFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | UPDATE ID | +-+-+-+-+-+-+-+-+ Fig. ZigBeeBeaconZigBeeBeacon fields proto_id
0nwkc_protocol_version
BitField(4 bits)0stack_profile
BitField(4 bits)0end_device_capacity
BitField(1 bit)0device_depth
BitField(4 bits)0router_capacity
BitField(1 bit)0reserved
BitField(2 bits)0extended_pan_id
0tx_offset
BitField(24 bits)0update_id
0
- class scapy.layers.zigbee.ZigbeeAppCommandPayload(_pkt, /, *, cmd_identifier=1, initiator=0, responder=0, data=0, status=0, key_type=0, address=0, key=None, key_seqnum=0, dest_addr=0, src_addr=0, partner_addr=0, initiator_flag=0, short_address=0, update_status=0, seqnum=None, unimplemented=b'', frame_control=<Flag 2 (security)>, delivery_mode=0, aps_frametype=1, counter=0, key_hash=None)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CMD IDENTIFIER| INITIATOR | RESPONDER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | DATA | +-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | STATUS | KEY TYPE | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | KEY | +-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | KEY SEQNUM | DEST ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SRC ADDR | PARTNER ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INITIATOR FLAG| SHORT ADDRESS | UPDATE STATUS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEQNUM | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | UNIMPLEMENTED |FRAME C|DEL|APS| COUNTER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | KEY HASH | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZigbeeAppCommandPayloadZigbeeAppCommandPayload fields cmd_identifier
1initiator
dot15d4AddressField(Cond)0responder
dot15d4AddressField(Cond)0data
StrFixedLenField(Cond)0status
ByteEnumField(Cond)0key_type
ByteEnumField(Cond)0address
dot15d4AddressField(Cond)0key
StrFixedLenField(Cond)Nonekey_seqnum
ByteField(Cond)0dest_addr
dot15d4AddressField(Cond)0src_addr
dot15d4AddressField(Cond)0partner_addr
dot15d4AddressField(Cond)0initiator_flag
ByteField(Cond)0short_address
XLEShortField(Cond)0update_status
ByteField(Cond)0seqnum
StrFixedLenField(Cond)Noneunimplemented
StrField(Cond)b''frame_control
FlagsField(Cond)<Flag 2 (security)>delivery_mode
BitEnumField(Cond)0aps_frametype
BitEnumField(Cond)1counter
ByteField(Cond)0key_hash
StrFixedLenField(Cond)None
- class scapy.layers.zigbee.ZigbeeAppDataPayload(_pkt, /, *, frame_control=<Flag 2 (security)>, delivery_mode=0, aps_frametype=0, dst_endpoint=10, group_addr=0, cluster=0, profile=0, src_endpoint=10, counter=0, fragmentation=0, block_number=0, ack_bitfield=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |FRAME C|DEL|APS| DST ENDPOINT | GROUP ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CLUSTER | PROFILE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SRC ENDPOINT | COUNTER | FRAGMENTATION | BLOCK NUMBER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ACK BITFIELD | +-+-+-+-+-+-+-+-+ Fig. ZigbeeAppDataPayloadZigbeeAppDataPayload fields frame_control
<Flag 2 (security)>delivery_mode
0aps_frametype
0dst_endpoint
ByteField(Cond)10group_addr
XLEShortField(Cond)0cluster
XLEShortField(Cond)0profile
EnumField(Cond)0src_endpoint
ByteField(Cond)10counter
0fragmentation
ByteEnumField(Cond)0block_number
ByteField(Cond)0ack_bitfield
ByteField(Cond)0
- payload_guess
Possible sublayers:
ZigbeeAppCommandPayload
- class scapy.layers.zigbee.ZigbeeAppDataPayloadStub(_pkt, /, *, frame_control=<Flag 0 ()>, delivery_mode=0, frametype=3, group_addr=0, cluster=0, profile=0, data=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |FRAME C|DEL|FRA| GROUP ADDR | CLUSTER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PROFILE | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ZigbeeAppDataPayloadStubZigbeeAppDataPayloadStub fields frame_control
<Flag 0 ()>delivery_mode
0frametype
BitField(2 bits)3group_addr
XLEShortField(Cond)0cluster
0profile
0data
StrField(Cond)b''
- class scapy.layers.zigbee.ZigbeeClusterLibrary(_pkt, /, *, reserved=0, disable_default_response=0, command_direction=0, manufacturer_specific=0, zcl_frametype=0, manufacturer_code=0, transaction_sequence=0, command_identifier=0)[源代码]
基类:
Packet- aliastypes
- deprecated_fields: Dict[str, Tuple[str, str]] = {'direction': ('command_direction', '2.5.0')}
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RESER|D|C|M|ZCL| MANUFACTURER CODE |TRANSACTION SEQ| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |COMMAND IDENTIF| +-+-+-+-+-+-+-+-+ Fig. ZigbeeClusterLibraryZigbeeClusterLibrary fields reserved
BitField(3 bits)0disable_default_response
BitField(1 bit)0command_direction
BitField(1 bit)0manufacturer_specific
BitField(1 bit)0zcl_frametype
0manufacturer_code
XLEShortField(Cond)0transaction_sequence
0command_identifier
0
- class scapy.layers.zigbee.ZigbeeDeviceProfile(_pkt, /, *, trans_seqnum=0)[源代码]
基类:
Packet- aliastypes
- class scapy.layers.zigbee.ZigbeeNWK(_pkt, /, *, discover_route=0, proto_version=2, frametype=0, flags=<Flag 0 ()>, destination=0, source=0, radius=0, seqnum=1, ext_dst=0, ext_src=0, relay_count=1, relay_index=0, relays=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |DIS|PROTO V|FRA| FLAGS | DESTINATION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SOURCE | RADIUS | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EXT DST | EXT SRC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RELAY COUNT | RELAY INDEX | RELAYS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZigbeeNWKZigbeeNWK fields discover_route
BitField(2 bits)0proto_version
BitField(4 bits)2frametype
0flags
<Flag 0 ()>destination
0source
0radius
0seqnum
1ext_dst
dot15d4AddressField(Cond)0ext_src
dot15d4AddressField(Cond)0relay_count
ByteField(Cond)1relay_index
ByteField(Cond)0relays
FieldListField(Cond)[]
- class scapy.layers.zigbee.ZigbeeNWKCommandPayload(_pkt, /, *, cmd_identifier=1, res1=0, multicast=0, dest_addr_bit=0, many_to_one=0, res2=0, responder_addr_bit=0, originator_addr_bit=0, res3=0, route_request_identifier=0, originator_address=0, responder_address=0, status_code=0, destination_address=0, path_cost=0, ext_dst=0, originator_addr=0, responder_addr=0, remove_children=0, request=0, rejoin=0, res4=0, rr_relay_count=0, rr_relay_list=[], allocate_address=0, security_capability=0, reserved2=0, reserved1=0, receiver_on_when_idle=0, power_source=0, device_type=0, alternate_pan_coordinator=0, network_address=65535, rejoin_status=0, res5=0, last_frame=0, first_frame=0, entry_count=0, link_status_list=[], report_command_identifier=0, report_information_count=0, update_command_identifier=0, update_information_count=0, epid=0, PAN_ID_conflict_report=[], update_id=0, new_PAN_ID=0, req_timeout=3, ed_conf=0, status=0, res6=0, ed_timeout_req_keepalive=0, mac_data_poll_keepalive=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CMD IDENTIFIER|R|M|D|MAN| RES2|R|O| RES3 |ROUTE REQUEST I|ORI| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RESPONDER ADDRESS |STA| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | DESTINATION ADDRESS | PATH COST |EXT| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ORIGINATOR ADDR |RES| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |R|R|R| RES4 | RR RELAY COUNT|RR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |A|S|R|R|R|P|D|A| NETWORK ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | REJOIN STATUS |R|L|F|ENTRY COU| LINK STATUS LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |REPOR|REPORT IN|UPDAT|UPDATE IN| EPID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PAN ID CONFLICT REPORT | UPDATE ID |NEW| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | REQ TIMEOUT | ED CONF |STA| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RES6 |E|M| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZigbeeNWKCommandPayloadZigbeeNWKCommandPayload fields cmd_identifier
1res1
BitField(Cond) (1 bit)0multicast
BitField(Cond) (1 bit)0dest_addr_bit
BitField(Cond) (1 bit)0many_to_one
BitEnumField(Cond)0res2
BitField(Cond) (3 bits)0responder_addr_bit
BitField(Cond) (1 bit)0originator_addr_bit
BitField(Cond) (1 bit)0res3
BitField(Cond) (4 bits)0route_request_identifier
ByteField(Cond)0originator_address
XLEShortField(Cond)0responder_address
XLEShortField(Cond)0status_code
ByteEnumField(Cond)0destination_address
XLEShortField(Cond)0path_cost
ByteField(Cond)0ext_dst
dot15d4AddressField(Cond)0originator_addr
dot15d4AddressField(Cond)0responder_addr
dot15d4AddressField(Cond)0remove_children
BitField(Cond) (1 bit)0request
BitField(Cond) (1 bit)0rejoin
BitField(Cond) (1 bit)0res4
BitField(Cond) (5 bits)0rr_relay_count
ByteField(Cond)0rr_relay_list
FieldListField(Cond)[]allocate_address
BitField(Cond) (1 bit)0security_capability
BitField(Cond) (1 bit)0reserved2
BitField(Cond) (1 bit)0reserved1
BitField(Cond) (1 bit)0receiver_on_when_idle
BitField(Cond) (1 bit)0power_source
BitField(Cond) (1 bit)0device_type
BitField(Cond) (1 bit)0alternate_pan_coordinator
BitField(Cond) (1 bit)0network_address
XLEShortField(Cond)65535rejoin_status
ByteField(Cond)0res5
BitField(Cond) (1 bit)0last_frame
BitField(Cond) (1 bit)0first_frame
BitField(Cond) (1 bit)0entry_count
BitField(Cond) (5 bits)0link_status_list
PacketListField(Cond)[]report_command_identifier
BitEnumField(Cond)0report_information_count
BitField(Cond) (5 bits)0update_command_identifier
BitEnumField(Cond)0update_information_count
BitField(Cond) (5 bits)0epid
dot15d4AddressField(Cond)0PAN_ID_conflict_report
FieldListField(Cond)[]update_id
ByteField(Cond)0new_PAN_ID
XLEShortField(Cond)0req_timeout
ByteEnumField(Cond)3ed_conf
ByteField(Cond)0status
ByteEnumField(Cond)0res6
BitField(Cond) (6 bits)0ed_timeout_req_keepalive
BitField(Cond) (1 bit)0mac_data_poll_keepalive
BitField(Cond) (1 bit)0
- class scapy.layers.zigbee.ZigbeeNWKStub(_pkt, /, *, res1=0, proto_version=2, frametype=3, res2=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RES|PROTO V|FRA| RES2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZigbeeNWKStubZigbeeNWKStub fields res1
BitField(2 bits)0proto_version
BitField(4 bits)2frametype
BitField(2 bits)3res2
BitField(8 bits)0
- class scapy.layers.zigbee.ZigbeeSecurityHeader(_pkt, /, *, reserved1=<Flag 0 ()>, extended_nonce=1, key_type=1, nwk_seclevel=0, fc=0, source=0, key_seqnum=0, data=b'', mic=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RES|E|KEY|NWK S| FC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SOURCE | KEY SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | MIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ZigbeeSecurityHeaderZigbeeSecurityHeader fields reserved1
<Flag 0 ()>extended_nonce
BitField(1 bit)1key_type
1nwk_seclevel
0fc
0source
dot15d4AddressField(Cond)0key_seqnum
ByteField(Cond)0data
b''mic
b''