Garmin Fleet Management Controller  2.19.0
garmin_types.h File Reference
#include "util_macros.h"
#include <limits.h>

Go to the source code of this file.

Classes

struct  date_time_data_type::_date
 Date portion of data type. More...
 
struct  date_time_data_type::_time
 Time portion of data type. More...
 
struct  date_time_data_type
 Date & time data type with separate fields for month, day, year, hour, minute, and second. More...
 
struct  double_position_type
 Indicates a latitude and longitude in radians. More...
 
struct  footer_type
 The packet footer (the bytes after the payload and checksum) More...
 
struct  gps_time_type
 Encapsulates the fields of a GPS time for conversion. More...
 
struct  header_type
 The packet header (the bytes before the payload) More...
 
struct  sc_position_type
 Indicates a latitude and longitude in semicircles. More...
 

Macros

#define FALSE   0
 
#define ID_ACK_BYTE   6
 
#define ID_DLE_BYTE   16
 
#define ID_ETX_BYTE   3
 
#define ID_NAK_BYTE   21
 
#define MAX_PACKET_SIZE   ( 1 + 1 + 2 * 1 + 2 * MAX_PAYLOAD_SIZE + 2 * 1 + 1 + 1 )
 Maximum packet size that can be transmitted. More...
 
#define MAX_PAYLOAD_SIZE   ( 255 )
 Maximum payload size, before DLE stuffing. More...
 
#define MIN_PACKET_SIZE   ( 1 + 1 + 1 + 0 + 1 + 1 + 1 )
 Minimum packet size: DLE + Packet ID + Payload Size + Data + Checksum + DLE + ETX. More...
 
#define SIZE_OF_FOOTER   (1 + 1 )
 Size of packet footer (after payload and checksum) More...
 
#define SIZE_OF_HEADER   ( 1 + 1 + 1 )
 Size of packet header, before DLE stuffing. More...
 
#define TRUE   1
 

Typedefs

typedef unsigned char boolean
 8-bit value representing FALSE (0) or TRUE (nonzero) More...
 
typedef float float32
 32-bit IEEE-format floating point data. (1 sign bit, 8 exponent bits, and 23 mantissa bits) More...
 
typedef double float64
 64-bit IEEE-format floating point data. (1 sign bit, 11 exponent bits, and 52 mantissa bits) More...
 
typedef uint8 id_type
 Garmin packet ID. More...
 
typedef signed short int sint16
 16-bit signed integer More...
 
typedef signed long int sint32
 32-bit signed integer More...
 
typedef signed char sint8
 8-bit signed integer More...
 
typedef uint32 time_type
 Absolute time (number of seconds since 12/31/1989 12:00 am UTC) More...
 
typedef unsigned short int uint16
 16-bit unsigned integer More...
 
typedef unsigned long int uint32
 32-bit unsigned integer More...
 
typedef unsigned char uint8
 8-bit unsigned integer More...
 

Functions

 _compiler_assert (CHAR_BIT==8, _FMI_H_)
 
 _compiler_assert (sizeof(boolean)==1, _FMI_H_)
 
 _compiler_assert (sizeof(sint8)==1, _FMI_H_)
 
 _compiler_assert (sizeof(uint16)==2, _FMI_H_)
 
 _compiler_assert (sizeof(sint16)==2, _FMI_H_)
 
 _compiler_assert (sizeof(uint32)==4, _FMI_H_)
 
 _compiler_assert (sizeof(sint32)==4, _FMI_H_)
 
 _compiler_assert (sizeof(float32)==4, _FMI_H_)
 
 _compiler_assert (sizeof(float64)==8, _FMI_H_)
 

Macro Definition Documentation

#define FALSE   0

Definition at line 46 of file garmin_types.h.

