10 #ifndef FmiLogParser_H 11 #define FmiLogParser_H 69 const uint8 * aMessageId,
89 #if( FMI_SUPPORT_A615 ) 105 CString getCdtPacketName
110 CString formatCdtPacket
132 #if( FMI_SUPPORT_A602 ) 136 #if( FMI_SUPPORT_A607 ) 140 #if( FMI_SUPPORT_A615 ) 154 #if( FMI_SUPPORT_A602 ) 159 #if( FMI_SUPPORT_A607 ) 164 #if( FMI_SUPPORT_A615 ) 170 std::map<uint16, CString> mCdtPacketNames;
virtual CString getPacketTitle(int aLineNumber)
Construct a packet title for the given log logLine.
CString formatLatitude(sint32 aSemicircles)
Format latitude.
CString formatLongitude(sint32 aSemicircles)
Format longitude.
void initGarminCommandNames()
Initialize the map of Garmin command IDs to text strings.
Abstract base class for log item parsers.
void initFmiPacketNames()
Initialize the map of FMI packet IDs to text strings.
CString formatText(const char *aText, int aMaxLength)
Format a text string, with up to 29 characters per line.
std::map< uint16, CString > mHosartPacketNames
Map of HOSART packet IDs to display names for formatting.
CString formatBoolean(boolean aBool)
Translate a boolean to an equivalent string.
void initFmiFeatureNames()
Initialize the map of FMI packet IDs to text strings.
CString getGarminCommandName(uint16 aCommandId)
Translate a Garmin command ID into a string describing the command name.
std::map< uint16, CString > mFmiPacketNames
Map of FMI packet IDs to display names for formatting.
std::map< uint8, CString > mGarminPacketNames
Map of Garmin packet IDs to display names for formatting.
std::map< uint16, CString > mFmiFeatureNames
Map of FMI feature IDs to display names for formatting.
CString formatMessageId(const uint8 *aMessageId, uint8 aMessageIdSize)
Format a message ID in hex, with up to 8 bytes per line.
signed long int sint32
32-bit signed integer
void initGarminPacketNames()
Initialize the map of Garmin packet IDs to text strings.
virtual ~FmiLogParser()
Destructor.
std::map< uint16, CString > mGarminCommandNames
Map of Garmin command IDs to display names for formatting.
unsigned short int uint16
16-bit unsigned integer
CString formatFmiPacket(BOOL transmitted, uint16 aFmiPacketId, uint8 *aFmiPayload, uint8 aFmiPayloadSize)
Interpret an FMI packet; appending the information to the text in the packet window.
LogParser for packets sent/received by the FmiApplicationLayer.
virtual CString getPacketDetail(int aLineNumber)
Print a particular packet to the packet view.
CString formatTime(time_type aTimestamp)
Format Garmin UTC timestamp.
CString getGarminPacketName(uint8 aPacketId)
Translate a Garmin packet ID into a string describing the packet name.
unsigned char uint8
8-bit unsigned integer
void appendIFTADataModResultCode(CString &packet, uint8 result_code)
virtual void resendPacket(int aLineNumber)
Resend a packet to the client.
CString getFmiPacketName(uint16 aPacketId)
Translate an FMI packet ID into a string describing the packet name.
CString getHosartPacketName(uint16 aPacketId)
FmiLogParser()
Constructor.
uint32 time_type
Absolute time (number of seconds since 12/31/1989 12:00 am UTC)
CString formatHosartPacket(BOOL transmitted, uint16 aPacketId, uint8 *aPayload, uint8 aPayloadSize)
Interpret an HOSART packet; appending the information to the text in the packet window.