Garmin Fleet Management Controller  2.19.0
FmiLogParser.cpp File Reference
#include "stdafx.h"
#include <fstream>
#include "FmiLogParser.h"
#include "fmi.h"
#include "util.h"
#include "GarminTransportLayer.h"
#include "fmi_CustomForms.cpp"

Go to the source code of this file.

Enumerations

enum  PacketStatusType {
  PACKET_STATUS_OK,
  PACKET_STATUS_FRAMING_ERROR_STX,
  PACKET_STATUS_FRAMING_ERROR_ETX,
  PACKET_STATUS_TOO_SHORT,
  PACKET_STATUS_DLE_STUFF_ERROR
}
 Enumeration for packet status values. More...
 

Variables

const float cMsToKph = 3.6f
 
const float cMsToMph = 2.23693629f
 

Enumeration Type Documentation

Enumeration for packet status values.

This is used to print various link-level packet issues.

Enumerator
PACKET_STATUS_OK 
PACKET_STATUS_FRAMING_ERROR_STX 
PACKET_STATUS_FRAMING_ERROR_ETX 
PACKET_STATUS_TOO_SHORT 
PACKET_STATUS_DLE_STUFF_ERROR 

Definition at line 24 of file FmiLogParser.cpp.

Variable Documentation

const float cMsToKph = 3.6f

Definition at line 34 of file FmiLogParser.cpp.

Referenced by FmiLogParser::formatFmiPacket().

const float cMsToMph = 2.23693629f

Definition at line 33 of file FmiLogParser.cpp.

Referenced by FmiLogParser::formatFmiPacket().