设为首页 收藏本站
查看: 805|回复: 0

[经验分享] android wifi相关模块 命令列表 汇总

[复制链接]

尚未签到

发表于 2015-10-1 14:53:35 | 显示全部楼层 |阅读模式
  static final int BASE =Protocol.BASE_WIFI;  131072
  static final intCMD_START_SUPPLICANT  = BASE +11;  131083
  static final intCMD_STOP_SUPPLICANT  = BASE +12;  131084
  static final intCMD_START_DRIVER  = BASE +13;  131085
  static final intCMD_STOP_DRIVER  = BASE + 14;  131086
  static final intCMD_STATIC_IP_SUCCESS  = BASE + 15;  131087
  static final intCMD_STATIC_IP_FAILURE  =BASE + 16;   131088
  static final intCMD_STOP_SUPPLICANT_FAILED  = BASE + 17;  131089
  static final intCMD_DELAYED_STOP_DRIVER  = BASE + 18;  131090
  static final intCMD_DRIVER_START_TIMED_OUT  = BASE + 19;  131091
  static final intCMD_CAPTIVE_CHECK_COMPLETE  = BASE + 20;  131092
  static final intCMD_START_AP  = BASE + 21;  131093
  static final intCMD_START_AP_SUCCESS  = BASE + 22;  131094
  static final intCMD_START_AP_FAILURE  = BASE + 23;  131095
  static final intCMD_STOP_AP  = BASE + 24;  131096
  static final intCMD_SET_AP_CONFIG  = BASE + 25;  131097
  static final intCMD_SET_AP_CONFIG_COMPLETED  = BASE + 26;   131098
  static final intCMD_REQUEST_AP_CONFIG  = BASE + 27;  131099
  static final intCMD_RESPONSE_AP_CONFIG  = BASE + 28;  131100
  static final intCMD_TETHER_STATE_CHANGE  = BASE + 29;  131101
  static final intCMD_TETHER_NOTIFICATION_TIMED_OUT  = BASE + 30;  131102
  static final intCMD_BLUETOOTH_ADAPTER_STATE_CHANGE  = BASE + 31;   131103
  static final intCMD_START_AP_BLOCK  =BASE + 32;  131104
  static final intCMD_PING_SUPPLICANT  = BASE + 51;  131123
  static final intCMD_ADD_OR_UPDATE_NETWORK  = BASE + 52; 131124
  static final intCMD_REMOVE_NETWORK  = BASE + 53;   131125
  static final intCMD_ENABLE_NETWORK  = BASE + 54;   131126
  static final intCMD_ENABLE_ALL_NETWORKS  = BASE + 55;   131127
  static final intCMD_BLACKLIST_NETWORK  = BASE + 56;  131128
  static final intCMD_CLEAR_BLACKLIST  = BASE + 57;  131129
  static final intCMD_SAVE_CONFIG  = BASE + 58;  131130
  static final intCMD_GET_CONFIGURED_NETWORKS  = BASE + 59;   131131
  static final intCMD_START_SCAN  = BASE + 71;  131143
  static final intCMD_SET_OPERATIONAL_MODE  = BASE + 72;   131144
  static final intCMD_DISCONNECT  = BASE + 73;  131145
  static final intCMD_RECONNECT  = BASE + 74;  131146
  static final intCMD_REASSOCIATE  = BASE + 75;  131147
  static final intCMD_SET_HIGH_PERF_MODE  = BASE + 77;   131149
  static final intCMD_SET_COUNTRY_CODE  = BASE + 80;   131152
  static final intCMD_ENABLE_RSSI_POLL  = BASE + 82;  131154
  static final intCMD_RSSI_POLL  =BASE + 83;  131155
  static final intCMD_START_PACKET_FILTERING  = BASE + 84;  131156
  static final intCMD_STOP_PACKET_FILTERING  = BASE + 85;  131157
  static final intCMD_SET_SUSPEND_OPT_ENABLED  = BASE + 86;  131158
  static final intCMD_NO_NETWORKS_PERIODIC_SCAN  = BASE + 88;   131160
  static final intCMD_SET_FREQUENCY_BAND  = BASE + 90;   131162
  static final intCMD_ENABLE_BACKGROUND_SCAN  = BASE + 91;   131163
  static final intCMD_ENABLE_TDLS  = BASE + 92;  131164
  static final intCMD_RESET_SUPPLICANT_STATE  = BASE + 111;  131183
  public static final intCMD_ENABLE_P2P  = BASE + 131;  131203
  public static final intCMD_DISABLE_P2P_REQ  = BASE + 132;  131204
  public static final intCMD_DISABLE_P2P_RSP  = BASE + 133;  131205
  public static final intCMD_BOOT_COMPLETED  = BASE + 134;  131206
  public static final intCMD_SET_BATCHED_SCAN  = BASE + 135;  131207
  public static final intCMD_START_NEXT_BATCHED_SCAN  =BASE + 136;  131208
  public static finalintCMD_POLL_BATCHED_SCAN  = BASE + 137;  131209
  static final intCMD_IP_ADDRESS_UPDATED  = BASE + 140;   131212
  static final intCMD_IP_ADDRESS_REMOVED  = BASE + 141;   131213
  static final intCMD_RELOAD_TLS_AND_RECONNECT  = BASE + 142;  131214
  private static final int BASE =Protocol.BASE_WIFI_MONITOR;  147456
  public static final intSUP_CONNECTION_EVENT  = BASE +1;  147457
  public static final intSUP_DISCONNECTION_EVENT  = BASE + 2;  147458
  public static final intNETWORK_CONNECTION_EVENT  = BASE + 3;   147459
  public static final intNETWORK_DISCONNECTION_EVENT  = BASE + 4;   147460
  public static final intSCAN_RESULTS_EVENT  = BASE + 5;  147461
  public static final intSUPPLICANT_STATE_CHANGE_EVENT  = BASE + 6;  147462
  public static final intAUTHENTICATION_FAILURE_EVENT  = BASE + 7;  147463
  public static final intWPS_SUCCESS_EVENT  = BASE + 8;  147464
  public static final intWPS_FAIL_EVENT  = BASE + 9;  147465
  public static final intWPS_OVERLAP_EVENT  = BASE + 10;   147466
  public static final intWPS_TIMEOUT_EVENT  = BASE + 11;   147467
  public static final intDRIVER_HUNG_EVENT  = BASE + 12;   147468
  //public static final intWIFI_AUTO_CONNECT_EVENT  = BASE + 13;  147469
  //public static final intWAPI_AUTHENTICATION_FAILURE_EVENT  = BASE + 14;   147470
  //public static final intWAPI_CERTIFICATION_FAILURE_EVENT  = BASE + 15;  147471
  public static final intP2P_DEVICE_FOUND_EVENT  =BASE + 21;   147477
  public static final intP2P_DEVICE_LOST_EVENT  = BASE + 22;  147478
  public static final intP2P_GO_NEGOTIATION_REQUEST_EVENT  = BASE + 23;   147479
  public static final intP2P_GO_NEGOTIATION_SUCCESS_EVENT  = BASE + 25;   147481
  public static final intP2P_GO_NEGOTIATION_FAILURE_EVENT  = BASE + 26;  147482
  public static final intP2P_GROUP_FORMATION_SUCCESS_EVENT  = BASE + 27;   147483
  public static final intP2P_GROUP_FORMATION_FAILURE_EVENT  = BASE + 28;   147484
  public static final intP2P_GROUP_STARTED_EVENT  = BASE + 29;   147485
  public static final intP2P_GROUP_REMOVED_EVENT  = BASE + 30; 147486
  public static final intP2P_INVITATION_RECEIVED_EVENT  = BASE + 31;  147487
  public static final intP2P_INVITATION_RESULT_EVENT  = BASE + 32;  147488
  public static final intP2P_PROV_DISC_PBC_REQ_EVENT  = BASE + 33;   147489
  public static final intP2P_PROV_DISC_PBC_RSP_EVENT  = BASE + 34;  147490
  public static final intP2P_PROV_DISC_ENTER_PIN_EVENT  = BASE + 35;  147491
  public static final intP2P_PROV_DISC_SHOW_PIN_EVENT  = BASE + 36;   147492
  public static final intP2P_FIND_STOPPED_EVENT  = BASE + 37;  147493
  public static final intP2P_SERV_DISC_RESP_EVENT  = BASE + 38;  147494
  public static final intP2P_PROV_DISC_FAILURE_EVENT  = BASE + 39;  147495
  public static final intAP_STA_DISCONNECTED_EVENT  = BASE + 41;   147497
  public static final intAP_STA_CONNECTED_EVENT  = BASE + 42;   147498
  public static final intASSOCIATION_REJECTION_EVENT  = BASE + 43;  147499
  private static final int BASE =Protocol.BASE_WIFI_MANAGER;  151552
  public static final intCONNECT_NETWORK  = BASE +1;  151553
  public static final intCONNECT_NETWORK_FAILED  = BASE + 2;  151554
  public static final intCONNECT_NETWORK_SUCCEEDED  = BASE + 3;  151555
  public static final intFORGET_NETWORK  = BASE + 4;  151556
  public static final intFORGET_NETWORK_FAILED  =BASE + 5;  151557
  public static final intFORGET_NETWORK_SUCCEEDED  = BASE + 6;  151558
  public static final intSAVE_NETWORK  = BASE + 7;  151559
  public static final intSAVE_NETWORK_FAILED  = BASE + 8;  151560
  public static final intSAVE_NETWORK_SUCCEEDED  = BASE + 9;  151561
  public static final intSTART_WPS  = BASE + 10;  151562
  public static final intSTART_WPS_SUCCEEDED  = BASE + 11;  151563
  public static final intWPS_FAILED  = BASE + 12;  151564
  public static final intWPS_COMPLETED  = BASE + 13;  151565
  public static final intCANCEL_WPS  = BASE + 14;  151566
  public static final intCANCEL_WPS_FAILED  = BASE + 15;  151567
  public static final int CANCEL_WPS_SUCCEDED  =BASE + 16;  151568
  public static final intDISABLE_NETWORK  = BASE + 17;  151569
  public static final intDISABLE_NETWORK_FAILED  = BASE + 18;  151570
  public static final intDISABLE_NETWORK_SUCCEEDED  = BASE + 19;  151571
  public static final intRSSI_PKTCNT_FETCH  = BASE + 20;  151572
  public static final intRSSI_PKTCNT_FETCH_SUCCEEDED  = BASE + 21;  151573
  public static final intRSSI_PKTCNT_FETCH_FAILED  = BASE + 22;  151574
  private static final int BASE =Protocol.BASE_WIFI_CONTROLLER;  155648
  static final intCMD_EMERGENCY_MODE_CHANGED  = BASE +1;  155649
  static final intCMD_SCREEN_ON  =BASE +2;  155650
  static final intCMD_SCREEN_OFF  = BASE + 3;  155651
  static final intCMD_BATTERY_CHANGED  = BASE + 4;  155652
  static final intCMD_DEVICE_IDLE  = BASE + 5;  155653
  static final intCMD_LOCKS_CHANGED  = BASE + 6;  155654
  static final intCMD_SCAN_ALWAYS_MODE_CHANGED  =BASE +7;  155655
  static final intCMD_WIFI_TOGGLED  = BASE + 8;  155656
  static final intCMD_AIRPLANE_TOGGLED  = BASE + 9;  155657
  static final intCMD_SET_AP  =BASE + 10;  155658
  static final intCMD_DEFERRED_TOGGLE  = BASE + 11;  155659
  static final intCMD_USER_PRESENT  = BASE + 12;  155660
  
  
  基础命令 汇总
  BASE_WIFI  131072
  BASE_WIFI_WATCHDOG  135168
  BASE_WIFI_P2P_MANAGER  139264
  BASE_WIFI_P2P_SERVICE  143360
  BASE_WIFI_MONITOR  147456
  BASE_WIFI_MANAGER  151552
  BASE_WIFI_CONTROLLER  155648
  BASE_WIFI_DHCP  196608
  BASE_DATA_CONNECTION  262144
  BASE_DATA_CONNECTION_AC  266240
  BASE_DATA_CONNECTION_TRACKER  270336
  BASE_DATA_DNS_PINGER  327680
  BASE_NSD_MANAGER  393216
  BASE_NETWORK_STATE_TRACKER  458752

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-121442-1-1.html 上篇帖子: 无线鼠标顿卡与wifi 下篇帖子: iphone4 wifi超时设置修改
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表