tizen 2.4 release
[kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / cmddef.h
1 /******************************************************************************
2  ** File Name:      cmddef.h                                                  *
3  ** Author:         Richard Yang                                              *
4  ** DATE:           20/09/2001                                                *
5  ** Copyright:      2001 Spreatrum, Incoporated. All Rights Reserved.         *
6  ** Description:    This file includes some common message type defines for   *
7  **                 other files.                                              * 
8  ******************************************************************************
9
10  ******************************************************************************
11  **                        Edit History                                       *
12  ** ------------------------------------------------------------------------- *
13  ** DATE           NAME             DESCRIPTION                               *
14  ** 20/09/2001     Richard.Yang     Create.                                   *
15  ** 25/12/2001     Lliu             Add LOG_FILTER_F and log filter cmd set   *
16  ** 01/06/2003     Eric.zhou        Add Channel server CMD and Time update    *
17  **                                     CMD.                                                              *     
18  ** 16/09/2003     Xueliang.Wang    Add a mode RESET_MODE to MCU_MODE_E       *
19  ** 20/05/2004     Zhemin.Lin       Add RPC cmd for digital camera(CR9397)    *
20  ******************************************************************************/
21 #ifndef _CMDDEF_H
22 #define _CMDDEF_H
23 #include "sci_types.h"
24 //#include "tasks_id.h"
25 /**---------------------------------------------------------------------------*
26  **                         Compiler Flag                                     *
27  **---------------------------------------------------------------------------*/
28 #ifdef __cplusplus
29     extern   "C"
30     {
31 #endif
32 // This is the communication frame head
33 typedef struct msg_head_tag
34 {
35     uint32  seq_num;      // Message sequence number, used for flow control
36         uint16  len;          // The totoal size of the packet "sizeof(MSG_HEAD_T)
37                           // + packet size"
38         uint8   type;         // Main command type
39         uint8   subtype;      // Sub command type
40 } MSG_HEAD_T;
41
42 #define CM_COPY_MSG_HEAD(msg, num, total_len, main_type, sub_type) \
43 ((MSG_HEAD_T *) msg)->seq_num = num;  \
44 ((MSG_HEAD_T *) msg)->len     = total_len;\
45 ((MSG_HEAD_T *) msg)->type    = main_type;\
46 ((MSG_HEAD_T *) msg)->subtype = sub_type;
47
48 //Message Type define start
49 #define     MSG_REQ_REP_START   0
50 #define     DIAG_COMMAND_OFFSET 0
51 typedef enum
52 {
53     // Query commands
54     DIAG_SWVER_F             = 0,  // Information regarding MS software
55
56     DIAG_SOFTKEY_F           = 1,  // Soft key command
57     DIAG_LOG_F               = 2,
58     DIAG_AT_F                = 3,
59     DIAG_GET_SYS_INFO_F      = 4,  // Get system information.
60     DIAG_SYSTEM_F            = 5,
61
62     DIAG_CHIP_TEST_F         = 6,  // Direct chip test operation 
63     DIAG_POWER_F             = 7,  // Power on/off MS
64     DIAG_SIM_F               = 8,  // Sim card command
65     DIAG_PS_F                = 9,
66     DIAG_RF_F                = 10,
67     DIAG_MCU_F               = 11,
68     DIAG_CHANGE_MODE_F       = 12, // Set MCU mode: normal, test or calibration
69     DIAG_NVITEM_F            = 13,
70     DIAG_AT_CHLSRV_F         = 14, // AT Command from channel server
71       
72     DIAG_ADC_F               = 15, // read ADC result      
73     DIAG_PIN_TEST_F          = 16, // for Auto pin-test      
74     DIAG_CURRENT_TEST_F      = 17,
75     DIAG_SIM_CARD_TEST_F     = 18, // Test sim card
76     DIAG_AUDIO_TEST_F        = 19, // test audio part
77     DIAG_KEYPAD_TEST_F       = 20, // test keypad
78     DIAG_LCM_TEST_F          = 21, // test lcd module
79     DIAG_VIBRATOR_TEST_F     = 22, // test vibrator
80
81     DIAG_RPC_EFS_F           = 23,
82     DIAG_RPC_DC_F            = 24,
83     DIAG_PRODUCTION_TEST_EXTEND_F = 25,     // Product Test Extend Command.
84     DIAG_FORCE_ON_CELLS_F    = 26,
85     DIAG_RPC_FFS_F           = 27,
86     DIAG_GET_MCU_MODE_F      = 28, //query mcu mode
87     DIAG_CALIBRATION_NOISE_F = 29, // calibration noise check
88     DIAG_POWER_SUPPLY_F      = 30, 
89     DIAG_RF_QUERY_F          = 31,
90     DIAG_CALIBRATION         = 32,  
91     DIAG_CALIBRATION_BT_F    = 33, // Bluetooth test
92     DIAG_TP_F                = 34, 
93     DIAG_GPS_F               = 35,
94     DIAG_TD_NV               = 36, //DIAG_TD_NV=36, read/write the TD calibration parameter
95     DIAG_TV_PARAM            = 37, // add for TV chip 08-03-07
96     DIAG_READ_ASSERT_F       = 40, //read assert info from NV item. 
97
98     DIAG_LAYER1_F            = 50, // Read or write paramter by Layer1
99     DIAG_WIFI_TEST_F     = 54,      //wifi test
100       
101     DIAG_SENSOR_REG_F        = 90, // sensor register w/r tool
102     DIAG_FUN_CALL_F          = 92,
103     DIAG_DIRECT_NV           = 94,
104     DIAG_DIRECT_PHSCHK       = 95,   
105     DIAG_ENDIAN_CHECK_F      = 97,
106     REQ_MAX_F                = 98                  
107 } diag_cmd_code_enum_type;
108
109
110
111
112
113         #define     MSG_REG         99
114         #define     MSG_UNREG       100
115 #define     MSG_REQ_REP_END     100
116
117 #define     MSG_REQ_START       101
118         typedef enum
119         {
120           PS_REQ_F    = 101,     // Protocol stack request message.
121       ATC_CMD_R,             // ATC command to ATC module
122           IP_PACKET_R = 103,
123           PPP_PACKET_R,          // PPP packet request for ppp link!
124           DIAG_AT_R 
125         } bs_env_cmd_enum_type;
126 #define     MSG_REQ_END         150
127
128 #define     MSG_ANONY_START     151
129 #define     MSG_LINK_IND        0       // Added by Leo.Feng
130                                             // Notify ChannelServer Connect / Disconnect with MS
131         typedef enum
132         {
133         DIAG_LOG_A             = 152,   // log message
134         PS_L2_A,                        // L2 layer anonymous message.
135 //              L1_IND_A,                       // L1 anonymous message.
136                 IP_PACKET_A            = 154,
137                 DIAG_AT_A                          = 155,   // AT Command message
138                 PPP_PACKET_A,
139                 DIAG_MOBILETV_DSP_LOG_F = 157, 
140                 DIAG_AUTOTEST_INFO_F    = 158   // For Autotest INFORMATION             
141         } anony_enum_type;
142
143 #define     MSG_CONSOLE_A       159
144 #define     DIAG_CONSOLE_MS     159
145
146 #define     MSG_TOOLS_RESERVED  209
147 #define     MSG_ANONY_END       210
148 #define     MSG_TIME_OUT        211
149 #define     MSG_BUF_FULL        212
150 #define     MSG_SEND_OK         213
151 #define     MSG_CRC_ERROR       214
152 #define     MSG_LINK_ERROR      215
153 #define     MSG_UNKNOWN_STRUCT  216
154
155 // 
156 #define     MSG_BOARD_ASSERT    255
157 typedef enum
158 {
159     // Normal assert information, subtype of ASSERT message.
160     NORMAL_INFO,
161     // Dump memory data.
162     DUMP_MEM_DATA,
163     // Dump memory end.
164     DUMP_MEM_END,
165     // Dump sme buff memory end
166     DUMP_SME_BUFF_MEM_END
167 } ASSERT_DATA_TYPE_E;
168
169
170 /* Log filter command sets  */
171 typedef enum
172 {
173     //LOG_GET_INFO,
174     LOG_GET_FILTER = 1,
175     LOG_SET_FILTER,
176     LOG_SET_FLOW_LOG,
177     ARM_LOG_ENABLE,
178     ARM_LOG_DISABLE,
179     DSP_LOG_ENABLE,
180     DSP_LOG_DISABLE
181 } log_cmd_set_enum_type;
182
183 /* PS related command sets  */
184 typedef enum
185 {
186     CELL_INFO_F,
187     CAMP_STATUS_F
188 } PS_CMD_SET_ENUM_TYPE;
189
190 typedef enum
191 {
192         DIAG_STACK_INFO_F,
193         DIAG_MEMORY_INFO_F,
194         DIAG_BACKTRACE_F,
195     DIAG_MEM_ALLOC_INFO_F,
196     DIAG_ASSERT_MS
197 } system_info_cmd_set_enum_type;
198
199 typedef enum
200 {
201         DIAG_NORMAL_KEY_MSG_INFO_F,             // both send key down and up msg
202         DIAG_KEY_MSG_DOWN_INFO_F,               // only send key down msg
203         DIAG_KEY_MSG_UP_INFO_F                  // only send key up msg
204 } softkey_cmd_set_enum_type;
205
206 /* BATTERY related command type sets*/
207 typedef enum
208 {
209     BATT_VOLTAGE_F
210 }POWER_SUPPLY_TYPE;
211
212 /* AT Like Command ERROR type sets  */
213 #define         ATCMD_ERROR_TYPE_BASE   0
214 typedef enum
215 {
216         ATCMD_SUCCESS           = ATCMD_ERROR_TYPE_BASE,
217         ATCMD_BADCOMMAND,
218         ATCMD_BADPARAMETER,
219     ATCMD_BADADDRESS,
220     ATCMD_BADLENGTH,
221     ATCMD_BADADDRLEN,
222     ATCMD_REPOWERON,
223     ATCMD_REPOWEROFF
224 } ATCMD_ERROR_TYPE_E;
225
226 typedef enum
227 {
228     MCU_READB,
229     MCU_READW,
230     MCU_READD,
231     MCU_WRITEB,
232     MCU_WRITEW,
233     MCU_WRITED
234 } DIRECT_CHIP_TEST_TYPE_E;
235
236 typedef enum
237 {
238     NVITEM_READ,                                /*0*/
239     NVITEM_WRITE,
240     NVITEM_PRODUCT_CTRL_READ,
241     NVITEM_PRODUCT_CTRL_WRITE,
242     NVITEM_PRODUCT_CTRL_ERASE,
243     NVITEM_GETLENGTH,                   /*5*/
244     NVITEM_DELETE
245 } NVITEM_ACCESS_E;
246
247 #define MAX_WRITE_SIZE 100
248
249 typedef struct
250 {
251     int * addr;
252 } CHIP_READ_T;
253
254 typedef struct
255 {
256     int * addr;
257     int buffer[MAX_WRITE_SIZE];
258 } CHIP_WRITE_T;
259 /* Message type define end*/
260
261 typedef enum
262 {
263     POWER_ON, 
264     POWER_OFF
265 } POWER_SET_E;
266
267 typedef enum
268 {
269     NORMAL_MODE                         = 0,
270     LAYER1_TEST_MODE                    = 1,
271     ASSERT_BACK_MODE                    = 2,
272     CALIBRATION_MODE                    = 3,
273     DSP_CODE_DOWNLOAD_BACK              = 4,
274     DSP_CODE_DOWNLOAD_BACK_CALIBRATION  = 5,
275     BOOT_RESET_MODE                     = 6,
276     PRODUCTION_MODE                     = 7,
277     RESET_MODE                          = 8,
278     CALIBRATION_POST_MODE               = 9,
279     PIN_TEST_MODE                       = 10,
280     IQC_TEST_MODE                       = 11,
281     WATCHDOG_RESET_MODE                 = 12,
282
283     CALIBRATION_NV_ACCESS_MODE          = 13,
284     CALIBRATION_POST_NO_LCM_MODE        = 14,
285
286     TD_CALIBRATION_POST_MODE            = 15,
287     TD_CALIBRATION_MODE                 = 16,
288     TD_CALIBRATION_POST_NO_LCM_MODE     = 17,
289     AUTO_TEST_MODE                      = 18,
290     
291     MODE_MAX_TYPE,
292
293     MODE_MAX_MASK                       = 0x1f  
294     
295 } MCU_MODE_E;
296
297 /*
298 *indicate that current is usb mcft mode
299 *maybe used only when changmode by pc tools
300 */
301 #define MCU_MODE_USB  0x80
302
303 typedef enum
304 {
305     MISC_TM_UPDATE =1,
306     MISC_RESERVED 
307 } MISC_CMD_E;
308
309
310 typedef enum
311 {
312     ADC_0  = 0x1,
313     ADC_1  = 0x2,
314     ADC_2  = 0x3,
315     ADC_3  = 0x4,    
316     ADC_4  = 0x5,
317     ADC_5 = 0x6, 
318     ADC_6 = 0x7,
319     ADC_0_HIGH_VOLTAGE = 0x81,
320     ADC_1_HIGH_VOLTAGE = 0x82,
321     ADC_2_HIGH_VOLTAGE = 0x83,
322     ADC_3_HIGH_VOLTAGE = 0x84, 
323     ADC_4_HIGH_VOLTAGE = 0x85, 
324     ADC_5_HIGH_VOLTAGE = 0x86,
325     ADC_6_HIGH_VOLTAGE = 0x87
326 }ADC_SOURCE_E;
327
328 // @lin.liu (2003-08-25), CR: ms4267 
329 typedef struct
330 {
331     MSG_HEAD_T   msg_head;
332     uint16       result;     // the result that sent back to PC
333 }MSG_ADC_T;
334
335 #define MAX_TEST_PIN_NUM       292
336
337 //#define PIN_STATE_UNDEFINED      0x0
338 //#define PIN_STATE_PASS           0x1
339 //#define PIN_STATE_FAIED          0x2
340 //#define PIN_STATE_NOT_CHECKED    0x3
341
342 // We use 2bits for one pin.
343 // state[n][1:0] :  state of pin 4*n + 0
344 // state[n][3:2] :  state of pin 4*n + 1
345 // state[n][5:4] :  state of pin 4*n + 2
346 // state[n][7:6] :  state of pin 4*n + 3
347 //
348 typedef struct
349 {
350     MSG_HEAD_T   msg_head;
351     uint16       pin_num;           // the pin number of the module.( include PASS, FAILED, NOT_CHECKED )
352     uint8        pin_state[ (MAX_TEST_PIN_NUM) / 4 + 2]; // pin state.
353 }MSG_PIN_TEST_T;
354 // End. @lin.liu
355
356 typedef struct
357 {
358     MSG_HEAD_T   msg_head;     // type is DIAG_CALIBRATION_NOISE_F
359     union
360     {
361         struct{
362                 uint32       EAR_noise_count;
363                 uint32       speaker_noise_count;
364         }result;
365         struct{
366             uint32       check_time;  // the time to check the noise count( ms )
367             uint32       reserved;
368         }input;
369     }param;
370 }MSG_CALIBRATION_NOISE_T;
371
372 typedef enum
373 {
374     CURRENT_TEST_STOP                   = 0,
375     CURRENT_TEST_RF_CLOSED              = 1,
376     CURRENT_TEST_DEEP_SLEEP             = 2,
377     CURRENT_TEST_LED_ON                 = 3,
378     CURRENT_TEST_VIBRATOR_ON            = 4,
379     CURRENT_TEST_RX_MIN_PEAK_VALUE      = 5,
380     CURRENT_TEST_TX_MAX_PEAK_VALUE      = 6,
381     CURRENT_TEST_CHARGING               = 7,
382     CURRENT_TEST_LED_OFF                = 8,
383     CURRENT_TEST_VIBRATOR_OFF           = 9,
384      CURRENT_TEST_DEEP_GET_SLEEP_FLAG   = 0xA,
385     CURRENT_TEST_DEEP_SLEEP_FLAG_ENABLE = 0xB,
386     CURRENT_TEST_DEEP_SLEEP_FLAG_DISABLE= 0xC,
387     CURRENT_TEST_DEEP_SLEEP_WAKEUP      = 0xF // Be careful that the higer 8 bit is used for parameter of how long it sleeps
388     
389 }CURRENT_TEST_E;
390
391 typedef enum
392 {
393     REG_READ, 
394     REG_WRITE
395 } REG_RW_E;
396
397 typedef enum
398 {
399         UNIT8_TYPE=1,
400         UNIT16_TYPE, 
401         UINT32_TYPE
402 } REG_TYPE_MODE_E;
403
404 typedef enum
405 {
406         REG_READ_SUCCESS,    // successful
407         REG_READ_ADDR_ERR,   // address cann't access 
408         REG_READ_OTHER_ERR  // other error
409 }READ_RESULT_MODE_E;
410
411 typedef enum
412 {
413         REG_WRITE_SUCCESS,   // successful
414         REG_WRITE_ADDR_ERR,  // address cann't access 
415         REG_WRITE_VALUE_ERR, // value error 
416         REG_WRITE_OTHER_ERR // other error
417 } WRITE_RESULT_MODE_E;
418
419 typedef struct
420 {
421         uint32       mode;     // MODE_ENUM
422         uint32       addr;     // register address
423         uint32       value;    // register value
424 }MSG_REG_T, *MSG_REG_PTR;
425
426 typedef struct
427 {
428         uint32       func_id;     //
429
430 }MSG_FUNC_CALL_T, *MSG_FUNC_CALL_PTR;
431
432 #define MAX_FAILED_PIN_NUM    64
433 typedef struct
434 {
435     MSG_HEAD_T      msg_head;
436     uint16          result;
437     uint8           failed_pin[ MAX_FAILED_PIN_NUM + 4]; // +4 for overwrite check
438 }MSG_PRODUCT_TEST_T;
439
440
441
442
443 //@lin.liu(2004-05-09). CR8889
444 //#define the subtype of type(DIAG_RPC_EFS_R).
445 typedef enum
446 {
447     RPC_EFS_CLOSE,
448     RPC_EFS_GET_LENGTH,
449     RPC_EFS_CREATE,
450     RPC_EFS_SEEK,
451     RPC_EFS_READ,
452     RPC_EFS_WRITE,
453     RPC_EFS_DELETE,
454     RPC_EFS_RENAME,
455     RPC_EFS_CHECK_EXIST,
456     RPC_EFS_FIND_FIRST,
457     RPC_EFS_FIND_NEXT,
458     RPC_EFS_CREATE_DIR,
459     RPC_EFS_DELETE_DIR,
460     RPC_EFS_FOPEN,
461     RPC_EFS_FCLOSE,
462     RPC_EFS_FREAD,
463     RPC_EFS_FWRITE,
464     RPC_EFS_FSEEK,
465     RPC_EFS_FTELL,
466     RPC_EFS_FEOF
467 }RPC_EFS_FUNCTION_E;
468 //End CR8889
469
470 //@Zhemin.Lin(2004-05-20), CR9397
471 typedef enum
472 {
473         RPC_DC_OPEN = 0,
474         RPC_DC_CLOSE,
475         RPC_DC_SETBYPASSMODE,
476         RPC_DC_SETPOWERSAVEMODE,
477         RPC_DC_SETPREVIEWWINSIZE,
478         RPC_DC_MOVEPREVIEWIN,
479         RPC_DC_STARTPREVIEW,
480         RPC_DC_STOPPREVIEW,
481         RPC_DC_SNAPSHOT,
482         RPC_DC_DISPJPEG,
483         RPC_DC_LOADOSD,
484         RPC_DC_ZOOMIN,
485         RPC_DC_ZOOMOUT,
486         RPC_DC_SETSWIVELMODE,
487         RPC_DC_SETOVERLAYMODE,
488         RPC_DC_GETERRORID,
489         RPC_DC_SETJPEGSIZE,
490         RPC_DC_SETJPEGLEVEL,
491         RPC_DC_SETLIGHTSOURCE,
492         RPC_DC_SETLIGHTINTENSITY,
493         RPC_DC_BRIGTENOBJ,
494         RPC_DC_ENABLEANTIBANDING,
495         RPC_DC_ENABLESTROBE,
496         RPC_DC_SETIMGEFFECT,
497         RPC_DC_ADJUSTCONTRAST,
498         RPC_DC_ADJUST_CR,
499         RPC_DC_ADJUST_CB,
500         RPC_DC_ADJUST_BRIGHT
501 }RPC_DC_FUNCTION_E;
502
503 //End CR9397
504
505
506 typedef enum
507 {
508     RPC_FFS_CLOSE,
509     RPC_FFS_GET_LENGTH,
510     RPC_FFS_CREATE,
511     RPC_FFS_SEEK,
512     RPC_FFS_READ,
513     RPC_FFS_WRITE,
514     RPC_FFS_DELETE,
515     RPC_FFS_RENAME,
516     RPC_FFS_CHECK_EXIST,
517     RPC_FFS_FIND_FIRST,
518     RPC_FFS_FIND_NEXT,
519     RPC_FFS_CREATE_DIR,
520     RPC_FFS_DIR,
521     RPC_FFS_CD,
522     RPC_FFS_DELETE_DIR,
523     RPC_FFS_FOPEN,
524     RPC_FFS_FCLOSE,
525     RPC_FFS_FREAD,
526     RPC_FFS_FWRITE,
527     RPC_FFS_FSEEK,
528     RPC_FFS_FTELL,
529     RPC_FFS_FEOF,
530     RPC_FFS_FORMAT,
531     RPC_FFS_FREE_SPACE,
532     RPC_FFS_USED_SPACE
533 }RPC_FFS_FUNCTION_E;
534
535 //
536 // The subtype of DIAG_FORCE_ON_CELLS_F Command
537 //
538 typedef enum
539 {
540     FORCE_ON_CELLS          = 0,
541     CANCEL_FORCE_ON_CELLS   = 1
542 }FORCE_ON_CELLS_TYPE_E;
543
544
545 #define FORCE_ON_CELLS_NUM_MAX       6
546
547 typedef struct
548 {
549     MSG_HEAD_T      msg_head;
550     
551     // The param is valid when the subtype is FORCE_ON_CELLS
552     uint16          cell_number_and_status;
553     uint16          cell_list[ FORCE_ON_CELLS_NUM_MAX ];
554         uint16                  sim_no;
555 }MSG_FORCE_ON_CELLS_T;
556
557 typedef struct
558 {
559     MSG_HEAD_T      msg_head;
560     
561     uint32          batt_voltage;
562 }MSG_POWER_SUPPLY_T;
563
564
565 typedef enum _TOOL_TV_MSG_ID_E
566 {
567     TOOL_TV_SET_FREQ = 0,              // ÉèÖÃƵµã
568     TOOL_TV_GET_DEMODULATION,          // »ñµÃ½âµ÷ÎļþÐÅÏ¢
569     TOOL_TV_GET_FREQERROR,             // »ñµÃƵÂÊÆ«²î
570     TOOL_TV_GET_RSSI,                  // »ñµÃRSSI´óС
571     TOOL_TV_GET_BLOCKERROR,            // »ñµÃ½ÓÊÕµ½µÄ×Ü¿éÊý£¬³ö´íµÄ×Ü¿éÊý
572     TOOL_TV_SET_REGISTER,              // Ð´Èë¼Ä´æÆ÷Öµ
573     TOOL_TV_GET_REGISTER,              // ¶ÁÈ¡¼Ä´æÆ÷Öµ
574     TOOL_TV_GET_PLL,                   // ¶ÁÈ¡PLLµÄËø¶¨ÐÅÏ¢
575     TOOL_TV_RESET_MODE,                // ÉèÖÃSC6600Vģʽ
576     TOOL_TV_GET_MODE,                  // ²éѯµ±Ç°SC6600VµÄģʽ
577     TOOL_TV_BB_SHOW_PICTURE,           // ¿ØÖÆLCD
578     TOOL_TV_START_RAM_ROM_TEST,        // ²âÊÔRAM/ROM
579     TOOL_TV_DISPLAY_PICTURE,           // ÏÔʾͼƬ
580     TOOL_TV_PERIPHERAL_TEST,           // Peripheral²âÊÔ
581     TOOL_TV_START_AV_DECODE_TEST,      // ·¢ÆðAudio Vedio Decode²âÊÔ
582     TOOL_TV_GET_AV_DECODE_TEST_STATE,  // ²éѯ²âÊÔ״̬,È·ÈÏÊÇ·ñ²âÊÔÍê³É
583     TOOL_TV_GET_AV_DECODE_TEST_RESULT, // Audio Vedio Decode²âÊÔ½á¹û
584     TOOL_TV_START_CMMB_DEMOD,          // ·¢ÆðCMMB Demod²âÊÔ
585     TOOL_TV_START_DATA_DISPLAY,        // ¿ªÊ¼Êý¾Ý»Ø·Å
586     TOOL_TV_LCD_DISPLAY,               // LCDÏÔʾ¿ØÖÆ
587     TOOL_TV_READ_NV,                   // ¶ÁNV²ÎÊý
588     TOOL_TV_WRITE_NV,                  // Ð´NV²ÎÊý
589     TOOL_TV_GET_SERVICE_INFO,          // »ñȡƵµã¼°ÆµµÀÐÅÏ¢
590     TOOL_TV_PLAY_BY_PARAM,             // ¸ù¾Ý¸ø¶¨Æµµã¼°ÆµµÀÐÅÏ¢½øÐв¥·Å
591     TOOL_TV_SEARCH_NETWORK,            // ËÑË÷ƵµÀ
592     TOOL_TV_SMD_CHECK,                 // SMD¼ì²â
593
594     TOOL_TV_CLOSE_WAITING_WIN,         // ¹Ø±ÕµÈ´ý´°¿Ú(·Ç¹¤¾ßÃüÁî)
595     TOOL_TV_CMD_INVALID                // ÎÞЧÃüÁî
596 } TOOL_TV_MSG_ID_E;
597 /**---------------------------------------------------------------------------*
598  **                         Compiler Flag                                     *
599  **---------------------------------------------------------------------------*/
600 #ifdef __cplusplus
601     }
602 #endif
603 #endif      /*End cmddef.h*/