| 1 | static const unsigned char s_menu_title[] = "Diagnostic Main Menu"; |
|---|
| 2 | static const unsigned char s_menu_help[] = "CH+/- to scroll, Enter to select, Info to 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_DTA_STATUS, |
|---|
| 9 | eMM_IDX_MSO_INFO, |
|---|
| 10 | eMM_IDX_TUNER_STATUS, |
|---|
| 11 | eMM_IDX_CH_STATUS, |
|---|
| 12 | eMM_IDX_CH_MAP_STATUS, |
|---|
| 13 | eMM_IDX_MSG_STATUS, |
|---|
| 14 | eMM_IDX_CODE_OBJECTS, |
|---|
| 15 | eMM_IDX_CODE_DOWNLOAD, |
|---|
| 16 | eMM_IDX_DECODER_STATUS, |
|---|
| 17 | eMM_IDX_VIDEO_FORMAT, |
|---|
| 18 | eMM_IDX_NUM |
|---|
| 19 | }main_menu_idx_t; |
|---|
| 20 | static const unsigned char *s_main_menu[] = |
|---|
| 21 | { |
|---|
| 22 | "General Info", |
|---|
| 23 | "DTA Status", |
|---|
| 24 | "MSO Info", |
|---|
| 25 | "Tuner Status", |
|---|
| 26 | "Current Channel Status", |
|---|
| 27 | "Virtual Channel Map", |
|---|
| 28 | "Received Messages", |
|---|
| 29 | "Code Objects", |
|---|
| 30 | "Code Download", |
|---|
| 31 | "Decoder Status", |
|---|
| 32 | "Video Format", |
|---|
| 33 | }; |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | static const unsigned char *s_general_info_str[] = |
|---|
| 37 | { |
|---|
| 38 | "Vendor Name", |
|---|
| 39 | "Vendor ID", |
|---|
| 40 | "Hardware Ver", |
|---|
| 41 | "Unit Address", |
|---|
| 42 | "MAC Address", |
|---|
| 43 | "\0" |
|---|
| 44 | }; |
|---|
| 45 | |
|---|
| 46 | static const unsigned char *s_dta_status_str[] = |
|---|
| 47 | { |
|---|
| 48 | "Activated", |
|---|
| 49 | "DTA Mode", |
|---|
| 50 | "Turn On QAM (MHz)", |
|---|
| 51 | "Timeout Value", |
|---|
| 52 | "Timeout Counter", |
|---|
| 53 | "Site Error Count", |
|---|
| 54 | "Configured LocID", |
|---|
| 55 | "Controller LocID", |
|---|
| 56 | "System Time", |
|---|
| 57 | "Time Zone", |
|---|
| 58 | "Daylight Savings Entry", |
|---|
| 59 | "Daylight Savings Exit", |
|---|
| 60 | "Last Addressable Timestamp", |
|---|
| 61 | "\0" |
|---|
| 62 | }; |
|---|
| 63 | |
|---|
| 64 | static const unsigned char s_diag_help_simple[] = "Last to return, Info to exit"; |
|---|
| 65 | |
|---|
| 66 | static const unsigned char s_mso_info_str[] = "MSO Phone Number String:"; |
|---|
| 67 | |
|---|
| 68 | static const unsigned char s_diag_help_default[] = "Last to return, Info to exit (*=default)"; |
|---|
| 69 | |
|---|
| 70 | static const unsigned char *s_decoder_status_str[] = |
|---|
| 71 | { |
|---|
| 72 | "V/A/PCR PID", |
|---|
| 73 | "VSTC/PTS", |
|---|
| 74 | "ASTC/PTS", |
|---|
| 75 | "AV", |
|---|
| 76 | "Video Delta", |
|---|
| 77 | "Audio Delta", |
|---|
| 78 | "A/V FIFO", |
|---|
| 79 | "SRC WH(P,A)", |
|---|
| 80 | "TUNE total ms", |
|---|
| 81 | " (tune,lock)", |
|---|
| 82 | " SI/SEQ/TSM", |
|---|
| 83 | "Aud. Configure", |
|---|
| 84 | "\0" |
|---|
| 85 | }; |
|---|
| 86 | static const unsigned char *s_tuner_status_str[] = |
|---|
| 87 | { |
|---|
| 88 | "Tuner Frequency", |
|---|
| 89 | " Power Level (dBmv)", |
|---|
| 90 | " Signal-to-noise", |
|---|
| 91 | "CAT Present", |
|---|
| 92 | " SA SysID", |
|---|
| 93 | " EMM PID", |
|---|
| 94 | " EMM ProviderID", |
|---|
| 95 | "PAT Present", |
|---|
| 96 | " Network PID", |
|---|
| 97 | "\0" |
|---|
| 98 | }; |
|---|
| 99 | |
|---|
| 100 | static const unsigned char *s_ch_status_str[] = |
|---|
| 101 | { |
|---|
| 102 | "Current VC", |
|---|
| 103 | "Tuned Frequency", |
|---|
| 104 | "Modulation", |
|---|
| 105 | "Program Num", |
|---|
| 106 | "Video PID", |
|---|
| 107 | "Audio PID(s)", |
|---|
| 108 | " ", |
|---|
| 109 | " ", |
|---|
| 110 | "Audio User Muted", |
|---|
| 111 | "\0" |
|---|
| 112 | }; |
|---|
| 113 | static const unsigned char s_diag_help_in_use[] = "Last to return, Info to exit (*=In use)"; |
|---|
| 114 | static const unsigned char s_800_comcast[] = "800-COMCAST*"; |
|---|
| 115 | |
|---|
| 116 | static const unsigned char s_ch_map_status_info[] = "Channel Map VCT ID: 0x%04x %d Channels (%d of %d)"; |
|---|
| 117 | static const unsigned char *s_ch_map_status_header[] = |
|---|
| 118 | { |
|---|
| 119 | "VC", |
|---|
| 120 | "SrcID", |
|---|
| 121 | "SrcName", |
|---|
| 122 | "CDSRef", |
|---|
| 123 | "QAM", |
|---|
| 124 | "Prog#" |
|---|
| 125 | "\0" |
|---|
| 126 | }; |
|---|
| 127 | |
|---|
| 128 | |
|---|
| 129 | |
|---|
| 130 | static const unsigned char s_diag_help_ch_map[] = "CH+/- to Scroll, Last to return, Info to exit (*=hidden)"; |
|---|
| 131 | |
|---|
| 132 | |
|---|
| 133 | static const unsigned char *s_msg_status_str[] = |
|---|
| 134 | { |
|---|
| 135 | "Message", |
|---|
| 136 | "CDS", |
|---|
| 137 | "MMS", |
|---|
| 138 | "SNS", |
|---|
| 139 | "DCM", |
|---|
| 140 | "VCM", |
|---|
| 141 | "STT", |
|---|
| 142 | "Ops", |
|---|
| 143 | "Config", |
|---|
| 144 | "EAS", |
|---|
| 145 | "EM", |
|---|
| 146 | "CAT/Err", |
|---|
| 147 | "\0" |
|---|
| 148 | }; |
|---|
| 149 | |
|---|
| 150 | static const unsigned char s_msg_last_addr[] = "Last Addressable Timestamp"; |
|---|
| 151 | static const unsigned char s_diag_help_msg_1[] = "0 to reset counters"; |
|---|
| 152 | |
|---|
| 153 | static const unsigned char s_code_objects_str[] = " Firmware Ver Object Name Active"; |
|---|
| 154 | static const unsigned char s_bankA_str[] = "Bank A"; |
|---|
| 155 | static const unsigned char s_bankB_str[] = "Bank A"; |
|---|
| 156 | |
|---|
| 157 | static const unsigned char *s_code_download_str[] = |
|---|
| 158 | { |
|---|
| 159 | "Download Status", |
|---|
| 160 | "Download Failure Count", |
|---|
| 161 | "Validation Failure Count", |
|---|
| 162 | "CVT Config Count Change", |
|---|
| 163 | " Code File Name", |
|---|
| 164 | " DL Type", |
|---|
| 165 | " DL Loc", |
|---|
| 166 | "DSMCC Module Ver", |
|---|
| 167 | " Module Name", |
|---|
| 168 | " Total Data Blocks", |
|---|
| 169 | " Num Blocks loaded", |
|---|
| 170 | "\0" |
|---|
| 171 | }; |
|---|
| 172 | |
|---|
| 173 | static const unsigned char s_video_format_help[] = "CH+/- to Scroll, Last to return, Enter to select (*=current)"; |
|---|
| 174 | |
|---|
| 175 | static const unsigned char *s_video_format_str[] = |
|---|
| 176 | { |
|---|
| 177 | "480i", |
|---|
| 178 | "480p", |
|---|
| 179 | "720p", |
|---|
| 180 | "1080i", |
|---|
| 181 | "\0" |
|---|
| 182 | }; |
|---|
| 183 | |
|---|
| 184 | static const unsigned char s_confirm_change_title[] = "Confirm Change:"; |
|---|
| 185 | static const unsigned char s_confirm_change_help[] = "Last to return, Enter to select (*=current)"; |
|---|
| 186 | |
|---|
| 187 | static const unsigned char *s_confirm_change_str[] = |
|---|
| 188 | { |
|---|
| 189 | "Yes", |
|---|
| 190 | "No", |
|---|
| 191 | "\0" |
|---|
| 192 | }; |
|---|
| 193 | |
|---|