您的位置:首页 > 其它

纽酷--事件

2015-11-27 18:25 267 查看
//------EVT <--> MSG-----------------------------------------------
/*!  pnp service events  */
typedef enum tag_pnp_svc_evt
{
/*!    Flag of evt start    */
PNP_SVC_EVT_START = (MDL_PNP_SVC << 16),
/*!    Invoke this event when found usb/sd card plug in 0x01    */
PNP_SVC_USB_DEV_PLUG_IN,
/*!    Invoke this event when found usb/sd card plug out    */
PNP_SVC_USB_DEV_PLUG_OUT,
/*!    Invoke this event when found usb/sd card plug in    */
PNP_SVC_USB_MASS_PLUG_IN,//大容量USB
/*!    Invoke this event when found internet plug in   0x03    */
PNP_SVC_INTERNET_PLUG_IN,
/*!    Invoke this event when found internet plug out    */
PNP_SVC_INTERNET_PLUG_OUT,
/*!    Invoke this event when found hdmi plug in     0x05    */
PNP_SVC_HDMI_PLUG_IN,
/*!    Invoke this event when found hdmi plug out    */
PNP_SVC_HDMI_PLUG_OUT,

/*!    Invoke this event when vfs mount success    */
PNP_SVC_VFS_MOUNT_SUCCESS,
/*!    Invoke this event when vfs mount fail    */
PNP_SVC_VFS_MOUNT_FAIL,
/*!    Invoke this event when vfs un-mount success    */
PNP_SVC_VFS_UNMOUNT_SUCCESS,
/*!    Invoke this event when vfs un-mount fail    */
PNP_SVC_VFS_UNMOUNT_FAIL,

/*!    Invoke this event when wifi dev connect    */
PNP_SVC_WIFI_CONNECT_AP,
/*!    Invoke this event when wifi dev disconnect    */
PNP_SVC_WIFI_DIS_AP,
/*!    Invoke this event when wifi dev connecting    */
PNP_SVC_WIFI_CONNECTING_AP,
/*!    Invoke this event when wifi dev connect fail    	*/
PNP_SVC_WIFI_CONNECT_FAIL_AP,
/*!    Invoke this event when no wifi dev    */
PNP_SVC_WIFI_NO_DEV,

/*!    Invoke this event when gprs status update    */
PNP_SVC_GPRS_STATUS_UPDATE,
/*!    Invoke this event when 3g status update    */
PNP_SVC_3G_STATUS_UPDATE,
/*!    Invoke this event when ip camara detect    */
PNP_SVC_IP_CAMARA_DETECT,

/*!    Invoke this event when found usb internet plug in    */
PNP_SVC_USB_INTERNET_PLUG_IN,
/*!    Invoke this event when found usb internet plug out    */
PNP_SVC_USB_INTERNET_PLUG_OUT,
/*!    Flag of evt end    */
PNP_SVC_EVT_END
}pnp_svc_event_t;

/*!  net service events  */
typedef enum tag_net_svc_evt
{
/*!    Flag of evt start    */
NET_SVC_EVT_START = (MDL_NET_SVC << 16),
/*!    Invoke this event when config ipaddr in 0x01    */
NET_SVC_CONFIG_IP,
/*!    Invoke this event when do ping test in 0x02    */
NET_SVC_PING_TEST,
/*!    Invoke this event when do ping test in 0x02    */
NET_SVC_WIFI_AP_CNT,

/*!    Invoke this event when network wire plug in in 0x03    */
NET_SVC_CHAIN_CONNECTED,
/*!    Invoke this event when network wire plug out in 0x03    */
NET_SVC_CHAIN_UNCONNECTED,
/*!    Invoke this event when get 3g info    */
NET_SVC_3G_INFO_GET,
/*!    pppoe connect success    */
NET_SVC_PPPOE_CONNECT_SUCCESS,
/*!    pppoe connect fail    */
NET_SVC_PPPOE_CONNECT_FAIL,
/*!    Flag of evt end    */
NET_SVC_EVT_END
}net_svc_event_t;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: