Author Topic: Ip over USB  (Read 6789 times)

Offline hervé

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Ip over USB
« on: December 04, 2012, 05:57:06 PM »
Hi,

Do you plan to implement ndis support or to have IP over USB in the future ?

Regards

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3234
    • View Profile
    • uTasker
Re: Ip over USB
« Reply #1 on: December 06, 2012, 03:56:38 AM »
Hi Hervé

I don't know the details of NDIS but it may basically be similar to the capability of allowing Ethernet (type) data transfer on various interfaces (serial, USB etc.) as well as Ethernet itself on an Ethernet interface. This is a guess but may be releated to your second question.

There have been some developments using TCP/IP over multiple alterative interfaces (serial/radio, WiFi, BlueTooth, ZigBee are example of possibilities) which effectively look like an "IP Interface", which is where the NDIS (type) part may come in. This meant that developments have resulted in multi-homed capabilities where multiple "IP Interfaces" that are connected can operate on a single or multiple IP addresses (sharing MAC or with multiple MACs) and perform routing functions between these interfaces (and filtering) or communicate with internal services (again configured to be on various IF interfaces / networks). Futhermore, the work has also allowed these "IP interfaces" (or networks or internal services) to be assigned to as VLAN or multiple VLANs. The result is a high degree of networking capability and flexibility over various interface types with very low overhead.

At the moment I am working on documenting these additional networking capabilities included in upcoming project releases.
This may means that the NDIS part is basically there. I never used this over USB but I don't see why it shouldn't be possible - transparent data transfer or a simple frame packaging would be simple (as UART projects have used, whereby CDC-class USB and UART interfaces are identical in the uTasker project). It also depends on the USB host's requiremenst since this may want a specific USB class to be used which may be more complicated to realise.

Regards

Mark

Offline FannyBay

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Ip over USB
« Reply #2 on: September 13, 2013, 12:24:52 PM »
Hi Mark
Has you support for CDC-ECM or EEM ?
Best regards
Lars

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3234
    • View Profile
    • uTasker
Re: Ip over USB
« Reply #3 on: September 14, 2013, 01:47:35 PM »
Hi Lars

I have never done any work on CDC-ECM (Ethernet Control Model) or CDC-EEM (Ethernet Emulation Model).
As far as I have understood them they allow making an Ethernet adapter that can be used by a host (PC) to realise an Ethernet interface but I wouldn't expect many people wanting to do anything like this since there are probably many cheap adapters of this type available.

What I did look into is whether Wifi Adapters work using this because I could imagine being able to plug cheap Wifi USB adapters into an embedded board (with USB host) would be very useful. However the ones that I tried looked to be using proprietory classes rathen that a standard class - probably because their PC drivers utilise the power of the local CPU to do most work (like encryption) so that the Wifi HW itself can be as simple (and cheap) as possible.

Regards

Mark