栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

【sdx12】使用QCMAP

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【sdx12】使用QCMAP

adb登录
adb root
adb shell
执行 QCMAP_CLI
/ # QCMAP_CLI
diag:successfully connected to socket 3

Please select an option to test from the items listed below.

1.  MobileAP Configuration
2.  LAN Configuration
3.  NAT/ALG/VPN Configuration
4.  WLAN Configuration
5.  Firewall Configuration
6.  Backhaul Configuration
7.  Tethering Configuration
8.  Media Service Configuration
9.  Generic Software Bridge Configuration
10. V2X Service Configuration
11. Modem Throughput Estimation Configuration
Option >
qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 65535 ind_buf_len 8.
QCMAP_Server status update on MDM: UP

输入数字1->2->1建立连接 

diag:successfully connected to socket 3

Please select an option to test from the items listed below.

1.  MobileAP Configuration
2.  LAN Configuration
3.  NAT/ALG/VPN Configuration
4.  WLAN Configuration
5.  Firewall Configuration
6.  Backhaul Configuration
7.  Tethering Configuration
8.  Media Service Configuration
9.  Generic Software Bridge Configuration
10. V2X Service Configuration
11. Modem Throughput Estimation Configuration
Option >
qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 65535 ind_buf_len 8.
QCMAP_Server status update on MDM: UP
1

1.  Display Current Config
2.  Enable/Disable mobileap
3.  Get MobileAP status
4.  Get Connected Device info
5.  Enable/Disable/Reset Packet Stats
6.  Get Packet Stats Status
7.  Restore Factory Default Settings(** Will Reboot Device )
8.  Teardown/Disable and Exit
9.  Set Data Path Optimization Flag
10. Get Data Path Optimization Flag
11. Set Device Mode
12. Get Device Mode
13. Set Client Configuration
14. Set N79 config
15. Get N79 config
16. Register for indications with indication mask
17. Set Feature Mode
18. Get Feature Mode
19. Reset Feature Mode
20. Set Client Preference (Profile handle, Subs_Id, etc)
21. Get Client Preference (Profile handle, Subs_Id, etc)
22. Unregister for indications with indication mask
2
   Please input MobileAP State(1-Enable/0-Disable) : 1

MobileAP Enable succeeds.

 配置wifi

输入4-->3-->2--->1-->1--->1--->1--->1--->1---->0

2表示启动两个AP,如果启动4个AP需要在2的位置输入7

Please select an option to test from the items listed below.

1.  MobileAP Configuration
2.  LAN Configuration
3.  NAT/ALG/VPN Configuration
4.  WLAN Configuration
5.  Firewall Configuration
6.  Backhaul Configuration
7.  Tethering Configuration
8.  Media Service Configuration
9.  Generic Software Bridge Configuration
10. V2X Service Configuration
11. Modem Throughput Estimation Configuration
Option >
qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 241 ind_buf_len 7.
Received MODEM_STATUS_IND: UP
4
1.  Enable/Disable WLAN
2.  Activate WLAN
3.  Set WLAN Config
4.  Get WLAN Config
5.  Get WLAN Status
6.  Set MobileAP/WLAN Bootup Config
7.  Get MobileAP/WLAN Bootup Config
8.  Get Station Mode Status
9.  Activate Hostapd Config
10. Activate Supplicant Config
11. Get WLAN IF information
12. Set Always on WLAN
13. Get Always on WLAN
14. Set Peer to Peer Role
15. Get Peer to Peer Role
16. Set WLAN Ex Config
17. Get WLAN Ex Config
18. Enable/Disable CoEX
3
Select the Type of WLAN Mode :
1: AP        2: AP-AP
3: AP-STA    4: AP-AP-AP
5: AP-AP-STA 6: STA-Only
7: AP-AP-AP-AP:::
11: AP-P2P    12: STA-P2P
2
 Do you want to change Guest AP 1 Access Profile 1-Yes/0-No
1
 Select guest AP 1 access profile 1-Full Access / 0- Internet Only
1
 Do you want to change Guest AP 2 Access Profile 1-Yes/0-No
1
 Select guest AP 2 access profile 1-Full Access / 0- Internet Only
1
 Do you want to change Guest AP 3 Access Profile 1-Yes/0-No
1
 Select guest AP 3 access profile 1-Full Access / 0- Internet Only
1
   Do you want to set Station Configuration(1-Yes/0-No) : 0

 LAN Config Set Successfully

启动wifi

输入4--->2 

Please select an option to test from the items listed below.

1.  MobileAP Configuration
2.  LAN Configuration
3.  NAT/ALG/VPN Configuration
4.  WLAN Configuration
5.  Firewall Configuration
6.  Backhaul Configuration
7.  Tethering Configuration
8.  Media Service Configuration
9.  Generic Software Bridge Configuration
10. V2X Service Configuration
11. Modem Throughput Estimation Configuration
Option > 4
1.  Enable/Disable WLAN
2.  Activate WLAN
3.  Set WLAN Config
4.  Get WLAN Config
5.  Get WLAN Status
6.  Set MobileAP/WLAN Bootup Config
7.  Get MobileAP/WLAN Bootup Config
8.  Get Station Mode Status
9.  Activate Hostapd Config
10. Activate Supplicant Config
11. Get WLAN IF information
12. Set Always on WLAN
13. Get Always on WLAN
14. Set Peer to Peer Role
15. Get Peer to Peer Role
16. Set WLAN Ex Config
17. Get WLAN Ex Config
18. Enable/Disable CoEX
2

注意

     启动wifi之前,需要先启动dnsmasq,

  263 nobody    0:07 dnsmasq --conf-file=/systemrw/data/dnsmasq.conf --dhcp-leasefile=/var/run/data/dnsmasq.leases --addn-hosts=/systemrw/data/hosts --pid-file=/var/run/data/dnsmasq.pid -i bridge0 --dhcp-range=bridge0,192.168.1.2,192.168.1.250,255.255.255.0,86400 --dhcp-option-force=6,192.168.1.1 --dhcp-option-force=120,abcd.com
  264 root      0:00 dnsmasq --conf-file=/systemrw/data/dnsmasq.conf --dhcp-leasefile=/var/run/data/dnsmasq.leases --addn-hosts=/systemrw/data/hosts --pid-file=/var/run/data/dnsmasq.pid -i bridge0 --dhcp-range=bridge0,192.168.1.2,192.168.1.250,255.255.255.0,86400 --dhcp-option-force=6,192.168.1.1 --dhcp-option-force=120,abcd.com

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/986106.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号