Garmin Fleet Management Controller  2.19.0
FmiApplicationLayer.cpp File Reference
#include "stdafx.h"
#include <stdlib.h>
#include <fstream>
#include "fmi.h"
#include "FmiApplicationLayer.h"
#include "GarminTransportLayer.h"
#include "GarminPacket.h"
#include "Event.h"
#include "util.h"
#include "utl_crc.h"
#include "SerialPort.h"
#include <zlib.h>
#include "AobrdEventLogConverter.h"

Go to the source code of this file.

Macros

#define GZIPPED_TRANSFER_FILENAME   "transfer_file.gz"
 Name of transient file for storing the gzipped version of a file to transfer. More...
 
#define SAVE_AOBRD_DRIVERS   "aobrd_drivers.dat"
 File name of the saved AOBRD driver info. More...
 
#define SAVE_CAN_MSG   "canned_messages.dat"
 File name of the saved canned message data. More...
 
#define SAVE_CAN_RESP   "canned_responses.dat"
 File name of the saved canned response data. More...
 
#define SAVE_CATEGORIES   "categories.dat"
 File name of the saved category data. More...
 
#define SAVE_DRIVER_LOGINS   "drivers.dat"
 File name of the saved driver IDs/passwords. More...
 
#define SAVE_SENT_CAN   "sent_canned_response_messages.dat"
 File name of the saved sent canned response message data. More...
 
#define SAVE_STATUS   "driver_status.dat"
 File name of the saved driver status list data. More...
 
#define SAVE_STOPS   "a603_stops.dat"
 File name of the saved stops data. More...
 
#define SAVE_WAYPOINTS   "waypoints.dat"
 File name of the saved waypoint data. More...
 

Functions

static bool convertAnnotationRecord (AobrdEventLogConverter *converter, std::vector< std::string > &record, void *data)
 

Macro Definition Documentation

#define GZIPPED_TRANSFER_FILENAME   "transfer_file.gz"

Name of transient file for storing the gzipped version of a file to transfer.

Definition at line 56 of file FmiApplicationLayer.cpp.

Referenced by FmiApplicationLayer::sendFile().

#define SAVE_AOBRD_DRIVERS   "aobrd_drivers.dat"

File name of the saved AOBRD driver info.

Since
Protocol A610

Definition at line 76 of file FmiApplicationLayer.cpp.

#define SAVE_CAN_MSG   "canned_messages.dat"

File name of the saved canned message data.

Since
Protocol A604

Definition at line 45 of file FmiApplicationLayer.cpp.

#define SAVE_CAN_RESP   "canned_responses.dat"

File name of the saved canned response data.

Since
Protocol A604

Definition at line 41 of file FmiApplicationLayer.cpp.

#define SAVE_CATEGORIES   "categories.dat"

File name of the saved category data.

Since
Protocol A607

Definition at line 62 of file FmiApplicationLayer.cpp.

#define SAVE_DRIVER_LOGINS   "drivers.dat"

File name of the saved driver IDs/passwords.

Since
Protocol A607

Definition at line 70 of file FmiApplicationLayer.cpp.

#define SAVE_SENT_CAN   "sent_canned_response_messages.dat"

File name of the saved sent canned response message data.

Since
Protocol A604

Definition at line 53 of file FmiApplicationLayer.cpp.

#define SAVE_STATUS   "driver_status.dat"

File name of the saved driver status list data.

Since
Protocol A604

Definition at line 49 of file FmiApplicationLayer.cpp.

#define SAVE_STOPS   "a603_stops.dat"

File name of the saved stops data.

Since
Protocol A603

Definition at line 35 of file FmiApplicationLayer.cpp.

#define SAVE_WAYPOINTS   "waypoints.dat"

File name of the saved waypoint data.

Since
Protocol A607

Definition at line 66 of file FmiApplicationLayer.cpp.

Function Documentation

static bool convertAnnotationRecord ( AobrdEventLogConverter converter,
std::vector< std::string > &  record,
void *  data 
)
static