USB communications device class (or USB CDC class) is a composite Universal Serial Bus device class. The communications device class is used for computer networking devices akin to a network card, providing an interface for transmitting Ethernet or ATM frames onto some physical media. Emulating a COM/Serial Port Over USB using CDC driver This site uses cookies to provide an improved digital experience. You can learn more about the cookies we use as well as how you can change your cookie settings by clicking here.
Userspace javascript implementation of a USB CDC ACM driver, on top of libusb.
This is part of Nordic Semiconductor's javascript tools tointerface with nRF SoCs and development kits. Although USB CDC ACM is part of the USB specificationsand a de facto standard when it comes to emulating a serial port connection on an embedded device,Nordic Semiconductor cannot offer support for other hardware platforms. This software is provided 'as is'.
Motivation
Sometimes you want to fetch info from the USB descriptors via theNodeJS
usb module, and at the same time use the CDC ACMinterface to send and receive data. But this is not possible with some host configurations(notably, win32/win64 platforms and their need to manually switch the driver via Zadig or the like).
APIusb-cdc-acm provides a duplex Stream interface. Pleaserefer to NodeJS's documentation about Stream s for a full API spec.
Other than that,
usb-cdc-acm provides two entry points. Either of those need you to use usb tofetch a reference to the Device or to a CDC Interface .
Use the factory method when your USB device only has one CDC ACM interface:
If the device has several CDC ACM interfaces and finer control is needed,
For a more complete example, check the
test/test.js file.
Legal
Distributed under a BSD-3 license. See the
LICENSE file for details.
USB communications device class (or USB CDC class) is a composite Universal Serial Busdevice class.
Usb Cdc Acm Driver Samsung
The communications device class is used for computer networking devices akin to a network card, providing an interface for transmitting Ethernet or ATM frames onto some physical media. It is also used for modems, ISDN, fax machines, and telephony applications for performing regular voice calls.
Microsoft Windows versions prior to Windows Vista do not work with the networking parts of the USB CDC, instead using Microsoft's own derivative named Microsoft RNDIS, a serialized version of the Microsoft NDIS (Network Driver Interface Specification). With a vendor-supplied INF file, Windows Vista works with USB CDC and USB WMCDC devices.[1]
Vcp Cdc-acm Usb Driver
This class can be used for industrial equipment such as CNC machinery to allow upgrading from older RS-232 serial controllers and robotics, since they can keep software compatibility. The device attaches to an RS-232 communications line and the operating system on the USB side makes the USB device appear as a traditional RS-232 port. Chip manufacturers such as Prolific Technology, FTDI, Microchip, and Atmel provide facilities for developing USB RS-232 devices.
Devices of this class are also implemented in embedded systems such as mobile phones so that a phone may be used as a modem, fax or network port. The data interfaces are generally used to perform bulk data transfer.
References[edit]
Cdc Acm ProtocolExternal links[edit]
Retrieved from 'https://en.wikipedia.org/w/index.php?title=USB_communications_device_class&oldid=903916486'
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |