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

USBD write

Hi,

I read data from FDS and output it to nRF USB. The output is implemented by

app_usbd_cdc_acm_write(&m_app_cdc_acm, m_tx_buffer, (sizeof(m_tx_buffer));

But I only see the last item on the output. Please, what is the problem so that I can see

the whole list on the terminals. The output via NRF_LOG_HEXDUMP_INFO is OK.

Best regards

Regio

Parents Reply
  • Hi Dmitry, thanks for the reply,

    Yes you are right in the given code ret is missing, but in the app it is. I apologize. lost in rewriting.

    Yes of course I check ret.

    ret = 0 when making a write,

    ret = 17 when busy, loading data from FDS

    ret = 8 when PuTTy terminal is not available ... .

    The logic of the code is simple after pressing the button the FDS output is activated.

    My code is in draft. contains more alternatives. I'll make a simple version and send.

Children
No Data
Related