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
是能MobileAP Enable succeeds.
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 qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 254 ind_buf_len 14. qcmap_cli_main.cpp 1952:Subs_id for MODEM_SERVICE_STATUS_IND: 1 qcmap_cli_main.cpp 1958:Received MODEM_SERVICE_STATUS_IND: UP MobileAP Enable succeeds.
输入6--->2---->1---->1---->3
3表示使用IPv4 IPv6同时拨号
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 6 1. Backhaul Common 2. Backhaul WWAN 2 1. Connect/Disconnect Backhaul 2. Get WWAN status 3. Get WWAN Statistics 4. Reset WWAN Statistics 5. Set Webserver WWAN access flag 6. Get Webserver WWAN access flag 7. Set WWAN Profile 8. Get WWAN Profile 9. Set Prefix Delegation Config 10. Get Prefix Delegation Config 11. Get Prefix Delegation Status 12. Enable/Disable TinyProxy 13. Get TinyProxy Status 14. Set IP Passthrough Config 15. Get IP Passthrough Config 16. Get IP Passthrough State 17. Set Autoconnect Config 18. Get Autoconnect Config 19. Set Roaming 20. Get Roaming 21. Enable/Disable DDNS 22. Set DDNS Config 23. Get DDNS Config 24. Switch WWAN Profile 25. Create WWAN Profile 26. Update WWAN Profile 27. Delete WWAN Profile 28. Add/Delete PDN to VLAN Mapping 29. Get All PDN to VLAN Mappings 30. Set PMIP mode 31. Get PMIP mode 32. Get WWAN Roaming status 33. Get Current Profile Handle 34. Eth over GRE Tunnel Config 35. Set IP Passthrough S/W Path Filter 36. Get IP Passthrough S/W Path Filter 37. Set DHCPv6 DNS proxy config 38. Get DHCPv6 DNS proxy state 1 Please input Backhaul State(1-Connect/0-Disconnect) : 1 Please input Call Type (1-IPV4; 2-IPV6; 3-IPV4V6) : 3 ConnectBackHaul succeeds. 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 198 ind_buf_len 18. qcmap_cli_main.cpp 1642:qcmap_msgr_qmi_qcmap_ind: IPV4 WWAN Backhaul connected... qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 34 ind_buf_len 107. qcmap_cli_main.cpp 886:qcmap_msgr_qmi_qcmap_ind: PDN=1 (Subs_Id=0) IPV4 WWAN Connected Interface Name : rmnet_data1 Public IPv4 Address : 10.0.91.239 Primary DNS IPv4 Address : 120.80.80.80 Seccondary DNS IPv4 Address : 221.5.88.88 Public IPv6 Address : :: Gateway IPv6 Address : :: Primary DNS IPv6 Address : :: Seccondary DNS IPv6 Address : :: qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 36 ind_buf_len 107. qcmap_cli_main.cpp 1040:qcmap_msgr_qmi_qcmap_ind: PDN=1 (Subs_Id=0) IPv4 WWAN Connected... qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 198 ind_buf_len 18. qcmap_cli_main.cpp 1642:qcmap_msgr_qmi_qcmap_ind: IPV6 WWAN Backhaul connected... qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 34 ind_buf_len 107. qcmap_cli_main.cpp 907:qcmap_msgr_qmi_qcmap_ind: PDN=1 (Subs_Id=0) IPV6 WWAN Connected Interface Name : rmnet_data1 Public IPv4 Address : 0.0.0.0 Primary DNS IPv4 Address : 0.0.0.0 Seccondary DNS IPv4 Address : 0.0.0.0 Public IPv6 Address : 2408:8459:3030:7ee5:b50e:eb35:b38a:e573 Gateway IPv6 Address : 2408:8888:0:8888::8 Primary DNS IPv6 Address : 2408:8888:0:8888::8 Seccondary DNS IPv6 Address : 2408:8899:0:8899::8 qcmap_cli_main.cpp 803:qcmap_msgr_qmi_qcmap_ind: user_handle 2 msg_id 36 ind_buf_len 107. qcmap_cli_main.cpp 1073:qcmap_msgr_qmi_qcmap_ind: PDN=1 (Subs_Id=0) IPV6 WWAN Connected...
注意
拨号成功会显示获取的IP地址