Referenced by CMapViewerDlg::addAvoidanceToCatalog(), CFileTransferDlg::AddPSRtoStopList(), CMapViewerDlg::addRouteToCatalog(), CMapViewerDlg::addStopToCatalog(), CFileTransferDlg::CFileTransferDlg(), CFileTransferProgressDlg::CFileTransferProgressDlg(), cleanupParentFolder(), ClientListItem::ClientListItem(), CFileConverterDlg::CreateChildProcess(), CStaticLink::CStaticLink(), CFmiPcAppDlg::doOpenLogFileQuestion(), extractMultiPart(), FmiApplicationLayer::FmiApplicationLayer(), GarminLinkLayer::getPacketFromFifo(), CCustomFormsDlg::importForm(), CFmiApplication::InitInstance(), TcpIpPort::initTcpPort(), CWebBrowser2::InvokeScript(), CMapViewerDlg::OnBeforeNavigate2(), CFmiPcAppDlg::OnBnClickedAutoETA(), CFmiPcAppDlg::OnBnClickedAutoStatusUpdates(), CFmiPcAppDlg::OnBnClickedCannedResponses(), CMsgThrottlingDlg::OnBnClickedCheckAll(), CFmiPcAppDlg::OnBnClickedCheckPVT(), CFileConverterDlg::OnBnClickedChoose(), CDriverLoginDlg::OnBnClickedDelete(), CAobrdDriverShipmentsDlg::OnBnClickedDelete(), CAobrdDriversDlg::OnBnClickedDelete(), CFmiPcAppDlg::OnBnClickedEnable(), CAutoArrivalDlg::OnBnClickedEnabled(), CCommErrorDlg::OnBnClickedExit(), CFileTransferDlg::OnBnClickedFind(), CFileConverterDlg::OnBnClickedFind(), CFmiPcAppDlg::OnBnClickedIdStatus(), CFmiPcAppDlg::OnBnClickedManageCannedMsg(), CFmiPcAppDlg::OnBnClickedManageStops(), CAobrdDriverShipmentsDlg::OnBnClickedNew(), CFeatureDlg::OnBnClickedOk(), CFileConverterDlg::OnBnClickedOk(), CLogViewerDlg::OnBnClickedSaveAs(), CDashcamDlg::OnBnClickedSelectAll(), CAobrdDriverShipmentsDlg::OnBnClickedSet(), CAobrdDriversDlg::OnBnClickedSet(), CFmiPcAppDlg::OnBnClickedWaypoints(), CSpeedLimitAlertsDlg::OnCbnSelchangeSpeedLimitCboMode(), CStopListDlg::OnCbnSelChangeUpdateOption(), CUITextChangeDlg::OnChange(), CAobrdDriversDlg::OnChangeDriverData(), CAobrdDriverShipmentsDlg::OnChangeShipmentData(), CDashcamNtfctnDlg::OnClose(), CDashcamDlg::OnClose(), CFileConverterDlg::OnComboChanged(), CDashcamDlg::OnDashcamGetSettingsResponse(), CDriverIdAndStatusDlg::OnDriverIdChanged(), CDriverIdAndStatusDlg::OnDriverStatusChanged(), CSendAlertDlg::OnEnChangeAlertText(), CAobrdOdometerDlg::OnEnChangeAobrdOdometer(), CAutoArrivalDlg::OnEnChangeEditBox(), CCannedTxtMsgDlg::OnEnChangeEditBoxes(), CDriverLoginDlg::OnEnChangeEditBoxes(), CDriverIdAndStatusDlg::OnEnChangeEditDriverId(), CTxtMsgNewDlg::OnEnChangeEditFields(), CTxtMsgStatusRequestDlg::OnEnChangeEditMsgId(), CTxtMsgDeleteRequestDlg::OnEnChangeEditMsgId(), CDriverIdAndStatusDlg::OnEnChangeEditSet(), CFileTransferDlg::OnEnChangeFile(), CFileConverterDlg::OnEnChangeFile(), CStopListDlg::OnEnChangeMoveTo(), CManageCannedResponseDlg::OnEnChangeRspBoxes(), CSafeModeDlg::OnEnChangeSafeModeSpeed(), CSendSensorDlg::OnEnChangeSensorDescription(), CSendSensorDlg::OnEnChangeSensorName(), CSendSensorDlg::OnEnChangeSensorStatus(), CWaypointDlg::OnEnChangeWptEdit(), CFmiPcAppDlg::OnEventEsnReceived(), CFmiPcAppDlg::OnEventEtaModeReceived(), CStopListDlg::OnEventEtaReceived(), CFmiPcAppDlg::OnEventEtaReceived(), CFmiPcAppDlg::OnEventProductIdReceived(), CFmiPcAppDlg::OnEventProtocolsReceived(), CFmiPcAppDlg::OnEventPvtReceived(), CFmiPcAppDlg::OnEventStopDone(), CStopListDlg::OnEventStopListChanged(), CFileTransferProgressDlg::OnFileTransferProgress(), CFileTransferProgressDlg::OnFileTransferStateChange(), CStopNewDlg::OnFormChanged(), CDashcamNtfctnDlg::OnGetNtfctnSettingsResponse(), CGpiQueryDlg::OnGpiInfoReceived(), CAutoArrivalDlg::OnInitDialog(), CAobrdDriversDlg::OnInitDialog(), CTxtMsgAckDlg::OnInitDialog(), CDriverIdAndStatusDlg::OnInitDialog(), CTxtMsgFromClient::OnInitDialog(), CDriverLoginDlg::OnInitDialog(), CAobrdDriverShipmentsDlg::OnInitDialog(), CStopListDlg::OnInitDialog(), CStopNewDlg::OnInitDialog(), CTxtMsgStatusDlg::OnInitDialog(), CWaypointDlg::OnInitDialog(), CMsgThrottlingDlg::OnInitDialog(), CDashcamNtfctnDlg::OnInitDialog(), CFileConverterDlg::OnInitDialog(), CDashcamDlg::OnInitDialog(), CLogViewerDlg::OnInitDialog(), CFmiPcAppDlg::OnInitDialog(), CDriverLoginDlg::OnLbnSelchangeDriverList(), CAobrdDriversDlg::OnLbnSelchangeDriverList(), CLogViewerDlg::OnLbnSelchangeLog(), CCannedTxtMsgDlg::OnLbnSelchangeMsglist(), CManageCannedResponseDlg::OnLbnSelchangeResponselist(), CAobrdDriverShipmentsDlg::OnLbnSelchangeShipmentList(), CDriverIdAndStatusDlg::OnLbnSelchangeStatuslist(), CDashcamNtfctnDlg::OnReevaluate(), CDashcamDlg::OnReevaluate(), CHosSettingDlg::OnReevaluate(), CDashcamDlg::OnReevaluateLock(), CDashcamNtfctnDlg::OnRefreshNtfctnSettings(), CDashcamDlg::OnRefreshSettings(), CLogViewerDlg::OnSize(), CMsgThrottlingDlg::OnThrottleQueryResponse(), CFmiPcAppDlg::OnToolsConfigureHosPeriodicUpdates(), CFmiPcAppDlg::OnUpdateFileViewlog(), CFmiPcAppDlg::OnViewlog(), FmiApplicationLayer::procDriverStatusUpdate(), CFileConverterDlg::ReadFromPipe(), readLine(), LogParser::readLog(), readUntil(), CMapViewerDlg::removeItemsFromCatalog(), FmiLogParser::resendPacket(), CSendAlertDlg::reset(), CSendSensorDlg::reset(), CLogViewerDlg::resetView(), FmiApplicationLayer::rx(), CFmiPcAppDlg::selectComPort(), FmiApplicationLayer::sendDeleteWaypointCat(), FmiApplicationLayer::sendEnablePvtCommand(), FmiApplicationLayer::sendFile(), CMapViewerDlg::sendRouteToDevice(), CMapViewerDlg::sendStopToDevice(), CCustomFormsDlg::sendToDevice(), SerialPort::setBaudRate(), skipTo(), XMLTransformer::transform(), CFmiPcAppDlg::tryNextCommRate(), FmiApplicationLayer::txCommand(), unzip(), CTxtMsgNewDlg::updateDlgFields(), CLogViewerDlg::UpdateLogDisplay(), CPingStatusDlg::updateTextFields(), CLogViewerDlg::updateView(), UTIL_convert_date_time_to_seconds(), UTIL_convert_seconds_to_date_type(), and UTIL_format_time_string().

