<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to consider USB-HID send packet is sent successfully or not ? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-consider-USB-HID-send-packet-is-sent-successfully-or-not/m-p/1261452#M44631</link>
    <description>&lt;P&gt;When we send data through a specified endpoint using&amp;nbsp;USB_DeviceHidSend() function, it returns a&amp;nbsp;USB error code or kStatus_USB_Success. While the return value just means if the sending request is successful or not; the transfer done is notified by&amp;nbsp;USB_DeviceHidInterruptIn() function.&lt;/P&gt;&lt;P&gt;So, In&amp;nbsp;USB_DeviceHidInterruptIn() function, we are receiving event&amp;nbsp;kUSB_DeviceHidEventSendResponse via USB_DeviceHidGenericCallback() function.&lt;/P&gt;&lt;P&gt;So, Is it the only event on which we should consider that previous packet is sent successfully? Or Shall we receive other usb_status for success or error or other error codes anywhere else?&lt;BR /&gt;&lt;BR /&gt;Note: I have used same function names those are used in LPC55s28's USB-HID example code.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 17:31:24 GMT</pubDate>
    <dc:creator>Vishal_Panchal</dc:creator>
    <dc:date>2021-04-13T17:31:24Z</dc:date>
    <item>
      <title>How to consider USB-HID send packet is sent successfully or not ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-consider-USB-HID-send-packet-is-sent-successfully-or-not/m-p/1261452#M44631</link>
      <description>&lt;P&gt;When we send data through a specified endpoint using&amp;nbsp;USB_DeviceHidSend() function, it returns a&amp;nbsp;USB error code or kStatus_USB_Success. While the return value just means if the sending request is successful or not; the transfer done is notified by&amp;nbsp;USB_DeviceHidInterruptIn() function.&lt;/P&gt;&lt;P&gt;So, In&amp;nbsp;USB_DeviceHidInterruptIn() function, we are receiving event&amp;nbsp;kUSB_DeviceHidEventSendResponse via USB_DeviceHidGenericCallback() function.&lt;/P&gt;&lt;P&gt;So, Is it the only event on which we should consider that previous packet is sent successfully? Or Shall we receive other usb_status for success or error or other error codes anywhere else?&lt;BR /&gt;&lt;BR /&gt;Note: I have used same function names those are used in LPC55s28's USB-HID example code.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 17:31:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-consider-USB-HID-send-packet-is-sent-successfully-or-not/m-p/1261452#M44631</guid>
      <dc:creator>Vishal_Panchal</dc:creator>
      <dc:date>2021-04-13T17:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider USB-HID send packet is sent successfully or not ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-consider-USB-HID-send-packet-is-sent-successfully-or-not/m-p/1262461#M44652</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Vishal_Panchal,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"So, Is it the only event on which we should consider that previous packet is sent successfully?&amp;nbsp;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-&amp;gt;&amp;gt; Yes, just need consider this event.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because enter function USB_DeviceHidInterruptIn() meaning the transfer is done and give a respond.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 03:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-consider-USB-HID-send-packet-is-sent-successfully-or-not/m-p/1262461#M44652</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-04-15T03:46:13Z</dc:date>
    </item>
  </channel>
</rss>

