read/write using udi_cdc_read_buf/udi_cdc_write_buf