纽酷--事件
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;
相关文章推荐
- 工程生成.dll
- 【Applescript】超简易教程 • 一
- dedecms使用sql语句调用文章静态链接地址的方法
- next_permutation,prev_permutation
- 百度地图系列03——简单地图定位
- hive ETL之电商零售行业-推荐系统sql
- Android View,ViewGroup 事件分发
- 将OCX控件打包成EXE,实现双击后自动注册
- 数据结构基础6.4:最短路径(Dijkstra, Floyd)
- 子串和再续(最大m段子串和)
- iOS切圆角
- win7 64位操作系统配置eclipse+android+cdt环境(各种变态错处理)
- JSTL标签EL表达式学习
- VBScript把文档修改为UTF-8格式
- JtextPane展示Html文件时设置背景色方式
- 如何实现PCB走线开窗上锡
- 杭电acm2094产生冠军(2)
- Ubuntu下允许mysql远程连接
- IoC Service Provier
- hive ETL之广告行业-用户行为归类sql