Garmin Fleet Management Controller  2.19.0
CFmiPcAppDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CFmiPcAppDlg.h
5 *
6 * Copyright 2008-2012 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CFmiPcAppDlg_H
11 #define CFmiPcAppDlg_H
12 
13 class CFmiPcAppDlg;
14 
15 #include "FmiApplicationLayer.h"
16 #include "util.h"
17 #include "CCommErrorDlg.h"
18 #include "CLogViewerDlg.h"
19 #include "CWndEventListener.h"
20 
21 #include "CStopListDlg.h"
22 
23 #if FMI_SUPPORT_A604
24 #include "CTxtMsgStatusDlg.h"
26 #include "CCannedTxtMsgDlg.h"
27 #include "CDriverIdAndStatusDlg.h"
28 #endif
29 
30 #if FMI_SUPPORT_A607
31 #include "CWaypointDlg.h"
32 #endif
33 #if FMI_SUPPORT_A612
34 #include "CCustomFormsDlg.h"
35 #endif
36 #if FMI_SUPPORT_A613
37 #include "CMapViewerDlg.h"
38 #endif
39 #if FMI_SUPPORT_A615
40 #include "CIftaDlg.h"
41 #endif
42 #if FMI_SUPPORT_A617
43 #include "CSendAlertDlg.h"
44 #include "CSendSensorDlg.h"
45 #endif
46 #if CDT_SUPPORT
47 #include "CCdtChatDlg.h"
48 #include "CCdtPingDlg.h"
49 #endif
50 #if FMI_SUPPORT_A622
51 #include "CDashcamDlg.h"
52 #include "CDashcamNtfctnDlg.h"
54 #include "CFileConverterDlg.h"
55 #endif
56 
57 //----------------------------------------------------------------------
63 //----------------------------------------------------------------------
64 class CFmiPcAppDlg : public CDialog, public CWndEventListener
65 {
66  DECLARE_MESSAGE_MAP()
67 
68 public:
70  (
71 #if( FMI_SUPPORT_A602 )
72  id_type freeformFmiPacketId,
73 #endif
74  CWnd * aParent = NULL
75  );
76  ~CFmiPcAppDlg();
77 
78 protected:
79  virtual void DoDataExchange
80  (
81  CDataExchange * aDataExchange
82  );
83  virtual BOOL OnInitDialog();
84 
85  afx_msg void OnBnClickedCheckPVT();
86  afx_msg void OnBnClickedChgComPort();
87  afx_msg void OnBnClickedEnable();
88  afx_msg void OnBnClickedManageStops();
89  afx_msg void OnBnClickedOk();
90  afx_msg void OnBnClickedTxt();
91  afx_msg void OnBnClickedViewlog();
92 
93  afx_msg LRESULT OnEventCommTimeout( WPARAM, LPARAM );
94  afx_msg LRESULT OnEventCommErrorDlgClosed( WPARAM, LPARAM );
95  afx_msg LRESULT OnEventEsnReceived( WPARAM, LPARAM );
96  afx_msg LRESULT OnEventLogViewerClosed( WPARAM, LPARAM );
97  afx_msg LRESULT OnEventMainDlgInit( WPARAM, LPARAM );
98  afx_msg LRESULT OnEventProductIdReceived( WPARAM, LPARAM );
99  afx_msg LRESULT OnEventProtocolsReceived( WPARAM, LPARAM );
100  afx_msg LRESULT OnEventPvtReceived( WPARAM, LPARAM );
101 
102  afx_msg void OnFileClearPacketLog();
103  afx_msg void OnFileClose();
104  afx_msg void OnHelpAbout();
105  afx_msg void OnPaint();
106  afx_msg HCURSOR OnQueryDragIcon();
107  afx_msg void OnSysCommand
108  (
109  UINT nID,
110  LPARAM lParam
111  );
112  afx_msg void OnTimer
113  (
114  UINT aTimerId
115  );
116  afx_msg void OnUpdateFileViewlog
117  (
118  CCmdUI * aCmdUI
119  );
120  afx_msg void OnViewlog
121  (
122  BOOL aOpenOther = FALSE
123  );
124 
125  void doComPortQuestion();
126  void doOpenLogFileQuestion();
127 
128  CString getProductName
129  (
130  uint16 aProductId
131  );
132  void initProductNames();
133  void initStopList();
134  BOOL selectComPort();
135 
136  afx_msg LRESULT OnEventStopListDlgClosed( WPARAM, LPARAM );
137 
138 #if FMI_SUPPORT_A602
139  afx_msg void OnBnClickedSend();
140  afx_msg LRESULT OnEventTextMsgAck
141  (
142  WPARAM,
143  LPARAM aEventDataPtr
144  );
145 #endif
146 
147 #if FMI_SUPPORT_A603
148  afx_msg void OnBnClickedAutoETA();
149  afx_msg void OnBnClickedChgAutoArvl();
150  afx_msg void OnBnClickedDelData();
151  afx_msg void OnBnClickedReqETA();
152 
153  afx_msg LRESULT OnEventEtaReceived( WPARAM, LPARAM );
154  afx_msg LRESULT OnEventStopDone( WPARAM, LPARAM );
155  afx_msg LRESULT OnEventTxtMsgFromClient
156  (
157  WPARAM,
158  LPARAM aEventDataPtr
159  );
160 #endif
161 
162 #if FMI_SUPPORT_A604
163  afx_msg void OnBnClickedCannedResponses();
164  afx_msg void OnBnClickedIdStatus();
165  afx_msg void OnBnClickedFileTrans();
166  afx_msg void OnBnClickedGpiQuery();
167  afx_msg void OnBnClickedManageCannedMsg();
168  afx_msg void OnBnClickedMsgStatus();
169  afx_msg void OnBnClickedMsgThrottling();
170  afx_msg void OnBnClickedPing();
171  afx_msg void OnBnClickedUiTxtChg();
172 
173  afx_msg LRESULT OnEventCannedMessageDlgClosed( WPARAM, LPARAM );
174  afx_msg LRESULT OnEventCannedResponseDlgClosed( WPARAM, LPARAM );
175  afx_msg LRESULT OnEventCannedRespListReceiptError
176  (
177  WPARAM aResultCode,
178  LPARAM
179  );
180  afx_msg LRESULT OnEventDriverIdAndStatusDlgClosed( WPARAM, LPARAM );
181  afx_msg LRESULT OnEventDriverStatusListDeleteFailed( WPARAM, LPARAM );
182  afx_msg LRESULT OnEventFmiDisabled( WPARAM, LPARAM );
183  afx_msg LRESULT OnEventMsgThrottleFailed( WPARAM, LPARAM );
184  afx_msg LRESULT OnEventOpenTextMsgError
185  (
186  WPARAM,
187  LPARAM aEventDataPtr
188  );
189  afx_msg LRESULT OnEventTxtMsgStatus( WPARAM, LPARAM );
190  afx_msg LRESULT OnEventUserInterfaceTextChangeFailed( WPARAM, LPARAM );
191 #endif
192 #if (FMI_SUPPORT_A606)
193  afx_msg LRESULT OnEventFmiSafeModeError( WPARAM, LPARAM );
194  afx_msg void OnBnClickedSafeMode();
195 #endif
196 #if FMI_SUPPORT_A607
197  afx_msg void OnBnClickedMsgDelete();
198  afx_msg void OnBnClickedWaypoints();
199 
200  afx_msg LRESULT OnEventDeleteTextMessageStatus
201  (
202  WPARAM aEventData,
203  LPARAM
204  );
205  afx_msg LRESULT OnEventWaypointDlgClosed( WPARAM, LPARAM );
206 #endif
207 #if( FMI_SUPPORT_A608 )
208  afx_msg void OnBnClickedSpeedLimit();
209 #endif
210 #if( FMI_SUPPORT_A609 )
211  afx_msg void OnUpdateFileRebootDevice
212  (
213  CCmdUI * aCmdUI
214  );
215  afx_msg void OnFileRebootDevice();
216 #endif
217 #if( FMI_SUPPORT_A610 )
218  afx_msg void OnUpdateFileAOBRDDrivers
219  (
220  CCmdUI * aCmdUI
221  );
222  afx_msg void OnFileAOBRDDrivers();
223 
224  afx_msg LRESULT CFmiPcAppDlg::OnEventAobrdFileTransferReceived( WPARAM, LPARAM );
225  afx_msg void OnBnClickedAobrdOdometer();
226 #endif
227 #if( FMI_SUPPORT_A611 )
228  afx_msg LRESULT OnEventLongTextMsgError( WPARAM, LPARAM );
229 #endif
230 #if( FMI_SUPPORT_A612 )
231  afx_msg void OnToolsCustomForms();
232 #endif
233 #if( FMI_SUPPORT_A613 )
234  afx_msg void OnToolsMapViewer();
235 #endif
236 #if( FMI_SUPPORT_A615 )
237  afx_msg void OnToolsIfta();
238  afx_msg void OnBnClickedAutoStatusUpdates();
239  afx_msg void OnToolsHOS8HourRuleEnable();
240  afx_msg void OnToolsHOS8HourRuleDisable();
241 #endif
242 #if( FMI_SUPPORT_A616 )
243  afx_msg void OnBnClickedChangeBaudRate();
244  afx_msg LRESULT OnEventBaudRateSynchronizing( WPARAM, LPARAM );
245  afx_msg LRESULT OnEventBaudRateSynchronized( WPARAM, LPARAM );
246 #endif
247 #if( FMI_SUPPORT_A617 )
248  afx_msg void OnBnClickedSendAlert();
249  afx_msg void OnBnClickedSendSensor();
250 #endif
251 #if( FMI_SUPPORT_A619 )
252  afx_msg void OnToolsConfigureHosPeriodicUpdates();
253 #endif
254 #if( CDT_SUPPORT )
255  afx_msg LRESULT OnCDTPingReceived( WPARAM, LPARAM );
256  afx_msg LRESULT OnCDTPacketReceived( WPARAM, LPARAM );
257  afx_msg void OnToolsCDTChat();
258  afx_msg void OnToolsCDTPingOnce();
259  afx_msg void OnToolsCDTPingTool();
260 #endif
261 #if( FMI_SUPPORT_A619 )
262  afx_msg void OnToolsHOSSetStartTimeOfDay();
263 #endif
264 #if( FMI_SUPPORT_A622 )
265  afx_msg void OnToolsCameraSettings();
266  afx_msg void OnToolsCameraNtfctn();
267  afx_msg LRESULT OnEventDashcamNtfctnFromClient( WPARAM, LPARAM );
268  afx_msg LRESULT OnEventDashcamIncidentFileNtfctnFromClient( WPARAM, LPARAM );
269  afx_msg void OnToolsFileConverter();
270 #endif
271 #if( FMI_SUPPORT_A623 )
272  afx_msg void OnBnClickedETAMode();
273  afx_msg LRESULT OnEventEtaModeReceived( WPARAM, LPARAM );
274 #endif
275 
278 
281 
283  HICON mIconHandle;
284 
287 
292 
294  CString mUnitId;
295 
297  CString mGpsFix;
298 
300  CString mPvtDate;
301 
303  CString mPvtTime;
304 
306  CString mPvtLatitude;
307 
309  CString mPvtLongitude;
310 
312  CString mAltitude;
313 
316 
319 
322 
324  CString m2DVelocity;
325 
327  std::map<uint16, CString> mProductNames;
328 
330  CString mProductId;
331 
334 
337 
340 
343 
346 
347 #if FMI_SUPPORT_A602
348  CString mPacketId;
351 
354  CString mPacketData;
355 #endif
356 
357 #if FMI_SUPPORT_A603
358  BOOL mAutoEtaChecked;
361 
365 
369  UINT_PTR mEtaTimer;
370 
373  CString mEtaTime;
374 
377  CString mEtaDistance;
378 
381  CString mEtaLatitude;
382 
385  CString mEtaLongitude;
386 #endif
387 
388 #if FMI_SUPPORT_A604
393 
398 
403 
408 #endif
409 
410 #if FMI_SUPPORT_A607
414 #endif
415 
416 #if FMI_SUPPORT_A612
420 #endif
421 #if FMI_SUPPORT_A613
425 #endif
426 #if FMI_SUPPORT_A615
427  CIftaDlg * mIftaDlg;
430 #endif
431 #if FMI_SUPPORT_A616
432  BOOL mResolvingCommRate;
434 
436  CWordArray mRemainingRates;
437 
440  bool tryNextCommRate();
441 
444 #endif
445 #if FMI_SUPPORT_A617
452 #endif
453 #if CDT_SUPPORT
454  CCdtChatDlg * mCdtChatDlg;
459  CCdtPingDlg * mCdtPingDlg;
460 #endif
461 #if FMI_SUPPORT_A622
469 #endif
470 #if FMI_SUPPORT_A623
471  CString mEtaMode;
474 #endif
475 };
476 
477 #endif
afx_msg void OnBnClickedMsgThrottling()
Click handler for the Message Throttling button.
afx_msg LRESULT OnEventCommErrorDlgClosed(WPARAM, LPARAM)
Handle the Comm Error Dlg Closed event.
Main application dialog.
Definition: CFmiPcAppDlg.h:64
afx_msg void OnUpdateFileViewlog(CCmdUI *aCmdUI)
ON_UPDATE_COMMAND_UI handler for File > View Log menu item.
afx_msg void OnBnClickedSpeedLimit()
Click handler for the FMI Speed Limit Alerts button.
afx_msg LRESULT OnEventStopDone(WPARAM, LPARAM)
Handler for the Stop Done event from Com.
CString mEtaLatitude
Contents of the ETA Latitude text box (latitude of destination)
Definition: CFmiPcAppDlg.h:381
afx_msg void OnToolsFileConverter()
Handler for the Tools > File Converter action.
CWaypointDlg * mWaypointDlg
Pointer to the Waypoints dialog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:413
CString mSupportedProtocols
Contents of Protocols text box.
Definition: CFmiPcAppDlg.h:336
afx_msg LRESULT OnEventStopListDlgClosed(WPARAM, LPARAM)
Handler for Stop List Dialog Closed event.
LogParser * mLogParser
The log parser to use.
Definition: CFmiPcAppDlg.h:280
CString mPvtLatitude
Contents of PVT text box: Latitude.
Definition: CFmiPcAppDlg.h:306
afx_msg LRESULT OnEventCannedMessageDlgClosed(WPARAM, LPARAM)
Handler for Canned Text Message Dialog Closed event.
afx_msg LRESULT OnEventMainDlgInit(WPARAM, LPARAM)
Handler for Main Dialog Init question.
afx_msg HCURSOR OnQueryDragIcon()
The system calls this function to obtain the cursor to display while the user drags the minimized win...
Browser-based container for listing the Dashcam library.
afx_msg void OnToolsConfigureHosPeriodicUpdates()
Handler for the HOS Periodic Updates configuration button.
CFmiPcAppDlg(id_type freeformFmiPacketId, CWnd *aParent=NULL)
Constructor.
afx_msg LRESULT OnEventWaypointDlgClosed(WPARAM, LPARAM)
Handler for Stop List Dialog Closed event.
CFileConverterDlg * mFileConverterDlg
Pointer to the File Converter dailog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:468
afx_msg void OnTimer(UINT aTimerId)
WM_TIMER event handler.
Browser-based container for listing the Custom Avoidances library.
Definition: CMapViewerDlg.h:24
afx_msg void OnBnClickedDelData()
Click handler for the Delete Data button.
Dialog allowing the user to manage canned responses.
afx_msg void OnBnClickedManageCannedMsg()
Click handler for the Canned Messages button.
Modeless dialog allowing the user to manage the A603 stops on the client device.
Definition: CStopListDlg.h:25
afx_msg LRESULT OnEventTextMsgAck(WPARAM, LPARAM aEventDataPtr)
Handler for the Text Message Ack Received event from Com.
CString mUpDownVelocity
Contents of PVT text box: Up-Down velocity.
Definition: CFmiPcAppDlg.h:321
afx_msg void OnToolsHOS8HourRuleDisable()
Disable the HOS 8 Hour Rule on the device.
afx_msg void OnToolsCameraNtfctn()
Handler for the Tools > Camera > Notifications action.
afx_msg LRESULT OnEventFmiSafeModeError(WPARAM, LPARAM)
Handler for the FMI Safe Mode event from Com.
afx_msg void OnViewlog(BOOL aOpenOther=FALSE)
Display the log viewer.
Modal pop-up dialog displaying the status of a server to client text message.
Abstract base class for log item parsers.
Definition: LogParser.h:23
CString m2DVelocity
Contents of PVT text box: 2-D velocity.
Definition: CFmiPcAppDlg.h:324
void doOpenLogFileQuestion()
Ask the user whether to open a log file.
BOOL mPvtChecked
If true, the Enable PVT check box is selected.
Definition: CFmiPcAppDlg.h:286
afx_msg void OnFileAOBRDDrivers()
Handler for the File > AOBRD Drivers.
afx_msg void OnBnClickedIdStatus()
Click handler for the Driver ID and Status button.
afx_msg void OnBnClickedCheckPVT()
Click handler for the Enable PVT check box.
CCannedTxtMsgDlg * mCannedTxtMsgDlg
Pointer to the Canned Text Message dialog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:402
uint8 id_type
Garmin packet ID.
Definition: garmin_types.h:101
Form for sending A617 alerts to the device.
Definition: CSendAlertDlg.h:10
Dialog allowing the user to manage the list of canned messages on the client.
afx_msg LRESULT OnEventEtaModeReceived(WPARAM, LPARAM)
Handler for the ETA Mode Received event from Com.
CTxtMsgStatusDlg * mTxtMsgStatusDlg
Pointer to the message status dialog, or NULL if no text message status dialog is displayed...
Definition: CFmiPcAppDlg.h:392
CStopListDlg * mStopListDlg
Pointer to the stop list dialog, or NULL if the dialog is not open.
Definition: CFmiPcAppDlg.h:345
Modeless log viewer dialog.
Definition: CLogViewerDlg.h:31
CWordArray mRemainingRates
List of rates to try when first establishing communication.
Definition: CFmiPcAppDlg.h:436
afx_msg LRESULT OnEventAobrdFileTransferReceived(WPARAM, LPARAM)
Attempt to convert received file into human-readable CSV.
afx_msg void OnBnClickedManageStops()
Click handler for the Manage Stops button.
CString mPvtDate
Contents of PVT text box: Date.
Definition: CFmiPcAppDlg.h:300
CString getProductName(uint16 aProductId)
Translate a product ID into a display name.
#define FALSE
Definition: garmin_types.h:46
afx_msg void OnToolsHOS8HourRuleEnable()
Enable the HOS 8 Hour Rule on the device.
CString mUnitId
Contents of the Unit ID (ESN) text box.
Definition: CFmiPcAppDlg.h:294
virtual BOOL OnInitDialog()
Initialize the dialog.
Browser-based container for listing the Custom Forms library.
afx_msg void OnBnClickedChgAutoArvl()
Click handler for the Change Auto-Arrival button.
void doComPortQuestion()
Ask the user to select a mCom port.
Browser-based container for listing the Dashcam library.
Definition: CDashcamDlg.h:21
bool mEtaTimerEnabled
If true, mEtaTimer is a valid timer ID.
Definition: CFmiPcAppDlg.h:364
CString mEtaDistance
Contents of the ETA Distance text box (distance to destination)
Definition: CFmiPcAppDlg.h:377
afx_msg void OnBnClickedSendAlert()
Handler for the Send Alert button.
afx_msg LRESULT OnEventDashcamNtfctnFromClient(WPARAM, LPARAM)
Handler for the Dashcam Notification Received event from Com.
CString mEtaTime
Contents of the ETA Time text box (arrival time at destination)
Definition: CFmiPcAppDlg.h:373
CString mEtaMode
Contents of the ETA Mode text box.
Definition: CFmiPcAppDlg.h:473
afx_msg LRESULT OnEventMsgThrottleFailed(WPARAM, LPARAM)
Handler for the Message Throttle Failed event from Com.
CManageCannedResponseDlg * mCannedResponseDlg
Pointer to the Canned Response dialog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:397
Modeless dialog allowing the user to manage waypoints.
Definition: CWaypointDlg.h:24
afx_msg void OnUpdateFileRebootDevice(CCmdUI *aCmdUI)
ON_UPDATE_COMMAND_UI handler for File > Reboot Device menu item.
CLogViewerDlg * mLogViewerDlg
Pointer to the log viewer dialog, or NULL if the dialog is not open.
Definition: CFmiPcAppDlg.h:342
afx_msg void OnBnClickedAobrdOdometer()
Click handler for the AOBRD Set Odometer button.
afx_msg LRESULT OnEventLogViewerClosed(WPARAM, LPARAM)
Handler for Log Viewer Closed event.
HICON mIconHandle
Handle to the dialog&#39;s icon.
Definition: CFmiPcAppDlg.h:283
afx_msg LRESULT OnEventCannedResponseDlgClosed(WPARAM, LPARAM)
Handler for Canned Response Dialog Closed event.
afx_msg void OnToolsCustomForms()
Handler for the Tools > Custom Forms action.
afx_msg void OnFileClearPacketLog()
Handler for the File > Clear Packet Log action.
afx_msg void OnToolsCameraSettings()
Handler for the Tools > Camera > Settings action.
afx_msg void OnBnClickedMsgDelete()
Click handler for the Message Delete button.
Form for interacting with IFTA data on the device.
Definition: CIftaDlg.h:21
afx_msg void OnBnClickedCannedResponses()
Click handler for the Canned Responses button.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
afx_msg LRESULT OnEventUserInterfaceTextChangeFailed(WPARAM, LPARAM)
Handler for the UI Text Change Failed event from Com.
afx_msg LRESULT OnEventCannedRespListReceiptError(WPARAM aResultCode, LPARAM)
Handler for the Canned Response List Rcpt Error event.
afx_msg void OnPaint()
Handler for WM_PAINT message. If the dialog is minimized, draw the icon centered in the client rectan...
UINT_PTR mEtaTimer
Pointer to the timer ID for the ETA timer (used to disable the timer when needed) ...
Definition: CFmiPcAppDlg.h:369
afx_msg LRESULT OnEventDriverIdAndStatusDlgClosed(WPARAM, LPARAM)
Handler for Driver ID and Status Dialog Closed event.
std::map< uint16, CString > mProductNames
Map of numeric product IDs to displayable names.
Definition: CFmiPcAppDlg.h:327
CString mPvtLongitude
Contents of PVT text box: Longitude.
Definition: CFmiPcAppDlg.h:309
afx_msg void OnBnClickedAutoStatusUpdates()
Handler for the Auto Status Updates button.
CMapViewerDlg * mMapViewerDlg
Pointer to the Map Viewer dailog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:424
CString mGpsFix
Contents of PVT text box: GPS fix.
Definition: CFmiPcAppDlg.h:297
BOOL mResolvingCommRate
flag for determining if communication rate is being resolved
Definition: CFmiPcAppDlg.h:433
CSendSensorDlg * mSendSensorDlg
Pointer to the Add/Delete Sensor dailog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:451
CString mPvtTime
Contents of PVT text box: Time.
Definition: CFmiPcAppDlg.h:303
afx_msg void OnBnClickedViewlog()
Click handler for the View Packet Log button.
bool tryNextCommRate()
Used in conjunction with mRemainingRates to cycle through available rates when initializing communica...
Serial communication controller for Garmin and FMI packets.
CString mEtaLongitude
Contents of the ETA Longitude text box (longitude of destination)
Definition: CFmiPcAppDlg.h:385
afx_msg LRESULT OnEventLongTextMsgError(WPARAM, LPARAM)
Handler for the Server to Client Long Text Message Error event from Com.
afx_msg LRESULT OnEventProductIdReceived(WPARAM, LPARAM)
Handler for the Product ID Received event from Com.
afx_msg void OnBnClickedUiTxtChg()
Click handler for the Change UI Text button.
afx_msg void OnBnClickedChgComPort()
Click handler for the Change Com Port button.
afx_msg LRESULT OnEventCommTimeout(WPARAM, LPARAM)
Display the Com Time Out error dialog.
#define FMI_SUPPORT_A602
If true, app was build with support for A602 protocols.
Definition: fmi.h:27
File conversion tool to support various GPS file formats.
FmiApplicationLayer mCom
The FmiApplicationLayer object used to communicate with the client.
Definition: CFmiPcAppDlg.h:277
EventListener that dispatches a Windows message.
Modeless dialog allowing the user to query and update Driver ID and Status on the client...
unsigned short int uint16
16-bit unsigned integer
Definition: garmin_types.h:64
afx_msg void OnFileClose()
Handler for the File > Close action. Close the app.
afx_msg void OnBnClickedSend()
Click handler for the Send (FMI Packet) button.
CString mPacketData
Contents of the FMI Packet (payload) edit box.
Definition: CFmiPcAppDlg.h:354
CCustomFormsDlg * mCustomFormsDlg
Pointer to the Custom Forms dailog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:419
afx_msg LRESULT OnEventEsnReceived(WPARAM, LPARAM)
Handler for the Unit ID (ESN) Received event from Com.
afx_msg LRESULT OnEventProtocolsReceived(WPARAM, LPARAM)
Handler for the Protocols Received event from Com.
afx_msg void OnBnClickedReqETA()
Click handler for the Request ETA button.
afx_msg void OnBnClickedSendSensor()
Handler for the Add/Delete Sensor button.
afx_msg void OnUpdateFileAOBRDDrivers(CCmdUI *aCmdUI)
ON_UPDATE_COMMAND_UI handler for File > AOBRD Drivers menu item.
CString mEastWestVelocity
Contents of PVT text box: East-West velocity.
Definition: CFmiPcAppDlg.h:315
CString mProductId
Contents of Product ID text box.
Definition: CFmiPcAppDlg.h:330
afx_msg void OnBnClickedWaypoints()
Click handler for the Waypoints button.
Modal dialog displaying a communication error.
Definition: CCommErrorDlg.h:22
CIftaDlg * mIftaDlg
Pointer to the IFTA dailog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:429
afx_msg LRESULT OnEventDriverStatusListDeleteFailed(WPARAM, LPARAM)
Handler for the Delete Driver Status Failed event from Com.
afx_msg void OnBnClickedFileTrans()
Click handler for the Transfer File button.
afx_msg void OnBnClickedPing()
Click handler for the Ping button.
afx_msg LRESULT OnEventFmiDisabled(WPARAM, LPARAM)
Set FMI as disabled.
afx_msg void OnToolsIfta()
Handler for the Tools > IFTA.
afx_msg void OnBnClickedChangeBaudRate()
Handler for the Change Baud Rate button.
CSendAlertDlg * mSendAlertDlg
Pointer to the Send Alert dailog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:448
afx_msg void OnHelpAbout()
Opens the About Dialog box.
afx_msg LRESULT OnEventOpenTextMsgError(WPARAM, LPARAM aEventDataPtr)
Handler for the Server to Client Text Message Error event from Com.
CString mNorthSouthVelocity
Contents of PVT text box: North-South velocity.
Definition: CFmiPcAppDlg.h:318
BOOL selectComPort()
Show the Select Comm Port dialog.
int mBaudRateSyncRetries
Used to retry baud rate synchronization packets.
Definition: CFmiPcAppDlg.h:443
afx_msg LRESULT OnEventBaudRateSynchronizing(WPARAM, LPARAM)
BOOL mAutoEtaChecked
If TRUE, the Auto ETA Request text box is checked.
Definition: CFmiPcAppDlg.h:360
void initProductNames()
Initialize the list of product names.
afx_msg LRESULT OnEventTxtMsgFromClient(WPARAM, LPARAM aEventDataPtr)
Handler for the Text Message Received event from Com.
CDriverIdAndStatusDlg * mDriverIdAndStatusDlg
Pointer to the Driver ID and Status dialog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:407
afx_msg LRESULT OnEventDeleteTextMessageStatus(WPARAM aEventData, LPARAM)
Handler for the Delete Text Message Status event from Com.
afx_msg void OnBnClickedMsgStatus()
Click handler for the Message Status button.
Form for sending A617 sensor popups to the device.
afx_msg LRESULT OnEventBaudRateSynchronized(WPARAM, LPARAM)
afx_msg void OnToolsMapViewer()
Handler for the Tools > Map Viewer action.
CDashcamDlg * mDashcamDlg
Pointer to the Dashcam dialog, or NULL if no such dialog is displayed.
Definition: CFmiPcAppDlg.h:464
afx_msg void OnBnClickedEnable()
Click handler for the Send Enable button.
afx_msg void OnBnClickedETAMode()
Click handler for the ETA Mode button.
afx_msg LRESULT OnEventPvtReceived(WPARAM, LPARAM)
Handler for the PVT Data Received event from Com.
afx_msg void OnBnClickedAutoETA()
Event handler for Auto ETA Request check box.
afx_msg void OnFileRebootDevice()
Handler for the File > Reboot Device.
afx_msg void OnBnClickedOk()
Click handler for the OK button. Close the app.
void initStopList()
Initialize the stop list.
CString mAltitude
Contents of PVT text box: Altitude.
Definition: CFmiPcAppDlg.h:312
afx_msg void OnBnClickedGpiQuery()
Click handler for the GPI Query button.
CDashcamNtfctnDlg * mDashcamNtfctnDlg
Definition: CFmiPcAppDlg.h:465
CString mSoftwareVersion
Contents of Software Version text box.
Definition: CFmiPcAppDlg.h:333
CCommErrorDlg * mCommErrorDlg
Pointer to the comm error dialog, or NULL if the dialog is not open.
Definition: CFmiPcAppDlg.h:339
~CFmiPcAppDlg()
Destructor.
afx_msg void OnBnClickedSafeMode()
Click handler for the FMI Safe Mode button.
afx_msg LRESULT OnEventDashcamIncidentFileNtfctnFromClient(WPARAM, LPARAM)
Handler for the Dashcam Incident File Notification Received event from Com.
CString mPacketId
Contents of the FMI Packet ID edit box.
Definition: CFmiPcAppDlg.h:350
afx_msg void OnBnClickedTxt()
Click handler for the Send Text Message button.
afx_msg void OnSysCommand(UINT nID, LPARAM lParam)
Called when the user selects a command from the Control menu, or when the user selects the Maximize o...
BOOL mComPortSelected
If TRUE, the user has selected a FmiApplicationLayer port.
Definition: CFmiPcAppDlg.h:289
afx_msg LRESULT OnEventEtaReceived(WPARAM, LPARAM)
Handler for the ETA Received event from Com.
afx_msg void OnToolsHOSSetStartTimeOfDay()
BOOL mIgnoreTimer
If TRUE, all timers should be ignored.
Definition: CFmiPcAppDlg.h:291
afx_msg LRESULT OnEventTxtMsgStatus(WPARAM, LPARAM)
Handler for the Text Message Status Received event from Com.