HCSINullField("Reserved20", None), HCSINullField("Reserved21", None), HCSINullField("Reserved22", None), HCSINullField("Reserved23", None), HCSINullField("Reserved24", None), HCSINullField("Reserved25", None), HCSIDescField("SerialNumber", None), HCSIDescField("ModelName", None), HCSIDescField("DescString", None), XLEIntField("AppId", None), HCSIAppField("AppData", None), HCSINullField("Extended", None) ] class Antenna(HCSIPacket): name = "PPI Antenna" fields_desc = [ LEShortField('pfh_type', PPI_ANTENNA), #pfh_type LEShortField('pfh_length', None), #pfh_len ByteField('geotag_ver', CURR_GEOTAG_VER), #base_geotag_header.ver ByteField('geotag_pad', 0), #base_geotag_header.pad LEShortField('geotag_len', None) ] + _HCSIBuildFields(ANT_Fields) addPPIType(PPI_GPS, GPS) addPPIType(PPI_VECTOR, Vector) addPPIType(PPI_SENSOR, Sensor) addPPIType(PPI_ANTENNA, Antenna)
ANT_Fields = [FlagsField("AntennaFlags", None, -32, _hcsi_antenna_flags), ByteField("Gain", None), Fixed3_6Field("HorizBw", None), Fixed3_6Field("VertBw", None), Fixed3_6Field("PrecisionGain",None), XLEShortField("BeamID", None), HCSINullField("Reserved06", None), HCSINullField("Reserved07", None), HCSINullField("Reserved08", None), HCSINullField("Reserved09", None), HCSINullField("Reserved10", None), HCSINullField("Reserved11", None), HCSINullField("Reserved12", None), HCSINullField("Reserved13", None), HCSINullField("Reserved14", None), HCSINullField("Reserved15", None), HCSINullField("Reserved16", None), HCSINullField("Reserved17", None), HCSINullField("Reserved18", None), HCSINullField("Reserved19", None), HCSINullField("Reserved20", None), HCSINullField("Reserved21", None), HCSINullField("Reserved22", None), HCSINullField("Reserved23", None), HCSINullField("Reserved24", None), HCSINullField("Reserved25", None), HCSIDescField("SerialNumber", None), HCSIDescField("ModelName", None), HCSIDescField("DescString", None), XLEIntField("AppId", None), HCSIAppField("AppData", None), HCSINullField("Extended", None)] class Antenna(HCSIPacket): name = "PPI Antenna" fields_desc = [ LEShortField('pfh_type', PPI_ANTENNA), #pfh_type LEShortField('pfh_length', None), #pfh_len ByteField('geotag_ver', CURR_GEOTAG_VER), #base_geotag_header.ver ByteField('geotag_pad', 0), #base_geotag_header.pad LEShortField('geotag_len', None)] + _HCSIBuildFields(ANT_Fields) addPPIType(PPI_GPS, GPS) addPPIType(PPI_VECTOR, Vector) addPPIType(PPI_SENSOR, Sensor) addPPIType(PPI_ANTENNA,Antenna)