<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/4983" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-09-15T17:12:05+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/4983</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-09-15T17:12:05+02:00</updated>

		<published>2011-09-15T17:12:05+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=19624#p19624</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=19624#p19624"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=19624#p19624"><![CDATA[
<blockquote><div><cite>mirekk36 wrote:</cite>Hi all,<br /><br />can anybody help me? I have in my code this HID descriptor:<br /><br /><div class="codebox"><p>Code: </p><pre><code>PROGMEM char usbHidReportDescriptor&#91;22&#93; = {    /* USB report descriptor */<br />    0x06, 0x00, 0xff,              // USAGE_PAGE (Generic Desktop)<br />    0x09, 0x01,                    // USAGE (Vendor Usage 1)<br />    0xa1, 0x01,                    // COLLECTION (Application)<br />    0x15, 0x00,                    //   LOGICAL_MINIMUM (0)<br />    0x26, 0xff, 0x00,              //   LOGICAL_MAXIMUM (255)<br />    0x75, 0x08,                    //   REPORT_SIZE (8)<br />    0x95, 0x10,                    //   REPORT_COUNT (16)   // tu można dać 0x40 np 64 bajtową ramkę tylko trzeba zwięszyć bufor danych do 64<br />    0x09, 0x00,                    //   USAGE (Undefined)<br />    0xb2, 0x02, 0x01,              //   FEATURE (Data,Var,Abs,Buf)<br />    0xc0                           // END_COLLECTION<br />};</code></pre></div><br /><br />I can send and receive any data to and from PC without any problems using functions:<br /><br />usbFunctionRead()<br />usbFunctionWrite()<br /><br />but i have a BIG problem to send some data with:<br /><br />usbSetInterrupt() <br /><br />it's don't work anyway.<br /><br />I feel that this is related to the HID descriptor, but I do not know how to solve the problem. I need to spontaneously send some data to a PC.</div></blockquote><br /><br />Dear Mirekk36, <br />which software are you using for exchanging data from/to pc ? I'm using SimpleHIDWrite from the delphi hid example and nothing appears. <br />Can I have your main.c for AVR ? <br /><br />regards, <br />hc<p>Statistics: Posted by Guest — Thu Sep 15, 2011 5:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dzairo]]></name></author>
		<updated>2010-11-02T11:37:42+02:00</updated>

		<published>2010-11-02T11:37:42+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16505#p16505</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16505#p16505"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16505#p16505"><![CDATA[
Hi<br />Using JvHID ... with HID is not very easy.<br />If try exist code (delphi demo) then show any error and no other.<br />But some user help me to create delphi code using libusb.pas but need install driver in to OS.<br />If any one know how to create function demo for delphi pls , create and post it .<br />I still don't know how make it on Delphi with JvHID.... <br /><br />regards<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4367">dzairo</a> — Tue Nov 02, 2010 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-11-01T07:07:02+02:00</updated>

		<published>2010-11-01T07:07:02+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16483#p16483</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16483#p16483"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16483#p16483"><![CDATA[
I believe &quot;INPUT&quot; is device-to-host<p>Statistics: Posted by Guest — Mon Nov 01, 2010 7:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-31T00:38:47+02:00</updated>

		<published>2010-10-31T00:38:47+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16469#p16469</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16469#p16469"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16469#p16469"><![CDATA[
<blockquote><div><cite>_frank26080115 wrote:</cite>I think &quot;FEATURE&quot; is host-to-device</div></blockquote><br /><br />Yes, U have right, and therefore I'm looking for opportunities to spontaneously send data from device-to-host<br /><br />Do You have maybe some simple sample or some link to do that ? pls<br /><br /><br /><blockquote><div><cite>dzairo wrote:</cite>Hi mirek36.<br />I too want communicate with Delphi &lt;-&gt; HID avr.<br />Have any news???</div></blockquote><br /><br />Form Delphi code it's quiet simple, you have sample code for Delphi &quot;SimpleHIDWrite.dpr&quot;, try it and look how do that from own code.<p>Statistics: Posted by Guest — Sun Oct 31, 2010 12:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dzairo]]></name></author>
		<updated>2010-10-30T10:05:15+02:00</updated>

		<published>2010-10-30T10:05:15+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16462#p16462</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16462#p16462"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16462#p16462"><![CDATA[
