android wifi相关模块 命令列表 汇总
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