Questions tagged [cdc]

CDC may refer to the Communication Device Class (or USB CDC). Also may refer to Change Data Capture in Microsoft SQL Server, PostgreSQL, IBM (IDR), and Informix. Also may refer to Connected Device Configuration in Java ME.

CDC acronym may refer to: the Communication Device Class (or USB CDC); or to Change Data Capture in Microsoft SQL Server, PostgreSQL, IBM (IDR) or Informix databases; or to Connected Device Configuration in Java ME.

USB communications device class (or USB CDC) is a composite Universal Serial Bus device class. It provides a single device class, but there may be more than one interface implemented such as a custom control interface, data interface, audio, or mass storage related interfaces.

The communications device class is primarily used for modems. However it also supports ISDN and fax machines. It also supports plain telephony applications for performing regular voice calls.

More details on USB CDC in Wikipedia.

577 questions
8
votes
1 answer

Recommendation for Java VM running on embedded system

We are trying to support Java enviroment on our embedded platform (700 MHz MIPS 74K, 128-256 MB memory). After reading this article and googling a bit, I came up with the shorted list: Java ME from Sun Kaffe Jbed Perc HP Chai VM PhoneME - seems…
pierrotlefou
  • 39,805
  • 37
  • 135
  • 175
7
votes
7 answers

Detecting open PC COM port from USB Virtual Com Port device

I am using an STM32F105 microcontroller with the STM32_USB-FS-Device_Lib_V3.2.1 USB library and have adapted the VCP example for our purposes (integration with RTOS and serial API). The problem is that if the USB cable is attached, but the port is…
Clifford
  • 88,407
  • 13
  • 85
  • 165
7
votes
0 answers

cdc_acm : failed to set dtr/rts - can not communicate with usb cdc device

I was trying to enumerate usb cdc device using pic24fj128gb206. Device seems to be enumerated properly. But when I connect my device to Linux PC, I am getting the below warning message from kernel. cdc_acm 1-8.1.6.7:1.0: failed to set dtr/rts And…
AKV
  • 425
  • 7
  • 20
7
votes
2 answers

Sql Server Change Data Capture: Preserving history when adding columns?

When a new column is added to table that is configured for change data capture (cdc), the capture instance table will not have the new column until cdc is disabled and re-enabled for the source table. In the process the existing capture instance is…
Richard Collette
  • 5,462
  • 4
  • 53
  • 79
7
votes
1 answer

Linux cdc_acm device - unexpected characters sent to device

I'm having trouble with unexpected characters being sent on a USB port with the cdc_acm driver. What makes this all the more perplexing is that the code runs fine on Ubuntu 12.04 (3.2 kernel) but fails (the subject of this question) on Centos 6 (3.6…
user2070305
  • 445
  • 5
  • 9
6
votes
2 answers

Has anyone created a procedure to manually purge a stream in snowflake?

I am looking for a snippet of code that will cause a stream to empty, essentially resetting it. Here is the use case. We use streams to track changes for type 2 dimension tables into a data mart. There are occasions that call for us to truncate and…
6
votes
1 answer

Error while enabling CDC on table level

I am enabling Change data capture (CDC) on SQL server 2012 Enterprise edition(11.0.2100.60) . I am able to enable it on Database level with below SQL, but failed to enable on Table level. Use DatabaseName GO Exec sys.sp_cdc_enable_db GO EXEC…
6
votes
3 answers

Unable to claim USB interface with C + libusb on Mac OS X

I've got a compound USB + CDC device I built using a PIC32 microcontroller, and I'm trying to connect to the device and send some data to the CDC data interface endpoint from my Mac. I know the circuit works 100%, as the device registers as both a…
josef.van.niekerk
  • 11,941
  • 20
  • 97
  • 157
5
votes
2 answers

Kafka Connector for Oracle Database Source

I want to build a Kafka Connector in order to retrieve records from a database at near real time. My database is the Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 and the tables have millions of records. First of all, I would like to add…
5
votes
1 answer

Connect usb scale in Ubuntu, cdc_acm says failed to set dtr/trs

I am trying to connect an scale (Dibal series 400) in Linux (Ubuntu), and I can not succeed. The scale works on Windows after installing a driver to enable a Virtual Com Port, but when I plug in the scale in Linux, it tries to start, but after a…
bracana
  • 1,003
  • 2
  • 11
  • 20
5
votes
1 answer

How can be handle oracle decimal types with GoldenGate "Kafka" / "Kafka connect" handler?

I wanna use Oracle GoldenGate (it's orcale cdc tool) to integrate oracle with Kafka. i have find a two Handler: http://docs.oracle.com/goldengate/bd123110/gg-bd/GADBD/using-kafka-connect-handler.htm#GADBD-GUID-81730248-AC12-438E-AF82-48C7002178EC…
Grigoriev Nick
  • 1,099
  • 8
  • 24
5
votes
1 answer

STM32 dual CDC (VCP) class

I am using CubeMx in order to generate startup code for the USB virtual com port device. It works fine. But I need to implement 2 virtual com ports on 1 USB interface. I can't seem to find any source of information how to do it. Is it possible?
Łukasz Przeniosło
  • 2,725
  • 5
  • 38
  • 74
5
votes
2 answers

STM32 STM32CubeF4 USB CDC operation

I built the code from the STM32CubeF4 for the USB CDC example. I added the missing receive code for CDC_Receive_FS() in usbd_cdc_if.c. I loaded this into my STM32F4 Discovery and it works. A character typed on Tera Term returns and is displayed on…
Richard
  • 261
  • 1
  • 3
  • 9
5
votes
5 answers

SQL Server 2012 Change Data Capture Error 14234

I am having problems setting up change data capture on a SQL Server 2012 instance. Whenever I attempt to enable CDC on a table I get the following error: Msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 623 Could not…
5
votes
2 answers

Change Data Capture errors

Am trying to get the net changes on CDC enabled table by passing Min and Max dates. But is throwing below error. Msg 313, Level 16, State 3, Line 24 An insufficient number of arguments were supplied for the procedure or function…
Sreedhar
  • 29,307
  • 34
  • 118
  • 188
1
2
3
38 39