| 1 | static const unsigned char s_menu_title[] = "Diagnostic Main Menu"; |
|---|
| 2 | static const unsigned char s_menu_help[] = "[12] scroll, [OK] select, [INFO] exit"; |
|---|
| 3 | static const unsigned char s_arrow[] = "->"; |
|---|
| 4 | |
|---|
| 5 | typedef enum main_menu_idx_t |
|---|
| 6 | { |
|---|
| 7 | eMM_IDX_GENERAL_INFO, |
|---|
| 8 | eMM_IDX_TUNER_STATUS, |
|---|
| 9 | eMM_IDX_CH_STATUS, |
|---|
| 10 | eMM_IDX_DECODER_STATUS, |
|---|
| 11 | eMM_IDX_FREQENCY_CONFIGURE, |
|---|
| 12 | eMM_IDX_NUM |
|---|
| 13 | }main_menu_idx_t; |
|---|
| 14 | |
|---|
| 15 | static const unsigned char *s_main_menu[] = |
|---|
| 16 | { |
|---|
| 17 | "General Info", |
|---|
| 18 | "Tuner Status", |
|---|
| 19 | "Current Channel Status", |
|---|
| 20 | "Decoder Status", |
|---|
| 21 | "Frequency Configure", |
|---|
| 22 | "" |
|---|
| 23 | }; |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | static const unsigned char *s_general_info_str[] = |
|---|
| 27 | { |
|---|
| 28 | "Vendor Name", |
|---|
| 29 | "Vendor ID", |
|---|
| 30 | "Software Version", |
|---|
| 31 | "Build Date", |
|---|
| 32 | "\0" |
|---|
| 33 | }; |
|---|
| 34 | |
|---|
| 35 | static const unsigned char s_diag_help_simple[] = "[MENU] return, [INFO] to exit"; |
|---|
| 36 | |
|---|
| 37 | static const unsigned char s_diag_help_default[] = "[MENU] return, [INFO] exit (*=default)"; |
|---|
| 38 | |
|---|
| 39 | static const unsigned char *s_decoder_status_str[] = |
|---|
| 40 | { |
|---|
| 41 | "V/A/PCR PID", |
|---|
| 42 | "VSTC/PTS", |
|---|
| 43 | "ASTC/PTS", |
|---|
| 44 | "AV", |
|---|
| 45 | "Video Delta", |
|---|
| 46 | "Audio Delta", |
|---|
| 47 | "A/V FIFO", |
|---|
| 48 | "SRC WH(P,A)", |
|---|
| 49 | "TUNE total ms", |
|---|
| 50 | " SI/SEQ/TSM", |
|---|
| 51 | "Aud. Configure", |
|---|
| 52 | "\0" |
|---|
| 53 | }; |
|---|
| 54 | |
|---|
| 55 | static const unsigned char *s_tuner_status_str[] = |
|---|
| 56 | { |
|---|
| 57 | "Tune Frequency", |
|---|
| 58 | "Lock", |
|---|
| 59 | "Power Strength", |
|---|
| 60 | "Signal-To-Noise (SNR)", |
|---|
| 61 | "Signal Quality", |
|---|
| 62 | "IF AGC", |
|---|
| 63 | "CorrectedBits", |
|---|
| 64 | "\0" |
|---|
| 65 | }; |
|---|
| 66 | |
|---|
| 67 | static const unsigned char *s_ch_status_str[] = |
|---|
| 68 | { |
|---|
| 69 | "Channel Number", |
|---|
| 70 | "VCT/PSI", |
|---|
| 71 | "PCR PID", |
|---|
| 72 | "Video PID", |
|---|
| 73 | "Hidden", |
|---|
| 74 | "Number of Programs", |
|---|
| 75 | |
|---|
| 76 | "Number of Audio", |
|---|
| 77 | "Audio PID(s)", |
|---|
| 78 | " ", |
|---|
| 79 | " ", |
|---|
| 80 | "Audio User Muted", |
|---|
| 81 | "\0" |
|---|
| 82 | }; |
|---|
| 83 | static const unsigned char s_diag_help_in_use[] = "[MENU] return, [INFO] to exit (*=In use)"; |
|---|
| 84 | |
|---|
| 85 | static const unsigned char s_diag_help_ch_map[] = "[12] Scroll, [MENU] return, [INFO] exit (*=hidden)"; |
|---|
| 86 | |
|---|
| 87 | static const unsigned char s_video_format_help[] = "[12] Scroll, [MENU] return, [OK] select (*=current)"; |
|---|
| 88 | |
|---|
| 89 | static const unsigned char s_frequency[] = "Frequency Configure"; |
|---|
| 90 | static const unsigned char s_frequency_desc[] = "Enter Frequency Map for customized channel scan"; |
|---|
| 91 | static const unsigned char s_frequency_help[] = "[MENU] return, [Num Key] enter frequency, [OK] add, [1] scan"; |
|---|
| 92 | |
|---|