Author: arm-WinCE
I haven't written a blog for a long time. This time is too busy. It is a big problem to work with Americans and Indians on projects. Communication also takes a lot of time, sending emails and opening conference calls. In any case, I have been on the blog for almost two years. I will continue to write it, when I have time. No more nonsense. Let's talk about rndis today.
Rndis refers to remote NDIS. rndis Based on USB is actually TCP/IP over USB, that is, running TCP/IP on a USB device makes the USB device look like a network card.
Similarly, to implement the USB rndis function in wince, the following conditions are met:
1. Support for USB client and the USB driver is OK.
2. Install the Active Sync software on the PC to support the rndis driver.
I will not talk about the USB driver here. If the USB driver already exists, the implementation of the USB rndis mentioned here refers to running rndis on the USB client device. The following describes the specific steps:
1.Select USB client rndisComponents
When customizing wince, choose "device drivers"> "USB function"> "USB function clients"> "rndis clients" in the catalog items view ",
2.Change USB ClientRegistry Configuration
I don't want to explain it in detail. I believe you will understand it after a look, as shown below:
[HKEY_LOCAL_MACHINE/Drivers/USB/functiondrivers]
"Defaultclientdriver" = "rndis"
[HKEY_LOCAL_MACHINE/Drivers/USB/functiondrivers/rndis]
"Useactivesyncids" = DWORD: 1
"DLL" = "rndisfn. dll"
"Friendlyname" = "rndis"