scapy.contrib.ppi_geotag¶
PPI-GEOLOCATION tags
-
class
scapy.contrib.ppi_geotag.Fixed3_6Field(name, default, *args, **kargs)¶ Bases:
scapy.contrib.ppi_geotag._RMMLEIntField
-
class
scapy.contrib.ppi_geotag.Fixed3_7Field(name, default, *args, **kargs)¶ Bases:
scapy.contrib.ppi_geotag._RMMLEIntField
-
class
scapy.contrib.ppi_geotag.Fixed6_4Field(name, default, *args, **kargs)¶ Bases:
scapy.contrib.ppi_geotag._RMMLEIntField
-
class
scapy.contrib.ppi_geotag.GPSTime_Field(name, default)¶
-
class
scapy.contrib.ppi_geotag.HCSIAppField(name, default)¶
-
class
scapy.contrib.ppi_geotag.HCSIDescField(name, default)¶
-
class
scapy.contrib.ppi_geotag.HCSIFlagsField(name, default, size, names)¶ Bases:
scapy.fields.FlagsFieldA FlagsField where each bit/flag turns a conditional field on or off.
If the value is None when building a packet, i2m() will check the value of every field in self.names. If the field’s value is not None, the corresponding flag will be set.
-
i2m(pkt, val)¶
-
-
class
scapy.contrib.ppi_geotag.HCSINullField(name)¶ Bases:
scapy.fields.Field
-
class
scapy.contrib.ppi_geotag.HCSIPacket(*args, **kargs)¶ Bases:
scapy.layers.ppi.PPI_Element-
aliastypes¶
-
post_build(p, pay)¶
-
-
class
scapy.contrib.ppi_geotag.LETimeField(name, default, epoch=None, strf='%a, %d %b %Y %H:%M:%S %z')¶ Bases:
scapy.fields.UTCTimeField,scapy.fields.LEIntField-
delta¶
-
epoch¶
-
strf¶
-
-
class
scapy.contrib.ppi_geotag.NSCounter_Field(name, default)¶ Bases:
scapy.contrib.ppi_geotag._RMMLEIntField
-
class
scapy.contrib.ppi_geotag.PPI_Geotag_Antenna(*args, **kargs)¶ Bases:
scapy.contrib.ppi_geotag.HCSIPacket-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GEOTAG VER | GEOTAG PAD | GEOTAG LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PRESENT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ANTENNAFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GAIN | HORIZBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | VERTBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PRECISIONGAIN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | BEAMID |RESERVED0|RESERVED0|RESERVED0|RESERVED0|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2| SERIALNUMBER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | MODELNAME | DESCSTRING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | APPID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | APPDATA |EXTENDE| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPI_Geotag_AntennaPPI_Geotag_Antenna fields¶ geotag_ver
2geotag_pad
0geotag_len
Nonepresent
HCSIFlagsField(32 bits)NoneAntennaFlags
FlagsField(Cond) (32 bits)NoneGain
ByteField(Cond)NoneHorizBw
Fixed3_6Field(Cond)NoneVertBw
Fixed3_6Field(Cond)NonePrecisionGain
Fixed3_6Field(Cond)NoneBeamID
XLEShortField(Cond)NoneReserved06
HCSINullField(Cond)NoneReserved07
HCSINullField(Cond)NoneReserved08
HCSINullField(Cond)NoneReserved09
HCSINullField(Cond)NoneReserved10
HCSINullField(Cond)NoneReserved11
HCSINullField(Cond)NoneReserved12
HCSINullField(Cond)NoneReserved13
HCSINullField(Cond)NoneReserved14
HCSINullField(Cond)NoneReserved15
HCSINullField(Cond)NoneReserved16
HCSINullField(Cond)NoneReserved17
HCSINullField(Cond)NoneReserved18
HCSINullField(Cond)NoneReserved19
HCSINullField(Cond)NoneReserved20
HCSINullField(Cond)NoneReserved21
HCSINullField(Cond)NoneReserved22
HCSINullField(Cond)NoneReserved23
HCSINullField(Cond)NoneReserved24
HCSINullField(Cond)NoneReserved25
HCSINullField(Cond)NoneSerialNumber
HCSIDescField(Cond)NoneModelName
HCSIDescField(Cond)NoneDescString
HCSIDescField(Cond)NoneAppId
XLEIntField(Cond)NoneAppData
HCSIAppField(Cond)NoneExtended
HCSINullField(Cond)None
-
hcsi_fields= [<Field (PPI_Geotag_Antenna).AntennaFlags>, <Field (PPI_Geotag_Antenna).Gain>, <Field (PPI_Geotag_Antenna).HorizBw>, <Field (PPI_Geotag_Antenna).VertBw>, <Field (PPI_Geotag_Antenna).PrecisionGain>, <Field (PPI_Geotag_Antenna).BeamID>, <Field (PPI_Geotag_Antenna).Reserved06>, <Field (PPI_Geotag_Antenna).Reserved07>, <Field (PPI_Geotag_Antenna).Reserved08>, <Field (PPI_Geotag_Antenna).Reserved09>, <Field (PPI_Geotag_Antenna).Reserved10>, <Field (PPI_Geotag_Antenna).Reserved11>, <Field (PPI_Geotag_Antenna).Reserved12>, <Field (PPI_Geotag_Antenna).Reserved13>, <Field (PPI_Geotag_Antenna).Reserved14>, <Field (PPI_Geotag_Antenna).Reserved15>, <Field (PPI_Geotag_Antenna).Reserved16>, <Field (PPI_Geotag_Antenna).Reserved17>, <Field (PPI_Geotag_Antenna).Reserved18>, <Field (PPI_Geotag_Antenna).Reserved19>, <Field (PPI_Geotag_Antenna).Reserved20>, <Field (PPI_Geotag_Antenna).Reserved21>, <Field (PPI_Geotag_Antenna).Reserved22>, <Field (PPI_Geotag_Antenna).Reserved23>, <Field (PPI_Geotag_Antenna).Reserved24>, <Field (PPI_Geotag_Antenna).Reserved25>, <Field (PPI_Geotag_Antenna).SerialNumber>, <Field (PPI_Geotag_Antenna).ModelName>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]¶
-
-
class
scapy.contrib.ppi_geotag.PPI_Geotag_GPS(*args, **kargs)¶ Bases:
scapy.contrib.ppi_geotag.HCSIPacket-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GEOTAG VER | GEOTAG PAD | GEOTAG LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PRESENT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GPSFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LATITUDE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LONGITUDE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALTITUDE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALTITUDE G | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GPSTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRACTIONALTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EPH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EPV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EPT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2| DESCSTRING | APPID | +-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | APPDATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |EXTENDE| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPI_Geotag_GPSPPI_Geotag_GPS fields¶ geotag_ver
2geotag_pad
0geotag_len
Nonepresent
HCSIFlagsField(32 bits)NoneGPSFlags
FlagsField(Cond) (32 bits)NoneLatitude
Fixed3_7Field(Cond)NoneLongitude
Fixed3_7Field(Cond)NoneAltitude
Fixed6_4Field(Cond)NoneAltitude_g
Fixed6_4Field(Cond)NoneGPSTime
GPSTime_Field(Cond)NoneFractionalTime
NSCounter_Field(Cond)Noneeph
Fixed3_6Field(Cond)Noneepv
Fixed3_6Field(Cond)Noneept
NSCounter_Field(Cond)NoneReserved10
HCSINullField(Cond)NoneReserved11
HCSINullField(Cond)NoneReserved12
HCSINullField(Cond)NoneReserved13
HCSINullField(Cond)NoneReserved14
HCSINullField(Cond)NoneReserved15
HCSINullField(Cond)NoneReserved16
HCSINullField(Cond)NoneReserved17
HCSINullField(Cond)NoneReserved18
HCSINullField(Cond)NoneReserved19
HCSINullField(Cond)NoneReserved20
HCSINullField(Cond)NoneReserved21
HCSINullField(Cond)NoneReserved22
HCSINullField(Cond)NoneReserved23
HCSINullField(Cond)NoneReserved24
HCSINullField(Cond)NoneReserved25
HCSINullField(Cond)NoneReserved26
HCSINullField(Cond)NoneReserved27
HCSINullField(Cond)NoneDescString
HCSIDescField(Cond)NoneAppId
XLEIntField(Cond)NoneAppData
HCSIAppField(Cond)NoneExtended
HCSINullField(Cond)None
-
hcsi_fields= [<Field (PPI_Geotag_GPS).GPSFlags>, <Field (PPI_Geotag_GPS).Latitude>, <Field (PPI_Geotag_GPS).Longitude>, <Field (PPI_Geotag_GPS).Altitude>, <Field (PPI_Geotag_GPS).Altitude_g>, <Field (PPI_Geotag_GPS).GPSTime>, <Field (PPI_Geotag_GPS).FractionalTime>, <Field (PPI_Geotag_GPS).eph>, <Field (PPI_Geotag_GPS).epv>, <Field (PPI_Geotag_GPS).ept>, <Field (PPI_Geotag_GPS).Reserved10>, <Field (PPI_Geotag_GPS).Reserved11>, <Field (PPI_Geotag_GPS).Reserved12>, <Field (PPI_Geotag_GPS).Reserved13>, <Field (PPI_Geotag_GPS).Reserved14>, <Field (PPI_Geotag_GPS).Reserved15>, <Field (PPI_Geotag_GPS).Reserved16>, <Field (PPI_Geotag_GPS).Reserved17>, <Field (PPI_Geotag_GPS).Reserved18>, <Field (PPI_Geotag_GPS).Reserved19>, <Field (PPI_Geotag_GPS).Reserved20>, <Field (PPI_Geotag_GPS).Reserved21>, <Field (PPI_Geotag_GPS).Reserved22>, <Field (PPI_Geotag_GPS).Reserved23>, <Field (PPI_Geotag_GPS).Reserved24>, <Field (PPI_Geotag_GPS).Reserved25>, <Field (PPI_Geotag_GPS).Reserved26>, <Field (PPI_Geotag_GPS).Reserved27>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]¶
-
-
class
scapy.contrib.ppi_geotag.PPI_Geotag_Sensor(*args, **kargs)¶ Bases:
scapy.contrib.ppi_geotag.HCSIPacket-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GEOTAG VER | GEOTAG PAD | GEOTAG LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PRESENT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SENSORTYPE | SCALEFACTOR | VAL X | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | VAL Y | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | VAL Z | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | VAL T | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | VAL E | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |RESERVED0|RESERVED0|RESERVED0|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2| DESCSTRING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | APPID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | APPDATA |EXTENDE| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPI_Geotag_SensorPPI_Geotag_Sensor fields¶ geotag_ver
2geotag_pad
0geotag_len
Nonepresent
HCSIFlagsField(32 bits)NoneSensorType
LEShortEnumField(Cond)NoneScaleFactor
SignedByteField(Cond)NoneVal_X
Fixed6_4Field(Cond)NoneVal_Y
Fixed6_4Field(Cond)NoneVal_Z
Fixed6_4Field(Cond)NoneVal_T
Fixed6_4Field(Cond)NoneVal_E
Fixed6_4Field(Cond)NoneReserved07
HCSINullField(Cond)NoneReserved08
HCSINullField(Cond)NoneReserved09
HCSINullField(Cond)NoneReserved10
HCSINullField(Cond)NoneReserved11
HCSINullField(Cond)NoneReserved12
HCSINullField(Cond)NoneReserved13
HCSINullField(Cond)NoneReserved14
HCSINullField(Cond)NoneReserved15
HCSINullField(Cond)NoneReserved16
HCSINullField(Cond)NoneReserved17
HCSINullField(Cond)NoneReserved18
HCSINullField(Cond)NoneReserved19
HCSINullField(Cond)NoneReserved20
HCSINullField(Cond)NoneReserved21
HCSINullField(Cond)NoneReserved22
HCSINullField(Cond)NoneReserved23
HCSINullField(Cond)NoneReserved24
HCSINullField(Cond)NoneReserved25
HCSINullField(Cond)NoneReserved26
HCSINullField(Cond)NoneReserved27
HCSINullField(Cond)NoneDescString
HCSIDescField(Cond)NoneAppId
XLEIntField(Cond)NoneAppData
HCSIAppField(Cond)NoneExtended
HCSINullField(Cond)None
-
hcsi_fields= [<Field (PPI_Geotag_Sensor).SensorType>, <Field (PPI_Geotag_Sensor).ScaleFactor>, <Field (PPI_Geotag_Sensor).Val_X>, <Field (PPI_Geotag_Sensor).Val_Y>, <Field (PPI_Geotag_Sensor).Val_Z>, <Field (PPI_Geotag_Sensor).Val_T>, <Field (PPI_Geotag_Sensor).Val_E>, <Field (PPI_Geotag_Sensor).Reserved07>, <Field (PPI_Geotag_Sensor).Reserved08>, <Field (PPI_Geotag_Sensor).Reserved09>, <Field (PPI_Geotag_Sensor).Reserved10>, <Field (PPI_Geotag_Sensor).Reserved11>, <Field (PPI_Geotag_Sensor).Reserved12>, <Field (PPI_Geotag_Sensor).Reserved13>, <Field (PPI_Geotag_Sensor).Reserved14>, <Field (PPI_Geotag_Sensor).Reserved15>, <Field (PPI_Geotag_Sensor).Reserved16>, <Field (PPI_Geotag_Sensor).Reserved17>, <Field (PPI_Geotag_Sensor).Reserved18>, <Field (PPI_Geotag_Sensor).Reserved19>, <Field (PPI_Geotag_Sensor).Reserved20>, <Field (PPI_Geotag_Sensor).Reserved21>, <Field (PPI_Geotag_Sensor).Reserved22>, <Field (PPI_Geotag_Sensor).Reserved23>, <Field (PPI_Geotag_Sensor).Reserved24>, <Field (PPI_Geotag_Sensor).Reserved25>, <Field (PPI_Geotag_Sensor).Reserved26>, <Field (PPI_Geotag_Sensor).Reserved27>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]¶
-
-
class
scapy.contrib.ppi_geotag.PPI_Geotag_Vector(*args, **kargs)¶ Bases:
scapy.contrib.ppi_geotag.HCSIPacket-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GEOTAG VER | GEOTAG PAD | GEOTAG LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PRESENT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VECTORFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VECTORCHARS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PITCH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ROLL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HEADING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFF X | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFF Y | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFF Z | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RESERVED0|RESERVED0|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1|RESERVED1| ERR ROT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ERR OFF | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RESERVED1|RESERVED1|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2|RESERVED2| DESCSTRING | APPID | +-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | APPDATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |EXTENDE| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPI_Geotag_VectorPPI_Geotag_Vector fields¶ geotag_ver
2geotag_pad
0geotag_len
Nonepresent
HCSIFlagsField(32 bits)NoneVectorFlags
VectorFlags_Field(Cond)NoneVectorChars
FlagsField(Cond) (32 bits)NonePitch
Fixed3_6Field(Cond)NoneRoll
Fixed3_6Field(Cond)NoneHeading
Fixed3_6Field(Cond)NoneOff_X
Fixed6_4Field(Cond)NoneOff_Y
Fixed6_4Field(Cond)NoneOff_Z
Fixed6_4Field(Cond)NoneReserved08
HCSINullField(Cond)NoneReserved09
HCSINullField(Cond)NoneReserved10
HCSINullField(Cond)NoneReserved11
HCSINullField(Cond)NoneReserved12
HCSINullField(Cond)NoneReserved13
HCSINullField(Cond)NoneReserved14
HCSINullField(Cond)NoneReserved15
HCSINullField(Cond)NoneErr_Rot
Fixed3_6Field(Cond)NoneErr_Off
Fixed6_4Field(Cond)NoneReserved18
HCSINullField(Cond)NoneReserved19
HCSINullField(Cond)NoneReserved20
HCSINullField(Cond)NoneReserved21
HCSINullField(Cond)NoneReserved22
HCSINullField(Cond)NoneReserved23
HCSINullField(Cond)NoneReserved24
HCSINullField(Cond)NoneReserved25
HCSINullField(Cond)NoneReserved26
HCSINullField(Cond)NoneReserved27
HCSINullField(Cond)NoneDescString
HCSIDescField(Cond)NoneAppId
XLEIntField(Cond)NoneAppData
HCSIAppField(Cond)NoneExtended
HCSINullField(Cond)None
-
hcsi_fields= [<Field (PPI_Geotag_Vector).VectorFlags>, <Field (PPI_Geotag_Vector).VectorChars>, <Field (PPI_Geotag_Vector).Pitch>, <Field (PPI_Geotag_Vector).Roll>, <Field (PPI_Geotag_Vector).Heading>, <Field (PPI_Geotag_Vector).Off_X>, <Field (PPI_Geotag_Vector).Off_Y>, <Field (PPI_Geotag_Vector).Off_Z>, <Field (PPI_Geotag_Vector).Reserved08>, <Field (PPI_Geotag_Vector).Reserved09>, <Field (PPI_Geotag_Vector).Reserved10>, <Field (PPI_Geotag_Vector).Reserved11>, <Field (PPI_Geotag_Vector).Reserved12>, <Field (PPI_Geotag_Vector).Reserved13>, <Field (PPI_Geotag_Vector).Reserved14>, <Field (PPI_Geotag_Vector).Reserved15>, <Field (PPI_Geotag_Vector).Err_Rot>, <Field (PPI_Geotag_Vector).Err_Off>, <Field (PPI_Geotag_Vector).Reserved18>, <Field (PPI_Geotag_Vector).Reserved19>, <Field (PPI_Geotag_Vector).Reserved20>, <Field (PPI_Geotag_Vector).Reserved21>, <Field (PPI_Geotag_Vector).Reserved22>, <Field (PPI_Geotag_Vector).Reserved23>, <Field (PPI_Geotag_Vector).Reserved24>, <Field (PPI_Geotag_Vector).Reserved25>, <Field (PPI_Geotag_Vector).Reserved26>, <Field (PPI_Geotag_Vector).Reserved27>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <Field (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]¶
-
-
class
scapy.contrib.ppi_geotag.VectorFlags_Field(name, default)¶ Bases:
scapy.fields.XLEIntFieldRepresents the VectorFlags field. Handles the RelativeTo:sub-field
-
any2i(pkt, x)¶
-
i2repr(pkt, x)¶
-