#define ID_ETX_BYTE   3
#define MAX_PACKET_SIZE   ( 1 + 1 + 2 * 1 + 2 * MAX_PAYLOAD_SIZE + 2 * 1 + 1 + 1 )

Maximum packet size that can be transmitted.

The longest packet that can be transmitted is (DLE + Packet ID + Payload Size + Payload + Checksum + DLE + ETX). The payload size, payload, and checksum can all be filled with 16 decimal before stuffing, thus requiring each byte to be DLE-stuffed. Although such a packet would have an incorrect checksum, it is nonetheless a possible packet that can be received.

Definition at line 31 of file garmin_types.h.

Referenced by FmiLogParser::getPacketDetail(), and FmiLogParser::resendPacket().

#define MAX_PAYLOAD_SIZE   ( 255 )
#define MIN_PACKET_SIZE   ( 1 + 1 + 1 + 0 + 1 + 1 + 1 )

Minimum packet size: DLE + Packet ID + Payload Size + Data + Checksum + DLE + ETX.

Definition at line 18 of file garmin_types.h.

Referenced by GarminLinkLayer::getPacketFromFifo().

#define SIZE_OF_FOOTER   (1 + 1 )

Size of packet footer (after payload and checksum)

Definition at line 37 of file garmin_types.h.

