This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USB_CDC Port open notification automatically (DTR)

I use SDK 15.3.0 with the example of USB_CDC. In the example, the virtual com port transmission works only when the terminal sends a DTR signal. I need the DTR notification to be sent when the device is connected to the UBS. How can I send this signal from the program, for example, in the event APP_USBD_EVT_POWER_DETECTED? I know that there is an app_usbd_cdc_acm_ctx_t structure, but if you just write a positive number in line_state, nothing happens. Still need to call some kind of interrupt.

Parents Reply Children
No Data
Related