Author Topic: Class Specific Notifications for CDC ECM  (Read 4930 times)

sujan.nag

  • Member
  • ***
  • Posts: 1
Class Specific Notifications for CDC ECM
« on: February 21, 2015, 01:17:41 am »
Hello All,

I am developing a device, similar to any COTS Ethernet over USB devices. It has a USB port working as a device to the Host PC, and a standard Ethernet port. For development I am using AM3354 from TI, and using Starterware v2.0 for development.

On the process of developing a USB CDC ECM Device side driver, I went through the ECM120.pdf spec. I am not clear about the notifications which are supposed to be sent by the device, NETWORK_CONNECTION and CONNECTION_SPEED_CHANGE.

My query is, under what circumstances does a device need to send this notification to the Host?

Thanks and Regards
Sujan Nag

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Class Specific Notifications for CDC ECM
« Reply #1 on: February 21, 2015, 10:13:44 am »
The device sends the notifications when the host requests them.

The ECM spec says that the device sends notifications using the management element, which means they use control transfers.

6.3 in the ECM spec lists the values the host will use to request these notifications, and the values the device should use in responding.