MCPcopy Index your code
hub / github.com/secdev/scapy / ATT_Handle_Variable

Class ATT_Handle_Variable

scapy/layers/bluetooth.py:735–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

733
734
735class ATT_Handle_Variable(Packet):
736 __slots__ = ["val_length"]
737 fields_desc = [XLEShortField("handle", 0),
738 XStrLenField(
739 "value", 0,
740 length_from=lambda pkt: pkt.val_length)]
741
742 def __init__(self, _pkt=b"", val_length=2, **kwargs):
743 self.val_length = val_length
744 Packet.__init__(self, _pkt, **kwargs)
745
746 def extract_padding(self, s):
747 return b"", s
748
749
750class ATT_Read_By_Type_Response(Packet):

Callers

nothing calls this directly

Calls 2

XLEShortFieldClass · 0.90
XStrLenFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…