scapy.contrib.ppi_geotag
PPI-GEOLOCATION tags
- class scapy.contrib.ppi_geotag.GPSTime_Field(name, default)[源代码]
基类:
LETimeField
- class scapy.contrib.ppi_geotag.HCSIFlagsField(name: str, default: int | FlagValue | None, size: int, names: List[str] | str | Dict[int, str])[源代码]
基类:
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.
- class scapy.contrib.ppi_geotag.HCSIPacket(_pkt, /)[源代码]
基类:
PPI_Element- aliastypes
- class scapy.contrib.ppi_geotag.LETimeField(name, default, epoch=None, strf='%a, %d %b %Y %H:%M:%S %z')[源代码]
-
- 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)[源代码]
基类:
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
NoneAntennaFlags
FlagsField(Cond)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 = [<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)[源代码]
基类:
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
NoneGPSFlags
FlagsField(Cond)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 = [<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)[源代码]
基类:
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
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 = [<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)[源代码]
基类:
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
NoneVectorFlags
VectorFlags_Field(Cond)NoneVectorChars
FlagsField(Cond)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 = [<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>]