CN111328091A - Wireless communication device configuration method based on RNDIS protocol - Google Patents
Wireless communication device configuration method based on RNDIS protocol Download PDFInfo
- Publication number
- CN111328091A CN111328091A CN202010117080.4A CN202010117080A CN111328091A CN 111328091 A CN111328091 A CN 111328091A CN 202010117080 A CN202010117080 A CN 202010117080A CN 111328091 A CN111328091 A CN 111328091A
- Authority
- CN
- China
- Prior art keywords
- hardware
- communication
- wireless communication
- wifi
- upper computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000005540 biological transmission Effects 0.000 claims abstract description 16
- 230000010354 integration Effects 0.000 abstract description 7
- 238000013461 design Methods 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 4
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a wireless communication device configuration method based on RNDIS protocol, mainly solving the problem of wireless drive chip and realizing installation-free and plug-and-play of user drive. The configuration method encapsulates NDIS micro-port driver of hardware equipment based on RNDIS protocol; the method specifically comprises the following steps: (S1) defining a hardware device-related same-row usb endpoint port, 1 communication control port and a plurality of data transmission ports, wherein the ports are respectively used for sta, p2p and ap communication data transmission; (S2) defining the functions of the software and hardware system of the equipment end, and completing the communication and data forwarding of the usb interface of the upper computer and the actual WiFi hardware interface. Through the design, the invention omits the integration work of WiFi equipment based on different transmission bus interfaces, unifies the WiFi equipment into RNDIS equipment based on USB, realizes the plug-and-play wireless communication, can be applied to linux and windows systems, and greatly facilitates users and system integration developers. Therefore, the method is suitable for popularization and application.
Description
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method for configuring a wireless communication device based on RNDIS protocol.
Background
Wireless communication technology has been widely used in our lives, where WiFi-based wireless communication technology occupies most of our traffic.
Currently, many wireless WiFi transmission chip manufacturers on the market do not provide corresponding windows or linux system drivers. All wireless fidelity (WiFi) -based drivers are provided by chip manufacturers and are not uniform, and wireless copper wire data are packaged into an Ethernet TCP/UDP/IP technology based on usb/type and RNDIS standard protocols. The method can be applied to linux and windows systems, and greatly improves the user and system integration developers.
Disclosure of Invention
The invention aims to provide a wireless communication device configuration method based on RNDIS protocol, which mainly solves the problem of a wireless drive chip and realizes installation-free and plug-and-play of user drive.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a wireless communication device configuration method based on RNDIS protocol, NDIS micro port driver of hardware equipment is packaged; the method specifically comprises the following steps:
(S1) defining a hardware device-related same-row usb endpoint port, 1 communication control port and a plurality of data transmission ports, wherein the ports are respectively used for sta, p2p and ap communication data transmission;
(S2) defining the functions of the software and hardware system of the equipment end, and completing the communication and data forwarding of the usb interface of the upper computer and the actual WiFi hardware interface.
Further, in the step (S2), the upper computer and the network card device perform information transmission based on the control of TCP/UDP; the network card equipment forwards communication data to the upper computer and forwards the data from the upper computer based on TCP/IP.
Furthermore, the hardware device adopts a chip with a CPU processor and an existing WiFi chip.
Furthermore, the hardware device adopts a chip with an MCU independent processor and an existing WiFi chip.
Further, in the step (S2), communication and data forwarding of the usb interface of the upper computer and the actual WiFi hardware interface are controlled by the CPU or the MCU of the hardware device.
Compared with the prior art, the invention has the following beneficial effects:
the invention unifies WiFi communication equipment into a communication mode, adopts system integration to avoid the work of integrating various drivers, and is very friendly to a terminal use interface. The integrated operation of WiFi equipment based on different transmission bus interfaces (sdio, USB, pci and the like) is omitted, the WiFi equipment is unified into USB-based RNDIS equipment, the plug-and-play wireless communication is realized, the plug-and-play wireless communication system can be applied to linux and windows systems, and users and system integration developers are greatly improved.
Drawings
FIG. 1 is a schematic overall flow chart of the method of the present invention.
FIG. 2 is a schematic diagram of the system architecture of the method of the present invention.
Detailed Description
The present invention will be further described with reference to the following description and examples, which include but are not limited to the following examples.
Examples
As shown in fig. 1 and 2, the present invention discloses a method for configuring a wireless communication device based on RNDIS protocol, which encapsulates an NDIS micro port driver of a hardware device based on RNDIS protocol; the method specifically comprises the following steps:
(S1) defining a hardware device-related same-row usb endpoint port, 1 communication control port and a plurality of data transmission ports, wherein the ports are respectively used for sta, p2p and ap communication data transmission;
(S2) defining the functions of the software and hardware system of the equipment end, and finishing the communication and data forwarding of the usb interface of the upper computer and the actual WiFi hardware interface under the control of the CPU or MCU of the hardware equipment. The upper computer and the network card device transmit information based on the control of TCP/UDP, such as related ssid and password parameters, wifi related working parameter setting and the like, and related state information reported by the network card. The network card equipment forwards communication data to the upper computer and forwards the data from the upper computer based on TCP/IP.
The hardware device adopts a CPU processor (processor chips such as Haesi, mtk, Quanzhi, arm and the like) supporting usb otg and a wireless communication WiFi network card chip (chip schemes such as mtk7668, mt7661, rtl8822 and the like) or a chip scheme with the functions of the CPU processor and the WiFi network card. The CPU is responsible for processing and completing the control and transmission communication protocol of the wireless communication drive, and meanwhile, the CPU is used as the usbrandis network communication equipment to complete the transmission and sending of data to the main control system CPU.
Or a chip scheme with an MCU independent processor on the market is adopted, such as a 5663 chip with sharp purple light and an LPWiFi chip scheme of Haisi.
The invention unifies WiFi communication equipment into a communication mode, adopts system integration to avoid the work of integrating various drivers, and is very friendly to a terminal use interface. The integrated operation of WiFi equipment based on different transmission bus interfaces (sdio, USB, pci and the like) is omitted, the WiFi equipment is unified into USB-based RNDIS equipment, the plug-and-play wireless communication is realized, the plug-and-play wireless communication system can be applied to linux and windows systems, and users and system integration developers are greatly improved.
The above-mentioned embodiment is only one of the preferred embodiments of the present invention, and should not be used to limit the scope of the present invention, but all the insubstantial modifications or changes made within the spirit and scope of the main design of the present invention, which still solve the technical problems consistent with the present invention, should be included in the scope of the present invention.
Claims (5)
1. A wireless communication device configuration method based on RNDIS protocol is characterized in that NDIS micro-port driver of hardware equipment is packaged based on RNDIS protocol; the method specifically comprises the following steps:
(S1) defining a hardware device-related same-row usb endpoint port, 1 communication control port and a plurality of data transmission ports, wherein the ports are respectively used for sta, p2p and ap communication data transmission;
(S2) defining the functions of the software and hardware system of the equipment end, and completing the communication and data forwarding of the usb interface of the upper computer and the actual WiFi hardware interface.
2. The method of claim 1, wherein in the step (S2), the upper computer and the network card device perform information transmission based on TCP/UDP control; the network card equipment forwards communication data to the upper computer and forwards the data from the upper computer based on TCP/IP.
3. The method of claim 1, wherein the hardware device comprises a chip with a CPU processor and an existing WiFi chip.
4. The method of claim 1, wherein the hardware device comprises a chip with an MCU-independent processor and an existing WiFi chip.
5. The method of configuring a wireless communication apparatus according to any of claims 3 or 4, wherein in the step (S2), the communication and data forwarding of the usb interface and the actual WiFi hardware interface of the upper computer are controlled by the CPU or MCU of the hardware device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010117080.4A CN111328091A (en) | 2020-02-25 | 2020-02-25 | Wireless communication device configuration method based on RNDIS protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010117080.4A CN111328091A (en) | 2020-02-25 | 2020-02-25 | Wireless communication device configuration method based on RNDIS protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111328091A true CN111328091A (en) | 2020-06-23 |
Family
ID=71171227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010117080.4A Pending CN111328091A (en) | 2020-02-25 | 2020-02-25 | Wireless communication device configuration method based on RNDIS protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111328091A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112888049A (en) * | 2021-01-26 | 2021-06-01 | 展讯半导体(成都)有限公司 | Data transmission control method, function machine and related product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201393230Y (en) * | 2008-12-26 | 2010-01-27 | 北京中电华大电子设计有限责任公司 | USB interface-based wireless network card testing device |
CN102710672A (en) * | 2011-03-28 | 2012-10-03 | 中兴通讯股份有限公司 | Access method and access system of data card web-form control interface |
CN103853586A (en) * | 2014-03-05 | 2014-06-11 | 中南大学 | Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer |
CN105307109A (en) * | 2015-11-19 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | USB (Universal Serial Bus) wireless connector, wireless connection system and USB wireless communication method |
-
2020
- 2020-02-25 CN CN202010117080.4A patent/CN111328091A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201393230Y (en) * | 2008-12-26 | 2010-01-27 | 北京中电华大电子设计有限责任公司 | USB interface-based wireless network card testing device |
CN102710672A (en) * | 2011-03-28 | 2012-10-03 | 中兴通讯股份有限公司 | Access method and access system of data card web-form control interface |
CN103853586A (en) * | 2014-03-05 | 2014-06-11 | 中南大学 | Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer |
CN105307109A (en) * | 2015-11-19 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | USB (Universal Serial Bus) wireless connector, wireless connection system and USB wireless communication method |
Non-Patent Citations (1)
Title |
---|
高东飞等: "基于RNDIS协议的虚拟网卡程序实现", 《计算机技术与发展》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112888049A (en) * | 2021-01-26 | 2021-06-01 | 展讯半导体(成都)有限公司 | Data transmission control method, function machine and related product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951388B (en) | PCIe-based DMA data transmission method and system | |
KR101973735B1 (en) | Method and apparatus for electronic device communication | |
EP2825969B1 (en) | Data redirection for universal serial bus devices | |
EP2288102A1 (en) | Method and system for wireless data communicatiopn in data processing system with a USB interface | |
CN111277988B (en) | Method for improving Bluetooth transmission speed of WeChat applet | |
WO2020181486A1 (en) | Information processing method, apparatus, and system | |
WO2011022965A1 (en) | Bluetooth function providing method and terminal for computer | |
CN104506516A (en) | Gateway for conversion between Modbus RTU/ASCII (remote terminal unit/American standard code for information interchange) communication protocol and Modbus TCP (transmission control protocol) communication protocol and implementation method for gateway | |
JP6665190B2 (en) | Network sharing implementation method and apparatus | |
CN101499827B (en) | Mobile terminal and Bluetooth communication method thereof | |
CN106339348B (en) | Data transmission method and device based on mobile terminal interface expansion | |
CN111328091A (en) | Wireless communication device configuration method based on RNDIS protocol | |
JP5662946B2 (en) | Digital radio frequency interface control | |
US20180329838A1 (en) | Bus communication enhancement based on identification capture during bus arbitration | |
WO2019129229A1 (en) | Data aggregation and transmission device for mobile terminal | |
CN210924553U (en) | Embedded system development multi-TTL serial port remote synchronous debugging device | |
CN107329924A (en) | A kind of data interaction system and method | |
CN108132898A (en) | Multiplex communication control method and communication box | |
CN114040370B (en) | Debugging system of many bluetooth equipment | |
CN107241751B (en) | External dialing networking method and system for wireless communication module | |
CN209787189U (en) | Embedded Ethernet communication device | |
CN107180007B (en) | PC-large scale intelligent terminal communication system and method thereof | |
CN208477719U (en) | LDV technique signal processor transmitting device | |
WO2012019376A1 (en) | Method and apparatus for implementing network device function of wireless communication terminal | |
KR100608652B1 (en) | System for controlling gpio of dual cpu using ril |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200623 |
|
RJ01 | Rejection of invention patent application after publication |