CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
USB CDC

Write raw bytes to the USB CDC serial endpoint. More...

Functions

int host_usb_cdc_write (const uint8_t *data, size_t len)
 Write raw bytes to the USB-CDC TX stream.

Detailed Description

Write raw bytes to the USB CDC serial endpoint.

Function Documentation

◆ host_usb_cdc_write()

int host_usb_cdc_write ( const uint8_t * data,
size_t len )

Write raw bytes to the USB-CDC TX stream.

Definition at line 21 of file host_api_usb.cpp.

References HOST_ERR_GENERIC, HOST_ERR_INVALID_ARG, HOST_ERR_NO_CAPABILITY, HOST_OK, and usb_cdc_write().

Referenced by cdc::plugin_manager::w_host_usb_cdc_write().