blob: 40f9a1c12a5cca58318215cc2ff539278b1e478d [file] [log] [blame]
/**
* @file mmi_msg.h
* @brief ÌṩÁËmmiÏûÏ¢½Ó¿ÚºÍÏûÏ¢½á¹¹¶¨Òå
*
* Copyright (C) 2017 Sanechips Technology Co., Ltd.
* @author
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#ifndef __MMI_MSG_H__
#define __MMI_MSG_H__
#include "message.h"
/*ϵͳÐÅÏ¢²éѯ*/
typedef struct {
signed long srvStatus; /*ϵͳ·þÎñ״̬ */
signed long srvDomain; /*ϵͳ·þÎñÓò */
signed long roamStatus; /*ÂþÓÎ״̬ */
signed long sysMode; /*ϵͳģʽ */
signed long simState; /*SIM¿¨×´Ì¬ */
signed long reserve; /*±£ÁôÖµ */
signed long sysSubmode; /*ϵͳ×Óģʽ */
} T_zAt_SysinfoRes;
/* ÏûÏ¢½á¹¹Ìå */
typedef struct {
unsigned char sms_unread_ind; //0:ÎÞδ¶Á¶ÌÐÅ£» 1:ÓÐδ¶Á¶ÌÐÅ
unsigned char sms_memory_full_ind; //0:²»Âú; 1: Âú
unsigned char sms_new_ind;
unsigned char sms_is_reading;
unsigned char sms_unread_count;
} T_zUfi_SmsStatusInfoInd;
/* ¹Ø»úÖØÆôÏûϢʵ¼Ê²Ù×÷Öµ */
typedef enum {
Ext_Cmd_Base = 0,
Ext_Cmd_REBOOT,
Ext_Cmd_POWEROFF,
Ext_Cmd_POWEROFF_CHARGING,
Ext_Cmd_POWEROFF_FAKE,
Ext_Cmd_POWEROFF_CLOCK,
Ext_Cmd_MAX
} T_zUfi_ExtCmd;
struct ext_msg_data {
int cmd;
};
//autotest ×Ô¶¯»¯²âÊÔÏûÏ¢Êý¾Ý
typedef struct {
SINT32 code;
SINT32 value;
} autotest_key_rspmsg;
//ÇëÎâºì½«mmiÄÚ²¿ÏûϢʹÓõÄÏûÏ¢Â룬ҲÌí¼Óµ½ÕâÀï
enum mmi_msg_cmd {
MSG_CMD_CHANNEL_NETWORK_MODE = MSG_CMD_MMI_BASE,
MSG_CMD_MULTI_CONNECT_STATUS,//ÊÇ·ñ´æÔÚ¶à·PDP¼¤»î
MSG_CMD_CHANNEL_CONNECT_STATUS,
MSG_CMD_SMS_STATUS_INFO_IND,
MSG_CMD_OUT_REG_GET_SIGNAL_NUM,
MSG_CMD_MODIFY_SSID_KEY,
MSG_CMD_GET_TRAFFIC_INFO_START,
MSG_CMD_GET_TRAFFIC_INFO_END,
MSG_CMD_TRAFFIC_INFO_RESET,
MSG_CMD_GET_NET_PROVIDER,
MSG_CMD_SET_USB_MODE,
MSG_CMD_VOIP_STATUS_INFO,
MSG_CMD_STA_COUNT_CHANGE,
MSG_CMD_POWEROFF_PLUGOUT_RESULT,
MSG_CMD_SOCKET_STATE_CHANGE, //ÄÚÖÃsocket connect state
MSG_CMD_MCUSOCKET_STATE_CHANGE, //ÍâÖÃsocket connect state
MSG_CMD_MMIGET_WIFI_STANUM,//ÏÂÃæÊÇMMI ÄÚ²¿Ê¹ÓõÄÏûÏ¢
MSG_CMD_MMISTART_BACKLIGHTOFF_TIMER,
MSG_CMD_MMICHECK_TIP_INFO,
MSG_CMD_MMISHOW_SSID_INFO,
MSG_CMD_MMIGET_WIFI_DATA,
MSG_CMD_RJ11_STATUS_INFO, //Ò¢Ô¶cpe
//#ifdef _ENABLE_AUTOTEST
MSG_CMD_AUTOTEST_KEY_REQ,
//#endif
};
#endif