Referenced by FmiLogParser::getPacketDetail(), and GarminLinkLayer::getPacketFromFifo().

#define SIZE_OF_HEADER   ( 1 + 1 + 1 )

Size of packet header, before DLE stuffing.

Definition at line 34 of file garmin_types.h.

Referenced by GarminLinkLayer::getPacketFromFifo().

#define TRUE   1

Definition at line 45 of file garmin_types.h.

Referenced by CMapViewerDlg::activateStopOnDevice(), CMapViewerDlg::addAvoidanceToCatalog(), CMapViewerDlg::addRouteToCatalog(), CMapViewerDlg::addStopToCatalog(), cleanupParentFolder(), CMapViewerDlg::completeStopOnDevice(), CFileConverterDlg::CreateChildProcess(), CStaticLink::CtlColor(), CMapViewerDlg::deleteAvoidanceFromDevice(), CCustomFormsDlg::deleteFromDevice(), CMapViewerDlg::deleteRouteFromDevice(), CFmiPcAppDlg::doComPortQuestion(), CFmiPcAppDlg::doOpenLogFileQuestion(), extractMultiPart(), GarminLinkLayer::getPacketFromFifo(), CCustomFormsDlg::importForm(), CFmiPcAppDlg::initStopList(), CCustomFormsDlg::moveOnDevice(), CMapViewerDlg::moveStopOnDevice(), CMapViewerDlg::OnBeforeNavigate2(), CCustomFormsDlg::OnBeforeNavigate2(), CFmiPcAppDlg::OnBnClickedAutoETA(), CMsgThrottlingDlg::OnBnClickedCheckAll(), CFmiPcAppDlg::OnBnClickedCheckPVT(), CCannedTxtMsgDlg::OnBnClickedDelete(), CDriverLoginDlg::OnBnClickedDelete(), CManageCannedResponseDlg::OnBnClickedDelete(), CAobrdDriverShipmentsDlg::OnBnClickedDelete(), CAobrdDriversDlg::OnBnClickedDelete(), CDriverIdAndStatusDlg::OnBnClickedDelete(), CFmiPcAppDlg::OnBnClickedEnable(), CAutoArrivalDlg::OnBnClickedEnabled(), CFileTransferDlg::OnBnClickedFind(), CFileConverterDlg::OnBnClickedFind(), CLogViewerDlg::OnBnClickedFindNext(), CAobrdDriverShipmentsDlg::OnBnClickedNew(), CFeatureDlg::OnBnClickedOk(), CSafeModeDlg::OnBnClickedOk(), CAobrdOdometerDlg::OnBnClickedOk(), CTxtMsgStatusRequestDlg::OnBnClickedOk(), CSelectCommPortDlg::OnBnClickedOk(), CAutoArrivalDlg::OnBnClickedOk(), CUITextChangeDlg::OnBnClickedOk(), CTxtMsgDeleteRequestDlg::OnBnClickedOk(), CDeleteDataDlg::OnBnClickedOk(), CStopNewDlg::OnBnClickedOk(), CFileTransferDlg::OnBnClickedOk(), CSelectCannedResponseDlg::OnBnClickedOk(), CFileConverterDlg::OnBnClickedOk(), CTxtMsgNewDlg::OnBnClickedOk(), CDashcamDlg::OnBnClickedSelectAll(), CEtaModeDlg::OnBnClickedSend(), CCannedTxtMsgDlg::OnBnClickedSend(), CManageCannedResponseDlg::OnBnClickedSend(), CStopListDlg::OnBnClickedSend(), CFmiPcAppDlg::OnBnClickedSend(), CDriverIdAndStatusDlg::OnBnClickedSendDriverId(), CDriverIdAndStatusDlg::OnBnClickedSendDriverStatus(), CDriverIdAndStatusDlg::OnBnClickedSendDriverStatusItem(), CDriverLoginDlg::OnBnClickedSet(), CAobrdDriverShipmentsDlg::OnBnClickedSet(), CAobrdDriversDlg::OnBnClickedSet(), CFileTransferProgressDlg::OnBnClickedStop(), CMsgThrottlingDlg::OnBnClickedUpdate(), CLogViewerDlg::OnBnClickedViewOther(), CWaypointDlg::OnBnClickedWptBtnCreateCat(), CWaypointDlg::OnBnClickedWptBtnDelete(), CWaypointDlg::OnBnClickedWptBtnDeleteCat(), CWaypointDlg::OnBnClickedWptBtnSend(), CTxtMsgNewDlg::OnCbnSelChangeMsgProtocol(), CSpeedLimitAlertsDlg::OnCbnSelchangeSpeedLimitCboMode(), CStopListDlg::OnCbnSelChangeUpdateOption(), CUITextChangeDlg::OnChange(), CAobrdDriversDlg::OnChangeDriverData(), CAobrdDriverShipmentsDlg::OnChangeShipmentData(), CStaticLink::OnClicked(), CDashcamNtfctnDlg::OnClose(), CDashcamDlg::OnClose(), CCommErrorDlg::OnCloseHelper(), CFileConverterDlg::OnComboChanged(), CDashcamDlg::OnDashcamGetSettingsResponse(), CAobrdOdometerDlg::OnEnChangeAobrdOdometer(), CAutoArrivalDlg::OnEnChangeEditBox(), CCannedTxtMsgDlg::OnEnChangeEditBoxes(), CDriverLoginDlg::OnEnChangeEditBoxes(), CDriverIdAndStatusDlg::OnEnChangeEditDriverId(), CTxtMsgNewDlg::OnEnChangeEditFields(), CTxtMsgStatusRequestDlg::OnEnChangeEditMsgId(), CTxtMsgDeleteRequestDlg::OnEnChangeEditMsgId(), CDriverIdAndStatusDlg::OnEnChangeEditSet(), CFileTransferDlg::OnEnChangeFile(), CFileConverterDlg::OnEnChangeFile(), CStopListDlg::OnEnChangeMoveTo(), CManageCannedResponseDlg::OnEnChangeRspBoxes(), CSafeModeDlg::OnEnChangeSafeModeSpeed(), CWaypointDlg::OnEnChangeWptEdit(), CFmiPcAppDlg::OnEventCannedMessageDlgClosed(), CFmiPcAppDlg::OnEventCannedResponseDlgClosed(), CFmiPcAppDlg::OnEventCommTimeout(), CFmiPcAppDlg::OnEventDriverIdAndStatusDlgClosed(), CFmiPcAppDlg::OnEventEsnReceived(), CFmiPcAppDlg::OnEventEtaModeReceived(), CFmiPcAppDlg::OnEventEtaReceived(), CFmiPcAppDlg::OnEventLogViewerClosed(), CFmiPcAppDlg::OnEventProductIdReceived(), CFmiPcAppDlg::OnEventPvtReceived(), CFmiPcAppDlg::OnEventStopDone(), CStopListDlg::OnEventStopListChanged(), CFmiPcAppDlg::OnEventStopListDlgClosed(), CFmiPcAppDlg::OnEventWaypointDlgClosed(), CFileTransferProgressDlg::OnFileTransferStateChange(), CStopNewDlg::OnFormChanged(), CDashcamNtfctnDlg::OnGetNtfctnSettingsResponse(), CDriverIdAndStatusDlg::OnIndexChanged(), CSendAlertDlg::OnInitDialog(), CSendSensorDlg::OnInitDialog(), CAboutDlg::OnInitDialog(), CSelectCommPortDlg::OnInitDialog(), CCommErrorDlg::OnInitDialog(), CAutoArrivalDlg::OnInitDialog(), CSafeModeDlg::OnInitDialog(), CUITextChangeDlg::OnInitDialog(), CEtaModeDlg::OnInitDialog(), CTxtMsgStatusRequestDlg::OnInitDialog(), CAobrdOdometerDlg::OnInitDialog(), CCannedTxtMsgDlg::OnInitDialog(), CDeleteDataDlg::OnInitDialog(), CMapViewerDlg::OnInitDialog(), CTimeOfDayPickerDlg::OnInitDialog(), CTxtMsgDeleteRequestDlg::OnInitDialog(), CPingStatusDlg::OnInitDialog(), CAobrdDriversDlg::OnInitDialog(), CTxtMsgFromClient::OnInitDialog(), CDriverIdAndStatusDlg::OnInitDialog(), CGpiQueryDlg::OnInitDialog(), CAobrdDriverShipmentsDlg::OnInitDialog(), CTxtMsgAckDlg::OnInitDialog(), CDriverLoginDlg::OnInitDialog(), CStopListDlg::OnInitDialog(), CManageCannedResponseDlg::OnInitDialog(), CStopNewDlg::OnInitDialog(), CFileTransferProgressDlg::OnInitDialog(), CCustomFormsDlg::OnInitDialog(), CFileTransferDlg::OnInitDialog(), CTxtMsgStatusDlg::OnInitDialog(), CWaypointDlg::OnInitDialog(), CHosSettingDlg::OnInitDialog(), CSelectCannedResponseDlg::OnInitDialog(), CDashcamNtfctnDlg::OnInitDialog(), CMsgThrottlingDlg::OnInitDialog(), CFileConverterDlg::OnInitDialog(), CSpeedLimitAlertsDlg::OnInitDialog(), CDashcamDlg::OnInitDialog(), CLogViewerDlg::OnInitDialog(), CTxtMsgNewDlg::OnInitDialog(), CFmiPcAppDlg::OnInitDialog(), CDriverLoginDlg::OnLbnSelchangeDriverList(), CAobrdDriversDlg::OnLbnSelchangeDriverList(), CLogViewerDlg::OnLbnSelchangeLog(), CAobrdDriverShipmentsDlg::OnLbnSelchangeShipmentList(), CDriverIdAndStatusDlg::OnLbnSelchangeStatuslist(), CDashcamNtfctnDlg::OnRefreshNtfctnSettings(), CDashcamDlg::OnRefreshSettings(), CMsgThrottlingDlg::OnThrottleQueryResponse(), CFmiPcAppDlg::OnToolsHOSSetStartTimeOfDay(), CFmiPcAppDlg::OnUpdateFileRebootDevice(), CFmiPcAppDlg::OnUpdateFileViewlog(), FmiApplicationLayer::procDriverStatusUpdate(), InboxListItem::readFromStream(), DriverLoginItem::readFromStream(), ClientListItem::readFromStream(), AobrdDriverItem::readFromStream(), readLine(), LogParser::readLog(), readUntil(), CMapViewerDlg::removeItemsFromCatalog(), CCustomFormsDlg::requestPosition(), CLogViewerDlg::resetView(), FmiApplicationLayer::rx(), CFmiPcAppDlg::selectComPort(), CMapViewerDlg::sendAvoidanceToDevice(), FmiApplicationLayer::sendEnable(), FmiApplicationLayer::sendEnablePvtCommand(), CMapViewerDlg::sendRouteToDevice(), CMapViewerDlg::sendStopToDevice(), CCustomFormsDlg::sendToDevice(), CMapViewerDlg::setAvoidanceEnabled(), SerialPort::setBaudRate(), CCustomFormsDlg::showForm(), skipTo(), FmiApplicationLayer::stopFileTransfer(), unzip(), CTxtMsgNewDlg::updateDlgFields(), CLogViewerDlg::UpdateLogDisplay(), CLogViewerDlg::updateView(), UTIL_convert_date_time_to_seconds(), UTIL_convert_seconds_to_date_type(), and UTIL_format_time_string().

