
BETA903A USER MANUAL
- 84 -
m_pstSV_SNR[5] = &m_stSV_SNR6;
m_pstSV_SNR[6] = &m_stSV_SNR7;
m_pstSV_SNR[7] = &m_stSV_SNR8;
m_pstSV_SNR[8] = &m_stSV_SNR9;
m_pstSV_SNR[9] = &m_stSV_SNR10;
m_pstSV_SNR[10] = &m_stSV_SNR11;
m_pstSV_SNR[11] = &m_stSV_SNR12;
return TRUE; // return TRUE unless you set the focus to a control
}
void CPGPSTestDlg::OnBtnOpengps()
{
if (m_bOpenGPS)
{ // Close GPS
if (m_pSerialPort->Close())
{
m_str= _T("Close GPS OK!\r\n");
KillTimer(1);
m_btnOpenGPS.SetWindowText(_T("OpenGPS"));
m_bOpenGPS = !m_bOpenGPS;
}
else
m_str= _T("Close GPS Fail!\r\n");
}
else
{ // OpenGPS
if (
m_pSerialPort->Open(_T("COM4:"), 9600, 8, ONESTOPBIT, NOPARITY)
)
{
Open COM4 to communicate with
GPS module.
m_str= _T("Open GPS OK!\r\n");
SetTimer(1, 1000, NULL);
m_btnOpenGPS.SetWindowText(_T("CloseGPS"));
m_bOpenGPS = !m_bOpenGPS;
}
else
m_str= _T("Open GPS Fail!\r\n");
}
UpdateData(FALSE);
}
Содержание BETA903A
Страница 2: ...BETA903A USER MANUAL 2 History of Version Version Contents Date Note 01 New Version 2010 03 27 SPEC ...
Страница 18: ...BETA903A USER MANUAL 18 1 3 1 3 1 Mechanical specifications Mechanical specifications of module ...
Страница 19: ...BETA903A USER MANUAL 19 1 3 2 Mechanical specifications of Holder Mount ...
Страница 22: ...BETA903A USER MANUAL 22 2 2 Install a GSM antenna Please screw up the antenna into the position as highlighted ...
Страница 49: ...BETA903A USER MANUAL 49 STEP2 Select Windows folder STEP3 Run KeyPadTest program ...
Страница 55: ...BETA903A USER MANUAL 55 5 Select No and click Next button to cancel the synchronization ...
Страница 60: ...BETA903A USER MANUAL 60 STEP 5 Click Next button STEP 6 Click Next button ...
Страница 94: ...BETA903A USER MANUAL 94 STEP 3 Add process code into message processing function ...
Страница 95: ...BETA903A USER MANUAL 95 End of BETA903A User Manual ...