Hi mirek36.<br />I too want communicate with Delphi &lt;-&gt; HID avr.<br />Have any news???<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4367">dzairo</a> — Sat Oct 30, 2010 10:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-30T08:05:16+02:00</updated>

		<published>2010-10-30T08:05:16+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16461#p16461</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16461#p16461"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16461#p16461"><![CDATA[
I think &quot;FEATURE&quot; is host-to-device<p>Statistics: Posted by Guest — Sat Oct 30, 2010 8:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-29T21:10:03+02:00</updated>

		<published>2010-10-29T21:10:03+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16450#p16450</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16450#p16450"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16450#p16450"><![CDATA[
<blockquote><div><cite>_frank26080115 wrote:</cite>did you enable the interrupt-in endpoint in usbconfig?</div></blockquote><br />Yes ofcourse<br /><br /><blockquote><div><cite>_frank26080115 wrote:</cite>are you looping usbPoll after calling usbSetInterrupt?</div></blockquote><br /><br />I'm using JvHid component under Dlphi. This componnent pools in a thread , I can see it when I connect someone GamePad and press any key on it. This keycodes appears in this sample program. <br /><br /><blockquote><div><cite>_frank26080115 wrote:</cite>is the interrupt-in endpoint ready before usbSetInterrupt is called?</div></blockquote><br />Yes I check this.<br /><br />I only can send and receive some data with set or get feature report on PC to or from my AVR device.<p>Statistics: Posted by Guest — Fri Oct 29, 2010 9:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-28T18:45:57+02:00</updated>

		<published>2010-10-28T18:45:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16429#p16429</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16429#p16429"/>
		<title type="html"><![CDATA[Re: usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16429#p16429"><![CDATA[
did you enable the interrupt-in endpoint in usbconfig?<br /><br />are you looping usbPoll after calling usbSetInterrupt?<br /><br />is the interrupt-in endpoint ready before usbSetInterrupt is called?<p>Statistics: Posted by Guest — Thu Oct 28, 2010 6:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-27T23:37:35+02:00</updated>

		<published>2010-10-27T23:37:35+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16422#p16422</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16422#p16422"/>
		<title type="html"><![CDATA[usbSetInterrupt vs HID Report Descriptor]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4983&amp;p=16422#p16422"><![CDATA[
Hi all,<br /><br />can anybody help me? I have in my code this HID descriptor:<br /><br /><div class="codebox"><p>Code: </p><pre><code>PROGMEM char usbHidReportDescriptor&#91;22&#93; = {    /* USB report descriptor */<br />    0x06, 0x00, 0xff,              // USAGE_PAGE (Generic Desktop)<br />    0x09, 0x01,                    // USAGE (Vendor Usage 1)<br />    0xa1, 0x01,                    // COLLECTION (Application)<br />    0x15, 0x00,                    //   LOGICAL_MINIMUM (0)<br />    0x26, 0xff, 0x00,              //   LOGICAL_MAXIMUM (255)<br />    0x75, 0x08,                    //   REPORT_SIZE (8)<br />    0x95, 0x10,                    //   REPORT_COUNT (16)   // tu można dać 0x40 np 64 bajtową ramkę tylko trzeba zwięszyć bufor danych do 64<br />    0x09, 0x00,                    //   USAGE (Undefined)<br />    0xb2, 0x02, 0x01,              //   FEATURE (Data,Var,Abs,Buf)<br />    0xc0                           // END_COLLECTION<br />};</code></pre></div><br /><br />I can send and receive any data to and from PC without any problems using functions:<br /><br />usbFunctionRead()<br />usbFunctionWrite()<br /><br />but i have a BIG problem to send some data with:<br /><br />usbSetInterrupt() <br /><br />it's don't work anyway.<br /><br />I feel that this is related to the HID descriptor, but I do not know how to solve the problem. I need to spontaneously send some data to a PC.<p>Statistics: Posted by Guest — Wed Oct 27, 2010 11:37 pm</p><hr />
]]></content>
	</entry>
	</feed>
