当前位置:网站首页>Shift EC20 mode and switch
Shift EC20 mode and switch
2022-07-04 11:13:00 【juno】
Move away EC20 Support 4 Patterns .
0:rmnet Pattern
adopt QMI Sent by tool QMI command , Access to the public network IP. This mode can cooperate usb_ecm Drive or Qualcomm GobiNet Driver USES .
1:ecm Pattern
standard-passing CDC-ECM launch data call, Send standard ECM command , Get LAN ip. This mode matches cdc_ether Driver USES
2:mbim Pattern
Mobile Broadband Interface Model, Authentic mobile broadband interface model , Dedicated to 3G/4G/5G Modular , Only in win8 The above windows Upper use . Generally only WINDOWS Next use .
3:rndis Pattern
be based on USB Realization RNDIS It's actually TCP/IP over USB, Is in the USB Running on the device TCP/IP, Give Way USB The device looks like a network card to obtain a LAN ip. This is the easiest way , After inserting the mobile phone card into the module , The module will automatically dial up the Internet .
Switching method
Send through serial port AT command
echo -e "AT+QCFG=\"usbnet\",0\r\n" > /dev/ttyUSB2 # Set mode
echo -e "AT+CFUN=1,1\r\n" >/dev/ttyUSB2 # Restart the module
The switch can be completed by replacing the number with the number of the corresponding mode .
Use RNDIS Mode time , You can set up the connection using the following command APN
echo -e "AT+CGDCONT=1,\"IPV4V6\",\"3gnet\"\r\n" > /dev/ttyUSB2 # Set context
echo -e "AT+CGACT=1,1\r\n" > /dev/ttyUSB2 # Activation context
echo -e "AT+CFUN=1,1\r\n" >/dev/ttyUSB2
边栏推荐
- software test
- Function parameters (positional parameters, default value parameters, variable parameters, named keyword parameters, keyword parameters)
- Customized version of cacti host template
- re. Sub() usage
- [test theory] test phase analysis (unit, integration, system test)
- Unittest+airtest+beatiulreport combine the three to make a beautiful test report
- iptables导致Heartbeat脑裂
- 试题库管理系统–数据库设计[通俗易懂]
- Exceptions and exception handling
- Elevator dispatching (pairing project) ④
猜你喜欢
Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Canoe - the third simulation project - bus simulation-1 overview
Elevator dispatching (pairing project) ④
JMeter correlation technology
Canoe - the third simulation project - bus simulation - 2 function introduction, network topology
Open the neural network "black box"! Unveil the mystery of machine learning system with natural language
DNS hijacking
Performance test method
Canoe - the third simulation project - bus simulation - 3-2 project implementation
随机推荐
Performance test method
Local MySQL forget password modification method (Windows) [easy to understand]
OSI seven layer reference model
DNS hijacking
Is Sanli futures safe? How to open a futures account? How to reduce the handling charge of futures at present?
Strings and characters
Application and Optimization Practice of redis in vivo push platform
Locust learning record I
Safety testing aspects
Function introduction of canbedded component
51 data analysis post
Installation of ES plug-in in Google browser
thread
Canoe: distinguish VT, VN and vteststudio from their development history
For and while loops
2、 Operators and branches
Canoe - the third simulation project - bus simulation - 3-1 project implementation
JMeter assembly point technology and logic controller
Elevator dispatching (pairing project) ④
Detailed array expansion analysis --- take you step by step analysis