启动softAP过程:
1)出现NULL Pointer,发现跟蓝牙有关,去掉setting里面TetherSettings.java updateBluetoothState。
2)提示“Exception in softap start java.lang.IllegalArgumentException
: command '101 softap fwreload wlan0 AP' failed with '501 101 SoftAP command has failed'”
因为我们driver AP不用固件。
Setting->WifiManger->WifiService->WifiController->NetworkManagementService
(wifiFirmwareReload)->NativeDaemonConnector(execute)->CommandListener->SoftapController(fwReloadSoftap)->wifi_get_fw_path如果WIFI_GET_FW_PATH_AP为空,则return ResponseCode::CommandParameterError。修改为ResponseCode::SoftapStatusResult即可。