<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44651/how-does-the-usbd-example-add-out-endpoints</link><description>I want to add an OUT endpoint to the USBD example, but it is not successful. I cannot find the relevant tutorial. Below is my main.c, asking for help, thank you very much. 
 
 
 BR 
 shen</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Jan 2021 15:15:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44651/how-does-the-usbd-example-add-out-endpoints" /><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/292032?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2021 15:15:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2ac60f2-6f86-4da4-9ac2-f99823e0a3c9</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Quick update: Using the &lt;a href="https://www.hhdsoftware.com/usb-sniffer"&gt;Device Monitoring Studio&lt;/a&gt; software I was able to confirm that both sending and receiving data to EP2 IN/OUT seems to work fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/292021?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2021 14:37:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98e44822-8be1-4c55-bc74-dfe6521cd225</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I spent some time modifying the USBD example to include a separate interface with two endpoints (EP2 IN and OUT).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t been able to properly test these endpoints by setting up an application on the host to send or receive data from them, but based on the log the code seems to enumerate successfully, and I can send data on EPIN2 without problems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can have a look at the example here if you&amp;#39;re interested:&lt;br /&gt;&lt;a href="https://github.com/too1/nrf52-usbd-custom-hid-ep"&gt;https://github.com/too1/nrf52-usbd-custom-hid-ep&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/290805?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 15:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d16cc34e-d483-49a1-b4ed-ea079c8204d9</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The listing from the device manager doesn&amp;#39;t provide a lot of details. You mean you want to create a HID compliant vendor defined device?&lt;/p&gt;
&lt;p&gt;As I mentioned in another case I will try to create a modified example based on the usbd example, with one more interface set up for custom HID communication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/290376?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 01:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcf00c9c-b83a-4288-b780-be963770cc45</guid><dc:creator>wzszzxj</dc:creator><description>&lt;p&gt;HI，overbekk:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; I want to make the USB DEVICE as below:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611193994703v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;how to setup hid decriptor?and how to initialize them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/290232?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 11:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6eb7f69-6110-4ab5-b3cf-b3a29c826a91</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the slow response. I didn&amp;#39;t realize at first that you were using the standard usbd example as a starting point. On second thought I think this is an easier example to modify than the hid_generic example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One comment I have looking at your code is that you don&amp;#39;t seem to set up a HID report descriptor for your out endpoint. Is this intended?&lt;/p&gt;
&lt;p&gt;Also, can you let me know what kind of issues you see when you run the example?&lt;/p&gt;
&lt;p&gt;Do you get some error message when you run the code, or do you have problems writing to the device?&lt;/p&gt;
&lt;p&gt;How do you plan to interface to the device from the host side?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/289890?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 00:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b682e1ab-4273-4986-89cb-7194078d9eb1</guid><dc:creator>wzszzxj</dc:creator><description>&lt;p&gt;HI,ovrebekk:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Thank you very much! I am looking forward for it very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/289819?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 14:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3207142-a0c8-48fd-92a5-e03ab5c7dc1d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I need some more time to set this up, but will try to get back to you in a day or two.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/289349?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 08:38:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19a4ce9d-8173-4232-9362-56aec26083a1</guid><dc:creator>wzszzxj</dc:creator><description>&lt;p&gt;How to&amp;nbsp;&lt;span&gt;&amp;nbsp;add OUT reports and endpoints in the&amp;nbsp;HID generic example?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the USBD example add out endpoints</title><link>https://devzone.nordicsemi.com/thread/175933?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 13:11:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dba24932-85fd-4c4e-9eef-72599017571d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Shen&lt;/p&gt;
&lt;p&gt;Which SDK example have you used as a basis for your project?&lt;/p&gt;
&lt;p&gt;Can you tell me a bit more about the issues you are seeing?&lt;/p&gt;
&lt;p&gt;The HID generic example is probably the best place to start if you want to add OUT reports and endpoints.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>