- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 设置wifi默认country_code
添加对应属性在对应的mk文件中加入下面的语句:Makefile: device/(Product)/(Platform)/(Platform).mkAdd_line: PRODUCT_PROPERTY_OVERRIDES += \ ro.boot.wificountrycode=CN编译后确认在out/target/product/(Platform)/system/目录...
2018-04-24 10:29:14 8794 2
转载 HTTP状态码
HTTP状态码HTTP状态码(HTTP Status Code)是用以表示网页服务器HTTP响应状态的3位数字代码。它由 RFC 2616 规范定义的,并得到RFC 2518、RFC 2817、RFC 2295、RFC 2774、RFC 4918等规范扩展。中文名HTTP状态码外文名HTTP Status Code规范定义RFC 2616消息端1字头,2字头,3字头目录1消息2成功3重定向4请求错...
2018-04-23 15:40:11 209
原创 关闭wifi扫描
首先,我们需要一个应用程序iwpriv及提供对应接口的lib库libiw.so.然后,push进设备adb push libiw.so /vendor/lib64/adb push iwpriv /vendor/bin/执行命令,关闭scan adb shell iwpriv wlan0 scan_disable 1...
2018-04-23 10:50:39 2872
原创 命令查看蓝牙mac
1. adb shell settings get secure bluetooth_address2. service call bluetooth_manager 13其中: bluetooth_manager: [android.bluetooth.IBluetoothManager] 是Bluetooth相关services提供给上层的接口13 是IBluetoothManag...
2018-04-23 10:43:07 14201
原创 命令设置wifi国家码
1. wpa_cli -i wlan0 set country [country_code]2. service call wifi [setCountryCode_CODE] s16 [country_code]setCountryCode_CODE 是对应代码中IWifiManager.aidl中interface IWifiManager的setCountryCode方法对应的...
2018-04-17 20:31:19 22626 5
原创 Android adb remount failed处理及Read-only file system处理(Android O)
我们在调试工作中,常常会使用adb pull/push来获取或替换设备中的一些文件。1. 在使用pull/push前需要先执行:# adb root# adb remount在Android N及之前的版本,是ok的,但是在Android O上会提示remount失败:# adb remountremount of / failed: Permission deniedremount fai...
2018-04-14 11:20:13 22613
转载 Linux WiFi: Deauthenticated Reason Codes
转自:https://blog.csdn.net/ruiyiin/article/details/8751874CodeReasonExplanation0ReservedNormal working operation1Unspecific ReasonWe don’t know what’s wrong2Previous authentication no longer validClient...
2018-04-14 10:45:40 1198
原创 Android softap连接断开消息通知机制(Android O)
版权声明:本文为博主原创文章,博客地址:https://blog.csdn.net/h784707460/article/details/79788344,未经博主允许不得转载。基于用户需求、功耗优化等,Softap功能常常会在原生Android基础上做一些定制,比如:STA的接入/断开通知;获取当前接入的STA个数和列表;softap的休眠机制等。这些定制都离不开一个基础,就是Android s...
2018-04-02 14:10:01 2909 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人