Showing
36 changed files
with
47 additions
and
36 deletions
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
| @@ -356,14 +356,20 @@ bool SNBase::Check_some_barcode(const char* strBarcode) | @@ -356,14 +356,20 @@ bool SNBase::Check_some_barcode(const char* strBarcode) | ||
| 356 | { | 356 | { |
| 357 | MTRACE(g_hEBOOT_DEBUG, "SNBase::CheckCalFinalTestStatus(): Check calibration & nsft flag start..."); | 357 | MTRACE(g_hEBOOT_DEBUG, "SNBase::CheckCalFinalTestStatus(): Check calibration & nsft flag start..."); |
| 358 | 358 | ||
| 359 | + // int num=atoi((const char* )strBarcode[55]); | ||
| 360 | + | ||
| 359 | if (strBarcode[55] == '1') | 361 | if (strBarcode[55] == '1') |
| 360 | { | 362 | { |
| 361 | g_pMainDlg->myrslt_smt= _T("PASS"); | 363 | g_pMainDlg->myrslt_smt= _T("PASS"); |
| 362 | UpdateUIMsg("ATA test has passed"); | 364 | UpdateUIMsg("ATA test has passed"); |
| 363 | } | 365 | } |
| 366 | + else if (strBarcode[55] == '0') | ||
| 367 | + { | ||
| 368 | + g_pMainDlg->myrslt_smt= _T("UnTested"); | ||
| 369 | + } | ||
| 364 | else | 370 | else |
| 365 | { | 371 | { |
| 366 | - g_pMainDlg->myrslt_smt= _T("FAIL"); | 372 | + g_pMainDlg->myrslt_smt= _T("Fail"); |
| 367 | UpdateUIMsg("ATA test failed"); | 373 | UpdateUIMsg("ATA test failed"); |
| 368 | } | 374 | } |
| 369 | 375 |
No preview for this file type
| 1 | ----- myrslt_qc Matches (7 in 4 files) ---- | ||
| 2 | -SN WriterDlg.cpp: myrslt_qc = _T(""); | ||
| 3 | -SN WriterDlg.cpp: DDX_Text(pDX, IDC_RSLT_QC, myrslt_qc); | ||
| 4 | -SN WriterDlg.h: CString myrslt_qc; | ||
| 5 | -SNbase.cpp (execute): g_pMainDlg->SetDlgItemText(IDC_RSLT_QC, g_pMainDlg->myrslt_qc); | ||
| 6 | -SPexc.cpp (execute): g_pMainDlg->myrslt_qc=_T("UnTested"); | ||
| 7 | -SPexc.cpp (execute): g_pMainDlg->myrslt_qc=_T("PASS"); | ||
| 8 | -SPexc.cpp (execute): g_pMainDlg->myrslt_qc=_T("Fail"); | 1 | +---- myrslt_smt Matches (6 in 3 files) ---- |
| 2 | +SN WriterDlg.cpp: myrslt_smt = _T(""); | ||
| 3 | +SN WriterDlg.cpp: DDX_Text(pDX, IDC_RSLT_SMT, myrslt_smt); | ||
| 4 | +SN WriterDlg.h: CString myrslt_smt; | ||
| 5 | +SNbase.cpp (execute): g_pMainDlg->SetDlgItemText(IDC_RSLT_SMT, g_pMainDlg->myrslt_smt); | ||
| 6 | +SNbase.cpp (execute): g_pMainDlg->myrslt_smt= _T("PASS"); | ||
| 7 | +SNbase.cpp (execute): g_pMainDlg->myrslt_smt= _T("FAIL"); |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
| @@ -23,13 +23,13 @@ Check Calibration flag Enable = True | @@ -23,13 +23,13 @@ Check Calibration flag Enable = True | ||
| 23 | Check FinalTest flag Enable = False | 23 | Check FinalTest flag Enable = False |
| 24 | Check QCTest flag Enable = True | 24 | Check QCTest flag Enable = True |
| 25 | Check_SW_VER = INTEX_AQUA_LIONS_N1_V02_INDIAN | 25 | Check_SW_VER = INTEX_AQUA_LIONS_N1_V02_INDIAN |
| 26 | -Write Meid = True | 26 | +Write Meid = False |
| 27 | Write Esn = False | 27 | Write Esn = False |
| 28 | -Write Barcode = True | ||
| 29 | -Write IMEI = True | 28 | +Write Barcode = False |
| 29 | +Write IMEI = False | ||
| 30 | Write Serial No. = False | 30 | Write Serial No. = False |
| 31 | -Write BT = True | ||
| 32 | -Write Wifi = True | 31 | +Write BT = False |
| 32 | +Write Wifi = False | ||
| 33 | Write Hdcp = False | 33 | Write Hdcp = False |
| 34 | Write DRMKey = False | 34 | Write DRMKey = False |
| 35 | Install Hdcp Data = False | 35 | Install Hdcp Data = False |
SN Writer.aps
deleted
100644 → 0
No preview for this file type
No preview for this file type
No preview for this file type
| @@ -6,20 +6,40 @@ | @@ -6,20 +6,40 @@ | ||
| 6 | --------------------Configuration: SN Writer - Win32 Debug-------------------- | 6 | --------------------Configuration: SN Writer - Win32 Debug-------------------- |
| 7 | </h3> | 7 | </h3> |
| 8 | <h3>Command Lines</h3> | 8 | <h3>Command Lines</h3> |
| 9 | -Creating temporary file "C:\Users\echo\AppData\Local\Temp\RSPAA22.tmp" with contents | 9 | +Creating temporary file "C:\Users\echo\AppData\Local\Temp\RSPD65A.tmp" with contents |
| 10 | [ | 10 | [ |
| 11 | -/nologo /MTd /W3 /Gi /GX /ZI /Od /I ".\\" /I ".\SNbase\inc" /I ".\Execute" /I ".\Extra\CBtnST" /I ".\Form\About" /I ".\Form\AutoGen" /I ".\Form\ScanData" /I ".\Form\Identify" /I ".\Form\FileSel" /I ".\Form\SystemConfig" /I ".\MtkLib\AT_cmd\inc" /I ".\CBtnST" /I ".\MtkLib\Brom\inc" /I ".\MtkLib\DebugTrace\inc" /I ".\MtkLib\SNFstream\inc" /I ".\Common" /I ".\MtkLib\Eboot\inc" /I ".\MtkLib\Meta\inc" /I ".\MtkLib\Security\inc" /I ".\MtkLib\USBSwitchTool\inc" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FR"Debug/" /Fp"Debug/SN_Station.pch" /Yu"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c | ||
| 12 | -"D:\InterlockingTool\Execute\SNbase.cpp" | 11 | +shlwapi.lib "./mtklib/meta/lib/*.lib" "./mtklib/Eboot/lib/*.lib" "./mtklib/Security/lib/*.lib" "./mtklib/SNFstream/lib/*.lib" "./mtklib/DebugTrace/lib/*.lib" "./mtklib/usbswitchtool/lib/*.lib" /nologo /subsystem:windows /incremental:yes /pdb:"Output/SN Writer.pdb" /debug /machine:I386 /out:"Output/SN Writer.exe" /pdbtype:sept |
| 12 | +.\Debug\Common.obj | ||
| 13 | +.\Debug\FPexc.obj | ||
| 14 | +.\Debug\SNbase.obj | ||
| 15 | +.\Debug\SPexc.obj | ||
| 16 | +.\Debug\AtProcess.obj | ||
| 17 | +.\Debug\rs232Module.obj | ||
| 18 | +.\Debug\xboot_debug.obj | ||
| 19 | +.\Debug\AUTH.obj | ||
| 20 | +.\Debug\SCERT.obj | ||
| 21 | +.\Debug\SLA.obj | ||
| 22 | +.\Debug\fileseldlg.obj | ||
| 23 | +.\Debug\ChgPasswdDlg.obj | ||
| 24 | +.\Debug\VerifyPasswdDlg.obj | ||
| 25 | +.\Debug\ScanData.obj | ||
| 26 | +.\Debug\SystemConfig.obj | ||
| 27 | +.\Debug\AboutSNDlg.obj | ||
| 28 | +.\Debug\autogendlg.obj | ||
| 29 | +.\Debug\Encryption.obj | ||
| 30 | +".\Debug\SN Writer.obj" | ||
| 31 | +".\Debug\SN WriterDlg.obj" | ||
| 32 | +.\Debug\StdAfx.obj | ||
| 33 | +".\Debug\SN Writer.res" | ||
| 13 | ] | 34 | ] |
| 14 | -Creating command line "cl.exe @C:\Users\echo\AppData\Local\Temp\RSPAA22.tmp" | 35 | +Creating command line "link.exe @C:\Users\echo\AppData\Local\Temp\RSPD65A.tmp" |
| 15 | <h3>Output Window</h3> | 36 | <h3>Output Window</h3> |
| 16 | -Compiling... | ||
| 17 | -SNbase.cpp | 37 | +Linking... |
| 18 | 38 | ||
| 19 | 39 | ||
| 20 | 40 | ||
| 21 | <h3>Results</h3> | 41 | <h3>Results</h3> |
| 22 | -SNbase.obj - 0 error(s), 0 warning(s) | 42 | +SN Writer.exe - 0 error(s), 0 warning(s) |
| 23 | </pre> | 43 | </pre> |
| 24 | </body> | 44 | </body> |
| 25 | </html> | 45 | </html> |
| @@ -277,7 +277,7 @@ FONT 9, "΢ÈíÑźÚ" | @@ -277,7 +277,7 @@ FONT 9, "΢ÈíÑźÚ" | ||
| 277 | BEGIN | 277 | BEGIN |
| 278 | EDITTEXT IDC_COUNT_TOTAL,198,139,38,13,ES_AUTOHSCROLL | | 278 | EDITTEXT IDC_COUNT_TOTAL,198,139,38,13,ES_AUTOHSCROLL | |
| 279 | ES_READONLY | 279 | ES_READONLY |
| 280 | - DEFPUSHBUTTON "Config",IDC_BTN_SYSCONFIG,48,214,30,12 | 280 | + DEFPUSHBUTTON "Config",IDC_BTN_SYSCONFIG,63,214,30,12 |
| 281 | DEFPUSHBUTTON "Start",IDC_BTN_START,11,214,30,12 | 281 | DEFPUSHBUTTON "Start",IDC_BTN_START,11,214,30,12 |
| 282 | DEFPUSHBUTTON "Quit",IDC_BTN_QUIT,119,214,30,12 | 282 | DEFPUSHBUTTON "Quit",IDC_BTN_QUIT,119,214,30,12 |
| 283 | EDITTEXT IDC_COUNT_PASS,198,163,38,13,ES_AUTOHSCROLL | | 283 | EDITTEXT IDC_COUNT_PASS,198,163,38,13,ES_AUTOHSCROLL | |
| @@ -291,7 +291,6 @@ BEGIN | @@ -291,7 +291,6 @@ BEGIN | ||
| 291 | LTEXT "Fail:",IDC_STATIC,166,187,27,10 | 291 | LTEXT "Fail:",IDC_STATIC,166,187,27,10 |
| 292 | COMBOBOX IDC_COMBO_COMPORT,180,209,34,51,CBS_DROPDOWNLIST | | 292 | COMBOBOX IDC_COMBO_COMPORT,180,209,34,51,CBS_DROPDOWNLIST | |
| 293 | CBS_SORT | WS_VSCROLL | WS_TABSTOP | 293 | CBS_SORT | WS_VSCROLL | WS_TABSTOP |
| 294 | - DEFPUSHBUTTON "Reset",IDC_BTN_RESET,83,214,30,12 | ||
| 295 | LTEXT "SW Version",IDC_STATIC,6,12,48,9 | 294 | LTEXT "SW Version",IDC_STATIC,6,12,48,9 |
| 296 | EDITTEXT IDC_EDT_VERSION,56,10,182,13,ES_AUTOHSCROLL | 295 | EDITTEXT IDC_EDT_VERSION,56,10,182,13,ES_AUTOHSCROLL |
| 297 | PUSHBUTTON "Save",IDC_BT_SAVE_SWVER,246,10,44,15 | 296 | PUSHBUTTON "Save",IDC_BT_SAVE_SWVER,246,10,44,15 |
| @@ -127,7 +127,6 @@ void CSNWriterDlg::DoDataExchange(CDataExchange* pDX) | @@ -127,7 +127,6 @@ void CSNWriterDlg::DoDataExchange(CDataExchange* pDX) | ||
| 127 | DDX_Control(pDX, IDC_BTN_QUIT, m_QuitBTN); | 127 | DDX_Control(pDX, IDC_BTN_QUIT, m_QuitBTN); |
| 128 | DDX_Control(pDX, IDC_BTN_SYSCONFIG, m_SystemCfgBTN); | 128 | DDX_Control(pDX, IDC_BTN_SYSCONFIG, m_SystemCfgBTN); |
| 129 | 129 | ||
| 130 | - DDX_Control(pDX, IDC_BTN_RESET, m_ResetBTN); | ||
| 131 | 130 | ||
| 132 | 131 | ||
| 133 | 132 | ||
| @@ -138,7 +137,6 @@ BEGIN_MESSAGE_MAP(CSNWriterDlg, CDialog) | @@ -138,7 +137,6 @@ BEGIN_MESSAGE_MAP(CSNWriterDlg, CDialog) | ||
| 138 | ON_WM_PAINT() | 137 | ON_WM_PAINT() |
| 139 | ON_WM_QUERYDRAGICON() | 138 | ON_WM_QUERYDRAGICON() |
| 140 | ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) | 139 | ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) |
| 141 | - ON_BN_CLICKED(IDC_BTN_RESET, OnBtnReset) | ||
| 142 | ON_BN_CLICKED(IDC_BTN_QUIT, OnBtnQuit) | 140 | ON_BN_CLICKED(IDC_BTN_QUIT, OnBtnQuit) |
| 143 | ON_BN_CLICKED(IDC_BTN_SYSCONFIG, OnBtnSysconfig) | 141 | ON_BN_CLICKED(IDC_BTN_SYSCONFIG, OnBtnSysconfig) |
| 144 | ON_CBN_SELCHANGE(IDC_COMBO_COMPORT, OnSelchangeComboComport) | 142 | ON_CBN_SELCHANGE(IDC_COMBO_COMPORT, OnSelchangeComboComport) |
| @@ -628,13 +626,6 @@ void CSNWriterDlg::OnBtnStart() | @@ -628,13 +626,6 @@ void CSNWriterDlg::OnBtnStart() | ||
| 628 | } | 626 | } |
| 629 | } | 627 | } |
| 630 | 628 | ||
| 631 | -void CSNWriterDlg::OnBtnReset() | ||
| 632 | -{ | ||
| 633 | - MessageBox("This feature has not yet been completed"); | ||
| 634 | - // SPMETA_DLL::SP_META_NVRAM_ResetToFactoryDefault(5000); | ||
| 635 | -} | ||
| 636 | - | ||
| 637 | - | ||
| 638 | void CSNWriterDlg::OnBtnQuit() | 629 | void CSNWriterDlg::OnBtnQuit() |
| 639 | { | 630 | { |
| 640 | // TODO: Add your control notification handler code here | 631 | // TODO: Add your control notification handler code here |
| @@ -64,7 +64,6 @@ protected: | @@ -64,7 +64,6 @@ protected: | ||
| 64 | afx_msg HCURSOR OnQueryDragIcon(); | 64 | afx_msg HCURSOR OnQueryDragIcon(); |
| 65 | afx_msg void OnBtnStart(); | 65 | afx_msg void OnBtnStart(); |
| 66 | afx_msg void OnBtnQuit(); | 66 | afx_msg void OnBtnQuit(); |
| 67 | - afx_msg void OnBtnReset(); | ||
| 68 | afx_msg void OnBtnSysconfig(); | 67 | afx_msg void OnBtnSysconfig(); |
| 69 | afx_msg void OnSelchangeComboComport(); | 68 | afx_msg void OnSelchangeComboComport(); |
| 70 | afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); | 69 | afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); |
| @@ -124,8 +123,6 @@ private: | @@ -124,8 +123,6 @@ private: | ||
| 124 | CButton m_StartBTN; | 123 | CButton m_StartBTN; |
| 125 | CButton m_QuitBTN; | 124 | CButton m_QuitBTN; |
| 126 | CButton m_SystemCfgBTN; | 125 | CButton m_SystemCfgBTN; |
| 127 | - CButton m_ResetBTN; | ||
| 128 | - | ||
| 129 | 126 | ||
| 130 | public: | 127 | public: |
| 131 | HBITMAP m_hBitmapPass; | 128 | HBITMAP m_hBitmapPass; |
| @@ -101,7 +101,6 @@ | @@ -101,7 +101,6 @@ | ||
| 101 | #define IDC_DRMKEY_MCID_DATA 1077 | 101 | #define IDC_DRMKEY_MCID_DATA 1077 |
| 102 | #define IDC_BTN_INDITE 1078 | 102 | #define IDC_BTN_INDITE 1078 |
| 103 | #define IDC_MEID_DATA 1078 | 103 | #define IDC_MEID_DATA 1078 |
| 104 | -#define IDC_BTN_RESET 1078 | ||
| 105 | #define IDC_SERIAL_NO_DATA 1079 | 104 | #define IDC_SERIAL_NO_DATA 1079 |
| 106 | #define IDC_SERIAL_NO_HEADER_SCAN 1080 | 105 | #define IDC_SERIAL_NO_HEADER_SCAN 1080 |
| 107 | #define IDC_BTN_SAVE 1081 | 106 | #define IDC_BTN_SAVE 1081 |
Please
register
or
login
to post a comment