none
connecting two winCE based device via rndis RRS feed

  • Question

  • Hi,

    I have one winCE 5.0 based head unit (car kit). I want to connect windows based mobile to this head unit. On my mobile winCE 6.0 is running. I want to connect via rndis only. I am creating Nk.bin for head unit. I have added active sync as well as ndis driver support in my nk.bin. Still I am not able to connect this two device.

    I was successfull in connecting my mobile to XP based system via rndis.

    Can somebody tell me how to connect winCe based mobile to wince based head unit?

    Friday, February 4, 2011 5:45 AM

All replies

  • Activesync in windows ce will work with USB serial and not with USB Rndis. In windows mobile, Active sync on USB RNDIS will work because  windows mobile containing the necessary component for that and this is not available in windows ce. How you have connect the wince mobile device with PC(since Activesync will not connected through RNDIS in wince)

    Again one more question. your mobile device is windows Mobile 6.0 or Windows Embedded CE (wince 6.0)?

     


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Friday, February 4, 2011 6:35 AM
  • Hi vinoth,

    Thanks for the reply.

    OS in my mobile device is  windows mobile 6 standard CE OS  5.2.1236

    I added net2280.dll, usb8023.dll and rndismp.dll in my nk.bin of winCe 5.0 based head unit. But still I am not able to connect via usb rndis.

    I am totally new for rndis connection and implementation.

    Do usb8023.dll, rndismp.dll depends on architecture of my WinCe 5.0 device?

    Am I supposed to modify code of usb8023.dll and rndismp.dll given by microsoft as per my hardware specification?

    If yes then what all part I need to modify so that this dll start working for my device.

    It will be very helpful If you can guide me on this.

    Thursday, February 10, 2011 11:56 AM
  • usb8023.dll and rndismp.dll are device independent class specific drivers and you know need to modify it. did you add the component USB Remote NDIS Class Driver (SYSGEN_ETH_USB_HOST) in your platform builder project? if you add it, these drivers and the corresponding registry settings for the drivers are automatically included in your nk.bin during the build process.

    Again you are using Activesync to connect between the devices. There is no Activesync server support on windows ce 5.0 like PC.

    Try to write simple socket program between the device for communication testing. Or run Ping.exe in your device to see the connection response first.

     


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Thursday, February 10, 2011 1:15 PM
  • Hi Vinoth,

    I have set SYSGEN_ETH_USB_HOST from platform builder for adding usb8023 and rndismp.dll in my nk.bin.

    But still I am not able to connect my phone via rndis.

    How can I confirm whether my phone got connected via rndis or not.

    On XP I could see a new interface got added when I connected my mobile via rndis.

    On my head unit I could not see any interface creation after I connect my phone with head unit via usb cable.

    Friday, February 11, 2011 6:49 AM
  • Just check with ipconfig. it will display all adapters currently available on your device.

    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Friday, February 11, 2011 1:06 PM
  • Thank you for the helop Vinoth. I would work further on it, update you soon.
    Monday, February 14, 2011 1:34 AM
  • Why do you keep ignoring Vinoth's most important comments:

    ActiveSync cannot be used with RNDIS and there is no Windows CE side support for connecting a device such as your Windows Mobile device.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Monday, February 14, 2011 12:46 PM
    Moderator
  • Hi Vinoth,
    I was not able to find any new interface for rndis on connecting my phone with head unit.
    Hi Bruce,
    Do you mean that I cannot connect my Windows mobile 6.0 with my head unit running winCe 5.0 via usb rndis?
    I have already removed active sync support from my head unit (car kit) nk.bin.
    Model number of my windows mobile device is HTC S710. On car kit side I am using SH4 processor of WinCe 5.0.
    Tuesday, February 15, 2011 6:58 AM
  • No, I mean that you can't use ActiveSync , as Vinoth has been trying to tell you.  I jumped in becuase you appeared to keep moving down that path.  I did not see that you had acknowledged that you had read Vinoth's remarks and changed course.

    What do you expect to happen when you get them connected.  I don't expect anything noticeable other than a network connection between the two devices.

    You state: "I was not able to find any new interface for rndis on connecting my phone with head unit."  But you don't say how you looked.  That information would be very important.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Tuesday, February 15, 2011 2:44 PM
    Moderator
  • Hi Bruce/Vinoth,

    Sorry for not replying fast. I got busy in some other activity.

    As suggested by Vinoth I tried IPconfig on command promt but I did found interface for rndis.

    under start->Setting->network and dial up connection also I checked but didn't find any interface created on connecting mobile to my head unit.

    I checked in platform builder via view remote process whether dll got loaded (rndisfn or usb8023) but that also didn't got loaded.

    On XP when I connect mobile via rndis I got new interface in network panel. Even I could ping the mobile.

    Is it possible for you to tell me from the scratch what all things I have to do during making of nk.bin so that rndis starts working.

    Things which I have done is:

    1) Created new workspace with webpad as template for nk.bin creation.

    2) set SYSGEN_ETH_USB_HOST  (tried both 1 and 0 option)

    3) Set BSP_NORNDIS=0 by default it was 1 (tried with 1 and 0 both option)

    4)Build and sysgen current BSP

    5)Build and sysgen

    6)Copy files to release directory

    7) Checked in release directory that rndisfn and usb8023 dll are copied

    8) make run time image

    9) using viewbin utility verified that rndisfn and usb8023 dll are added in image

    10) tranferred nk.bin to my head unit.

    11) checked in registry file that registry entry exist for rndisfn as well as usb8023

    12) connected mobile with head unit.

     

    Even I tried modifying pid and vid in registry file but that also didn't work for me.

    It would be very helpful if you can give me you personal mail-id or phone number on which I could contact you. Now rndis activity is really imp for me.

    Tuesday, February 22, 2011 12:47 PM
  • Does anything work on your USB Host?   That is if you connect a mouse, keyboard, storage device do they work?


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Thursday, February 24, 2011 2:29 PM
    Moderator
  • yes mouse, keyboard, usb flash drive and usb hub all things I have tried and everything works fine.

    When I connect phone it starts charging but does not give any support regarding rndis interface.

    same phone works in rndis mode with XP.

    Tuesday, March 1, 2011 7:23 AM
  • I think that a driver is loading, otherwise you would be prompted to enter a driver to use.   Check to see which driver has loaded.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Tuesday, March 1, 2011 1:34 PM
    Moderator
  • Headunit ask for driver name when I connect phone. Head unit shows pop up enter usb driver name. If i cancel or I enter rndisfn or usb8023 name then it shows fail to load driver in platform builder log.
    Wednesday, March 16, 2011 2:30 PM
  • hi jainprashant07:

       I have the same problem with you! I have one wince 6.0 based device. I want to connecting windows mobile 6.0 phone to it. How to modify the usb8023.dll?

        connecting  to  My phone ( or every wm6.5 os 's phone ), will auto install driver。this drivers are  usb8023x.sys and rndismpx.sys.

       The problem you solved? 

     

     

     

     

    Wednesday, June 1, 2011 8:42 AM
  • Hi,

       Did you guys managed to make it work on both WinCE 5.0 and win CE 6.0, i am also working on similar devices, could you please let me know what the issue was and how did you resolve?

    Car Head Unit ---> WinCE 6.0 --  Have to develop CDC NCM protocol

    Mobile phone ----> Running  on Android (Has support for NCM protocol)

    Anand

    Thursday, July 18, 2013 2:47 PM