<?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>LPC MicrocontrollersのトピックLPC1837: USB Keyboard/Mouse device updating report</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-USB-Keyboard-Mouse-device-updating-report/m-p/680075#M27332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on LPC1837 based development board, with "lpcopen_2_18_lpcxpresso_nxp_lpcxpresso_1837" SDK as start point. I am working on examples "usbd_rom_hid_keyboard" &amp;amp; "usbd_rom_hid_mouse" they work fine as USB keyboard/mouse device to host machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see from the below logic of the code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24416i4D6C2691B9022219/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;even if the g_keyBoard.report is empty it is still writing to endpoint, this is creating a continuous stream of packets to host machine, I observed this using Bus-Hound software. Please give your inputs and how to fix this. I would like to send report only if valid data is present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vamshi G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Jul 2017 09:36:47 GMT</pubDate>
    <dc:creator>gvk51</dc:creator>
    <dc:date>2017-07-01T09:36:47Z</dc:date>
    <item>
      <title>LPC1837: USB Keyboard/Mouse device updating report</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-USB-Keyboard-Mouse-device-updating-report/m-p/680075#M27332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on LPC1837 based development board, with "lpcopen_2_18_lpcxpresso_nxp_lpcxpresso_1837" SDK as start point. I am working on examples "usbd_rom_hid_keyboard" &amp;amp; "usbd_rom_hid_mouse" they work fine as USB keyboard/mouse device to host machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see from the below logic of the code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24416i4D6C2691B9022219/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;even if the g_keyBoard.report is empty it is still writing to endpoint, this is creating a continuous stream of packets to host machine, I observed this using Bus-Hound software. Please give your inputs and how to fix this. I would like to send report only if valid data is present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vamshi G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 09:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-USB-Keyboard-Mouse-device-updating-report/m-p/680075#M27332</guid>
      <dc:creator>gvk51</dc:creator>
      <dc:date>2017-07-01T09:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1837: USB Keyboard/Mouse device updating report</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-USB-Keyboard-Mouse-device-updating-report/m-p/680076#M27333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="283418" data-username="gvk51" href="https://community.nxp.com/people/gvk51"&gt;vamshi krishna&lt;/A&gt;,&lt;/P&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 16px; line-height: 1.5; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 16px; line-height: 1.5; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;You can add&amp;nbsp; the function to detect whether report changes between the Keyboard_UpdateReport() and &amp;nbsp;USBD_API-&amp;gt;hw-&amp;gt;WriteEP(g_keyBoard.hUsb, HID_EP_IN, &amp;amp;g_keyBoard.report[0], KEYBOARD_REPORT_SIZE), if report keep same you can ignore the &amp;nbsp;USBD_API-&amp;gt;hw-&amp;gt;WriteEP(g_keyBoard.hUsb, HID_EP_IN, &amp;amp;g_keyBoard.report[0], KEYBOARD_REPORT_SIZE), otherwise, execute it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 15px;"&gt;Have a great day,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 15px;"&gt;TIC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 15px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 15px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 03:11:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-USB-Keyboard-Mouse-device-updating-report/m-p/680076#M27333</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-07-04T03:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1837: USB Keyboard/Mouse device updating report</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-USB-Keyboard-Mouse-device-updating-report/m-p/680077#M27334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="213424" data-username="jeremyzhou" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the mechanism as you mentioned, I believe there is some issue in USB ROM driver. once key is pressed, a report with key event is sent, after that I see its keep on sending the same event even if the keyboard report entries (g_keyBoard.report[]) are zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kbd_event_test.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25799i046AA88B16242F96/image-size/large?v=v2&amp;amp;px=999" role="button" title="kbd_event_test.png" alt="kbd_event_test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please give your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vamshi G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 15:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-USB-Keyboard-Mouse-device-updating-report/m-p/680077#M27334</guid>
      <dc:creator>gvk51</dc:creator>
      <dc:date>2017-07-17T15:48:28Z</dc:date>
    </item>
  </channel>
</rss>