Typedef Documentation

typedef unsigned char boolean

8-bit value representing FALSE (0) or TRUE (nonzero)

Definition at line 52 of file garmin_types.h.

typedef float float32

32-bit IEEE-format floating point data. (1 sign bit, 8 exponent bits, and 23 mantissa bits)

Definition at line 70 of file garmin_types.h.

typedef double float64

64-bit IEEE-format floating point data. (1 sign bit, 11 exponent bits, and 52 mantissa bits)

Definition at line 74 of file garmin_types.h.

typedef uint8 id_type

Garmin packet ID.

See also
id_enum for supported values

Definition at line 101 of file garmin_types.h.

typedef signed short int sint16

16-bit signed integer

Definition at line 57 of file garmin_types.h.

typedef signed long int sint32

32-bit signed integer

Definition at line 59 of file garmin_types.h.

typedef signed char sint8

8-bit signed integer

Definition at line 55 of file garmin_types.h.

typedef uint32 time_type

Absolute time (number of seconds since 12/31/1989 12:00 am UTC)

The time_type is used to indicate an absolute time. It is an unsigned 32-bit integer and its value is the number of seconds since 12:00 am, December 31, 1989 UTC. A hex value of 0xFFFFFFFF represents an invalid time, and the client will ignore the time.

Definition at line 97 of file garmin_types.h.

typedef unsigned short int uint16

16-bit unsigned integer

Definition at line 64 of file garmin_types.h.

typedef unsigned long int uint32

32-bit unsigned integer

Definition at line 66 of file garmin_types.h.

typedef unsigned char uint8

8-bit unsigned integer

Definition at line 62 of file garmin_types.h.

Function Documentation

_compiler_assert ( CHAR_BIT  = =8,
_FMI_H_   
)
_compiler_assert ( sizeof(boolean = =1,
_FMI_H_   
)
_compiler_assert ( sizeof(sint8 = =1,
_FMI_H_   
)
_compiler_assert ( sizeof(uint16 = =2,
_FMI_H_   
)
_compiler_assert ( sizeof(sint16 = =2,
_FMI_H_   
)
_compiler_assert ( sizeof(uint32 = =4,
_FMI_H_   
)
_compiler_assert ( sizeof(sint32 = =4,
_FMI_H_   
)
_compiler_assert ( sizeof(float32 = =4,
_FMI_H_   
)
_compiler_assert ( sizeof(float64 = =8,
_FMI_H_   
)