14 #if( FMI_SUPPORT_A617 ) 17 #define TIMEOUT_INPUT_MAX 100 46 CDialog::DoDataExchange(pDX);
86 CDialog::OnInitDialog();
88 (( CSpinButtonCtrl*) GetDlgItem(
IDC_SPIN1 ) )->SetRange( 1, 65535/2 );
105 memset( &message, 0,
sizeof( message ) );
130 text[
sizeof( text ) - 1] =
'\0';
#define IDC_ALERT_UNIQUE_ID
BOOL OnInitDialog()
This function is called when the window is created.
Form for sending A617 alerts to the device.
void sendFmiPacket(uint16 aFmiPacketId, uint8 *aFmiPayload, uint8 aFmiPayloadSize)
Send an arbitrary FMI packet.
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
afx_msg void OnBnClickedOk()
Validate form, build and send FMI packet to device.
#define TIMEOUT_INPUT_MAX
void reset()
reset the form to defaults (since this dialog is long-lived)
codepage_type mClientCodepage
Code page used for encoding of text fields when communicating with the client.
#define IDC_ALERT_SEVERITY
Serial communication controller for Garmin and FMI packets.
virtual void DoDataExchange(CDataExchange *pDX)
#define IDC_ALERT_PLAY_SOUND
afx_msg void OnEnChangeAlertText()
Update the text length label in response to change in text.
unsigned char uint8
8-bit unsigned integer
#define IDC_ALERT_TIMEOUT
#define IDC_ALERT_TEXT_LENGTH