blob: 40f9a1c12a5cca58318215cc2ff539278b1e478d [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/**
2 * @file mmi_msg.h
3 * @brief ÌṩÁËmmiÏûÏ¢½Ó¿ÚºÍÏûÏ¢½á¹¹¶¨Òå
4 *
5 * Copyright (C) 2017 Sanechips Technology Co., Ltd.
6 * @author
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 */
13
14#ifndef __MMI_MSG_H__
15#define __MMI_MSG_H__
16#include "message.h"
17
18
19/*ϵͳÐÅÏ¢²éѯ*/
20typedef struct {
21 signed long srvStatus; /*ϵͳ·þÎñ״̬ */
22 signed long srvDomain; /*ϵͳ·þÎñÓò */
23 signed long roamStatus; /*ÂþÓÎ״̬ */
24 signed long sysMode; /*ϵͳģʽ */
25 signed long simState; /*SIM¿¨×´Ì¬ */
26 signed long reserve; /*±£ÁôÖµ */
27 signed long sysSubmode; /*ϵͳ×Óģʽ */
28} T_zAt_SysinfoRes;
29
30
31/* ÏûÏ¢½á¹¹Ìå */
32typedef struct {
33 unsigned char sms_unread_ind; //0:ÎÞδ¶Á¶ÌÐÅ£» 1:ÓÐδ¶Á¶ÌÐÅ
34 unsigned char sms_memory_full_ind; //0:²»Âú; 1: Âú
35 unsigned char sms_new_ind;
36 unsigned char sms_is_reading;
37 unsigned char sms_unread_count;
38} T_zUfi_SmsStatusInfoInd;
39
40/* ¹Ø»úÖØÆôÏûϢʵ¼Ê²Ù×÷Öµ */
41typedef enum {
42 Ext_Cmd_Base = 0,
43 Ext_Cmd_REBOOT,
44 Ext_Cmd_POWEROFF,
45 Ext_Cmd_POWEROFF_CHARGING,
46 Ext_Cmd_POWEROFF_FAKE,
47 Ext_Cmd_POWEROFF_CLOCK,
48 Ext_Cmd_MAX
49} T_zUfi_ExtCmd;
50
51struct ext_msg_data {
52 int cmd;
53};
54
55//autotest ×Ô¶¯»¯²âÊÔÏûÏ¢Êý¾Ý
56typedef struct {
57 SINT32 code;
58 SINT32 value;
59} autotest_key_rspmsg;
60
61//ÇëÎâºì½«mmiÄÚ²¿ÏûϢʹÓõÄÏûÏ¢Â룬ҲÌí¼Óµ½ÕâÀï
62enum mmi_msg_cmd {
63 MSG_CMD_CHANNEL_NETWORK_MODE = MSG_CMD_MMI_BASE,
64 MSG_CMD_MULTI_CONNECT_STATUS,//ÊÇ·ñ´æÔÚ¶à·PDP¼¤»î
65 MSG_CMD_CHANNEL_CONNECT_STATUS,
66 MSG_CMD_SMS_STATUS_INFO_IND,
67 MSG_CMD_OUT_REG_GET_SIGNAL_NUM,
68 MSG_CMD_MODIFY_SSID_KEY,
69 MSG_CMD_GET_TRAFFIC_INFO_START,
70 MSG_CMD_GET_TRAFFIC_INFO_END,
71 MSG_CMD_TRAFFIC_INFO_RESET,
72 MSG_CMD_GET_NET_PROVIDER,
73 MSG_CMD_SET_USB_MODE,
74 MSG_CMD_VOIP_STATUS_INFO,
75 MSG_CMD_STA_COUNT_CHANGE,
76 MSG_CMD_POWEROFF_PLUGOUT_RESULT,
77 MSG_CMD_SOCKET_STATE_CHANGE, //ÄÚÖÃsocket connect state
78 MSG_CMD_MCUSOCKET_STATE_CHANGE, //ÍâÖÃsocket connect state
79 MSG_CMD_MMIGET_WIFI_STANUM,//ÏÂÃæÊÇMMI ÄÚ²¿Ê¹ÓõÄÏûÏ¢
80 MSG_CMD_MMISTART_BACKLIGHTOFF_TIMER,
81 MSG_CMD_MMICHECK_TIP_INFO,
82 MSG_CMD_MMISHOW_SSID_INFO,
83 MSG_CMD_MMIGET_WIFI_DATA,
84 MSG_CMD_RJ11_STATUS_INFO, //Ò¢Ô¶cpe
85//#ifdef _ENABLE_AUTOTEST
86 MSG_CMD_AUTOTEST_KEY_REQ,
87//#endif
88};
89
90#endif
91