scapy.contrib.ppi_geotag
PPI-GEOLOCATION tags
- class scapy.contrib.ppi_geotag.Fixed3_6Field(name, default, *args, **kargs)[source]
Bases:
_RMMLEIntField
- class scapy.contrib.ppi_geotag.Fixed3_7Field(name, default, *args, **kargs)[source]
Bases:
_RMMLEIntField
- class scapy.contrib.ppi_geotag.Fixed6_4Field(name, default, *args, **kargs)[source]
Bases:
_RMMLEIntField
- class scapy.contrib.ppi_geotag.GPSTime_Field(name, default)[source]
Bases:
LETimeField
- class scapy.contrib.ppi_geotag.HCSIAppField(name, default)[source]
Bases:
StrFixedLenField
- class scapy.contrib.ppi_geotag.HCSIDescField(name, default)[source]
Bases:
StrFixedLenField
- class scapy.contrib.ppi_geotag.HCSIFlagsField(name: str, default: int | FlagValue | None, size: int, names: List[str] | str | Dict[int, str], **kwargs: Any)[source]
Bases:
FlagsField
A 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.
- class scapy.contrib.ppi_geotag.HCSIPacket(_pkt, /)[source]
Bases:
PPI_Element
- aliastypes
- class scapy.contrib.ppi_geotag.LETimeField(name, default, epoch=None, strf='%a, %d %b %Y %H:%M:%S %z')[source]
Bases:
UTCTimeField
,LEIntField
- delta
- epoch
- strf
- class scapy.contrib.ppi_geotag.PPI_Geotag_Antenna(_pkt, /, *, geotag_ver=2, geotag_pad=0, geotag_len=None, present=None, AntennaFlags=None, Gain=None, HorizBw=None, VertBw=None, PrecisionGain=None, BeamID=None, Reserved06=None, Reserved07=None, Reserved08=None, Reserved09=None, Reserved10=None, Reserved11=None, Reserved12=None, Reserved13=None, Reserved14=None, Reserved15=None, Reserved16=None, Reserved17=None, Reserved18=None, Reserved19=None, Reserved20=None, Reserved21=None, Reserved22=None, Reserved23=None, Reserved24=None, Reserved25=None, SerialNumber=None, ModelName=None, DescString=None, AppId=None, AppData=None, Extended=None)[source]
Bases:
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_Antenna
geotag_ver
2
geotag_pad
0
geotag_len
None
present
None
AntennaFlags
FlagsField
(Cond)None
Gain
ByteField
(Cond)None
HorizBw
Fixed3_6Field
(Cond)None
VertBw
Fixed3_6Field
(Cond)None
PrecisionGain
Fixed3_6Field
(Cond)None
BeamID
XLEShortField
(Cond)None
Reserved06
HCSINullField
(Cond)None
Reserved07
HCSINullField
(Cond)None
Reserved08
HCSINullField
(Cond)None
Reserved09
HCSINullField
(Cond)None
Reserved10
HCSINullField
(Cond)None
Reserved11
HCSINullField
(Cond)None
Reserved12
HCSINullField
(Cond)None
Reserved13
HCSINullField
(Cond)None
Reserved14
HCSINullField
(Cond)None
Reserved15
HCSINullField
(Cond)None
Reserved16
HCSINullField
(Cond)None
Reserved17
HCSINullField
(Cond)None
Reserved18
HCSINullField
(Cond)None
Reserved19
HCSINullField
(Cond)None
Reserved20
HCSINullField
(Cond)None
Reserved21
HCSINullField
(Cond)None
Reserved22
HCSINullField
(Cond)None
Reserved23
HCSINullField
(Cond)None
Reserved24
HCSINullField
(Cond)None
Reserved25
HCSINullField
(Cond)None
SerialNumber
HCSIDescField
(Cond)None
ModelName
HCSIDescField
(Cond)None
DescString
HCSIDescField
(Cond)None
AppId
XLEIntField
(Cond)None
AppData
HCSIAppField
(Cond)None
Extended
HCSINullField
(Cond)None
- hcsi_fields = [<FlagsField (PPI_Geotag_Antenna).AntennaFlags>, <ByteField (PPI_Geotag_Antenna).Gain>, <Fixed3_6Field (PPI_Geotag_Antenna).HorizBw>, <Fixed3_6Field (PPI_Geotag_Antenna).VertBw>, <Fixed3_6Field (PPI_Geotag_Antenna).PrecisionGain>, <XLEShortField (PPI_Geotag_Antenna).BeamID>, <HCSINullField (PPI_Geotag_Antenna).Reserved06>, <HCSINullField (PPI_Geotag_Antenna).Reserved07>, <HCSINullField (PPI_Geotag_Antenna).Reserved08>, <HCSINullField (PPI_Geotag_Antenna).Reserved09>, <HCSINullField (PPI_Geotag_Antenna).Reserved10>, <HCSINullField (PPI_Geotag_Antenna).Reserved11>, <HCSINullField (PPI_Geotag_Antenna).Reserved12>, <HCSINullField (PPI_Geotag_Antenna).Reserved13>, <HCSINullField (PPI_Geotag_Antenna).Reserved14>, <HCSINullField (PPI_Geotag_Antenna).Reserved15>, <HCSINullField (PPI_Geotag_Antenna).Reserved16>, <HCSINullField (PPI_Geotag_Antenna).Reserved17>, <HCSINullField (PPI_Geotag_Antenna).Reserved18>, <HCSINullField (PPI_Geotag_Antenna).Reserved19>, <HCSINullField (PPI_Geotag_Antenna).Reserved20>, <HCSINullField (PPI_Geotag_Antenna).Reserved21>, <HCSINullField (PPI_Geotag_Antenna).Reserved22>, <HCSINullField (PPI_Geotag_Antenna).Reserved23>, <HCSINullField (PPI_Geotag_Antenna).Reserved24>, <HCSINullField (PPI_Geotag_Antenna).Reserved25>, <HCSIDescField (PPI_Geotag_Antenna).SerialNumber>, <HCSIDescField (PPI_Geotag_Antenna).ModelName>, <HCSIDescField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <XLEIntField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <HCSIAppField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <HCSINullField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]
- class scapy.contrib.ppi_geotag.PPI_Geotag_GPS(_pkt, /, *, geotag_ver=2, geotag_pad=0, geotag_len=None, present=None, GPSFlags=None, Latitude=None, Longitude=None, Altitude=None, Altitude_g=None, GPSTime=None, FractionalTime=None, eph=None, epv=None, ept=None, Reserved10=None, Reserved11=None, Reserved12=None, Reserved13=None, Reserved14=None, Reserved15=None, Reserved16=None, Reserved17=None, Reserved18=None, Reserved19=None, Reserved20=None, Reserved21=None, Reserved22=None, Reserved23=None, Reserved24=None, Reserved25=None, Reserved26=None, Reserved27=None, DescString=None, AppId=None, AppData=None, Extended=None)[source]
Bases:
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_GPS
geotag_ver
2
geotag_pad
0
geotag_len
None
present
None
GPSFlags
FlagsField
(Cond)None
Latitude
Fixed3_7Field
(Cond)None
Longitude
Fixed3_7Field
(Cond)None
Altitude
Fixed6_4Field
(Cond)None
Altitude_g
Fixed6_4Field
(Cond)None
GPSTime
GPSTime_Field
(Cond)None
FractionalTime
NSCounter_Field
(Cond)None
eph
Fixed3_6Field
(Cond)None
epv
Fixed3_6Field
(Cond)None
ept
NSCounter_Field
(Cond)None
Reserved10
HCSINullField
(Cond)None
Reserved11
HCSINullField
(Cond)None
Reserved12
HCSINullField
(Cond)None
Reserved13
HCSINullField
(Cond)None
Reserved14
HCSINullField
(Cond)None
Reserved15
HCSINullField
(Cond)None
Reserved16
HCSINullField
(Cond)None
Reserved17
HCSINullField
(Cond)None
Reserved18
HCSINullField
(Cond)None
Reserved19
HCSINullField
(Cond)None
Reserved20
HCSINullField
(Cond)None
Reserved21
HCSINullField
(Cond)None
Reserved22
HCSINullField
(Cond)None
Reserved23
HCSINullField
(Cond)None
Reserved24
HCSINullField
(Cond)None
Reserved25
HCSINullField
(Cond)None
Reserved26
HCSINullField
(Cond)None
Reserved27
HCSINullField
(Cond)None
DescString
HCSIDescField
(Cond)None
AppId
XLEIntField
(Cond)None
AppData
HCSIAppField
(Cond)None
Extended
HCSINullField
(Cond)None
- hcsi_fields = [<FlagsField (PPI_Geotag_GPS).GPSFlags>, <Fixed3_7Field (PPI_Geotag_GPS).Latitude>, <Fixed3_7Field (PPI_Geotag_GPS).Longitude>, <Fixed6_4Field (PPI_Geotag_GPS).Altitude>, <Fixed6_4Field (PPI_Geotag_GPS).Altitude_g>, <GPSTime_Field (PPI_Geotag_GPS).GPSTime>, <NSCounter_Field (PPI_Geotag_GPS).FractionalTime>, <Fixed3_6Field (PPI_Geotag_GPS).eph>, <Fixed3_6Field (PPI_Geotag_GPS).epv>, <NSCounter_Field (PPI_Geotag_GPS).ept>, <HCSINullField (PPI_Geotag_GPS).Reserved10>, <HCSINullField (PPI_Geotag_GPS).Reserved11>, <HCSINullField (PPI_Geotag_GPS).Reserved12>, <HCSINullField (PPI_Geotag_GPS).Reserved13>, <HCSINullField (PPI_Geotag_GPS).Reserved14>, <HCSINullField (PPI_Geotag_GPS).Reserved15>, <HCSINullField (PPI_Geotag_GPS).Reserved16>, <HCSINullField (PPI_Geotag_GPS).Reserved17>, <HCSINullField (PPI_Geotag_GPS).Reserved18>, <HCSINullField (PPI_Geotag_GPS).Reserved19>, <HCSINullField (PPI_Geotag_GPS).Reserved20>, <HCSINullField (PPI_Geotag_GPS).Reserved21>, <HCSINullField (PPI_Geotag_GPS).Reserved22>, <HCSINullField (PPI_Geotag_GPS).Reserved23>, <HCSINullField (PPI_Geotag_GPS).Reserved24>, <HCSINullField (PPI_Geotag_GPS).Reserved25>, <HCSINullField (PPI_Geotag_GPS).Reserved26>, <HCSINullField (PPI_Geotag_GPS).Reserved27>, <HCSIDescField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <XLEIntField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <HCSIAppField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <HCSINullField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]
- class scapy.contrib.ppi_geotag.PPI_Geotag_Sensor(_pkt, /, *, geotag_ver=2, geotag_pad=0, geotag_len=None, present=None, SensorType=None, ScaleFactor=None, Val_X=None, Val_Y=None, Val_Z=None, Val_T=None, Val_E=None, Reserved07=None, Reserved08=None, Reserved09=None, Reserved10=None, Reserved11=None, Reserved12=None, Reserved13=None, Reserved14=None, Reserved15=None, Reserved16=None, Reserved17=None, Reserved18=None, Reserved19=None, Reserved20=None, Reserved21=None, Reserved22=None, Reserved23=None, Reserved24=None, Reserved25=None, Reserved26=None, Reserved27=None, DescString=None, AppId=None, AppData=None, Extended=None)[source]
Bases:
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_Sensor
geotag_ver
2
geotag_pad
0
geotag_len
None
present
None
SensorType
LEShortEnumField
(Cond)None
ScaleFactor
SignedByteField
(Cond)None
Val_X
Fixed6_4Field
(Cond)None
Val_Y
Fixed6_4Field
(Cond)None
Val_Z
Fixed6_4Field
(Cond)None
Val_T
Fixed6_4Field
(Cond)None
Val_E
Fixed6_4Field
(Cond)None
Reserved07
HCSINullField
(Cond)None
Reserved08
HCSINullField
(Cond)None
Reserved09
HCSINullField
(Cond)None
Reserved10
HCSINullField
(Cond)None
Reserved11
HCSINullField
(Cond)None
Reserved12
HCSINullField
(Cond)None
Reserved13
HCSINullField
(Cond)None
Reserved14
HCSINullField
(Cond)None
Reserved15
HCSINullField
(Cond)None
Reserved16
HCSINullField
(Cond)None
Reserved17
HCSINullField
(Cond)None
Reserved18
HCSINullField
(Cond)None
Reserved19
HCSINullField
(Cond)None
Reserved20
HCSINullField
(Cond)None
Reserved21
HCSINullField
(Cond)None
Reserved22
HCSINullField
(Cond)None
Reserved23
HCSINullField
(Cond)None
Reserved24
HCSINullField
(Cond)None
Reserved25
HCSINullField
(Cond)None
Reserved26
HCSINullField
(Cond)None
Reserved27
HCSINullField
(Cond)None
DescString
HCSIDescField
(Cond)None
AppId
XLEIntField
(Cond)None
AppData
HCSIAppField
(Cond)None
Extended
HCSINullField
(Cond)None
- hcsi_fields = [<LEShortEnumField (PPI_Geotag_Sensor).SensorType>, <SignedByteField (PPI_Geotag_Sensor).ScaleFactor>, <Fixed6_4Field (PPI_Geotag_Sensor).Val_X>, <Fixed6_4Field (PPI_Geotag_Sensor).Val_Y>, <Fixed6_4Field (PPI_Geotag_Sensor).Val_Z>, <Fixed6_4Field (PPI_Geotag_Sensor).Val_T>, <Fixed6_4Field (PPI_Geotag_Sensor).Val_E>, <HCSINullField (PPI_Geotag_Sensor).Reserved07>, <HCSINullField (PPI_Geotag_Sensor).Reserved08>, <HCSINullField (PPI_Geotag_Sensor).Reserved09>, <HCSINullField (PPI_Geotag_Sensor).Reserved10>, <HCSINullField (PPI_Geotag_Sensor).Reserved11>, <HCSINullField (PPI_Geotag_Sensor).Reserved12>, <HCSINullField (PPI_Geotag_Sensor).Reserved13>, <HCSINullField (PPI_Geotag_Sensor).Reserved14>, <HCSINullField (PPI_Geotag_Sensor).Reserved15>, <HCSINullField (PPI_Geotag_Sensor).Reserved16>, <HCSINullField (PPI_Geotag_Sensor).Reserved17>, <HCSINullField (PPI_Geotag_Sensor).Reserved18>, <HCSINullField (PPI_Geotag_Sensor).Reserved19>, <HCSINullField (PPI_Geotag_Sensor).Reserved20>, <HCSINullField (PPI_Geotag_Sensor).Reserved21>, <HCSINullField (PPI_Geotag_Sensor).Reserved22>, <HCSINullField (PPI_Geotag_Sensor).Reserved23>, <HCSINullField (PPI_Geotag_Sensor).Reserved24>, <HCSINullField (PPI_Geotag_Sensor).Reserved25>, <HCSINullField (PPI_Geotag_Sensor).Reserved26>, <HCSINullField (PPI_Geotag_Sensor).Reserved27>, <HCSIDescField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <XLEIntField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <HCSIAppField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <HCSINullField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]
- class scapy.contrib.ppi_geotag.PPI_Geotag_Vector(_pkt, /, *, geotag_ver=2, geotag_pad=0, geotag_len=None, present=None, VectorFlags=None, VectorChars=None, Pitch=None, Roll=None, Heading=None, Off_X=None, Off_Y=None, Off_Z=None, Reserved08=None, Reserved09=None, Reserved10=None, Reserved11=None, Reserved12=None, Reserved13=None, Reserved14=None, Reserved15=None, Err_Rot=None, Err_Off=None, Reserved18=None, Reserved19=None, Reserved20=None, Reserved21=None, Reserved22=None, Reserved23=None, Reserved24=None, Reserved25=None, Reserved26=None, Reserved27=None, DescString=None, AppId=None, AppData=None, Extended=None)[source]
Bases:
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_Vector
geotag_ver
2
geotag_pad
0
geotag_len
None
present
None
VectorFlags
VectorFlags_Field
(Cond)None
VectorChars
FlagsField
(Cond)None
Pitch
Fixed3_6Field
(Cond)None
Roll
Fixed3_6Field
(Cond)None
Heading
Fixed3_6Field
(Cond)None
Off_X
Fixed6_4Field
(Cond)None
Off_Y
Fixed6_4Field
(Cond)None
Off_Z
Fixed6_4Field
(Cond)None
Reserved08
HCSINullField
(Cond)None
Reserved09
HCSINullField
(Cond)None
Reserved10
HCSINullField
(Cond)None
Reserved11
HCSINullField
(Cond)None
Reserved12
HCSINullField
(Cond)None
Reserved13
HCSINullField
(Cond)None
Reserved14
HCSINullField
(Cond)None
Reserved15
HCSINullField
(Cond)None
Err_Rot
Fixed3_6Field
(Cond)None
Err_Off
Fixed6_4Field
(Cond)None
Reserved18
HCSINullField
(Cond)None
Reserved19
HCSINullField
(Cond)None
Reserved20
HCSINullField
(Cond)None
Reserved21
HCSINullField
(Cond)None
Reserved22
HCSINullField
(Cond)None
Reserved23
HCSINullField
(Cond)None
Reserved24
HCSINullField
(Cond)None
Reserved25
HCSINullField
(Cond)None
Reserved26
HCSINullField
(Cond)None
Reserved27
HCSINullField
(Cond)None
DescString
HCSIDescField
(Cond)None
AppId
XLEIntField
(Cond)None
AppData
HCSIAppField
(Cond)None
Extended
HCSINullField
(Cond)None
- hcsi_fields = [<VectorFlags_Field (PPI_Geotag_Vector).VectorFlags>, <FlagsField (PPI_Geotag_Vector).VectorChars>, <Fixed3_6Field (PPI_Geotag_Vector).Pitch>, <Fixed3_6Field (PPI_Geotag_Vector).Roll>, <Fixed3_6Field (PPI_Geotag_Vector).Heading>, <Fixed6_4Field (PPI_Geotag_Vector).Off_X>, <Fixed6_4Field (PPI_Geotag_Vector).Off_Y>, <Fixed6_4Field (PPI_Geotag_Vector).Off_Z>, <HCSINullField (PPI_Geotag_Vector).Reserved08>, <HCSINullField (PPI_Geotag_Vector).Reserved09>, <HCSINullField (PPI_Geotag_Vector).Reserved10>, <HCSINullField (PPI_Geotag_Vector).Reserved11>, <HCSINullField (PPI_Geotag_Vector).Reserved12>, <HCSINullField (PPI_Geotag_Vector).Reserved13>, <HCSINullField (PPI_Geotag_Vector).Reserved14>, <HCSINullField (PPI_Geotag_Vector).Reserved15>, <Fixed3_6Field (PPI_Geotag_Vector).Err_Rot>, <Fixed6_4Field (PPI_Geotag_Vector).Err_Off>, <HCSINullField (PPI_Geotag_Vector).Reserved18>, <HCSINullField (PPI_Geotag_Vector).Reserved19>, <HCSINullField (PPI_Geotag_Vector).Reserved20>, <HCSINullField (PPI_Geotag_Vector).Reserved21>, <HCSINullField (PPI_Geotag_Vector).Reserved22>, <HCSINullField (PPI_Geotag_Vector).Reserved23>, <HCSINullField (PPI_Geotag_Vector).Reserved24>, <HCSINullField (PPI_Geotag_Vector).Reserved25>, <HCSINullField (PPI_Geotag_Vector).Reserved26>, <HCSINullField (PPI_Geotag_Vector).Reserved27>, <HCSIDescField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).DescString>, <XLEIntField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppId>, <HCSIAppField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).AppData>, <HCSINullField (PPI_Geotag_GPS,PPI_Geotag_Vector,PPI_Geotag_Sensor,PPI_Geotag_Antenna).Extended>]