<?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/1257" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-03-05T01:24:56+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-03-05T01:24:56+02:00</updated>

		<published>2008-03-05T01:24:56+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1257&amp;p=4468#p4468</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1257&amp;p=4468#p4468"/>
		<title type="html"><![CDATA[USB HID with different Report ID's]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1257&amp;p=4468#p4468"><![CDATA[
problem solved, I can send smaller reports, windows fills the rest with random data and I can use Readfile()<p>Statistics: Posted by Guest — Wed Mar 05, 2008 1:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-03-02T23:22:09+02:00</updated>

		<published>2008-03-02T23:22:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1257&amp;p=4446#p4446</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1257&amp;p=4446#p4446"/>
		<title type="html"><![CDATA[USB HID with different Report ID's]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1257&amp;p=4446#p4446"><![CDATA[
Hello,<br /><br />Setup: Mega8 Low Speed<br /><br /><br /><br />i'm currently building an USB IO device and have a question. <br />Here ist my HID Descriptor<br /><br /> <div class="codebox"><p>Code: </p><pre><code>  <br /><br />    0x05, 0x01,                    // USAGE_PAGE &#40;Generic Desktop&#41;<br />    0x09, 0x00,                    // USAGE &#40;Undefined&#41;<br />    0x15, 0x00,                    // LOGICAL_MINIMUM &#40;0&#41;<br />    0x26, 0xff, 0x00,              // LOGICAL_MAXIMUM &#40;255&#41;<br />    0xa1, 0x01,                    // COLLECTION &#40;Application&#41;<br />    0xa1, 0x02,                    //    COLLECTION &#40;Logical&#41;<br />    0x85, 0x01,                    //      REPORT_ID &#40;1&#41;<br />    0x75, 0x08,                    //      REPORT_SIZE &#40;8&#41;<br />    0x95, 0x01,                    //      REPORT_COUNT &#40;1&#41;<br />    0x09, 0x00,                    //      USAGE &#40;Undefined&#41;<br />    0x81, 0x02,                    //      INPUT &#40;Data,Var,Abs&#41;<br />    0xc0,                           //    END_COLLECTION<br />    0xa1, 0x02,                    //    COLLECTION &#40;Logical&#41;<br />    0x85, 0x02,                    //      REPORT_ID &#40;2&#41;<br />    0x75, 0x08,                    //      REPORT_SIZE &#40;8&#41;<br />    0x95, 0x27,                    //      REPORT_COUNT &#40;39&#41;<br />    0x19, 0x00,                    //      USAGE_MIN &#40;Undefined&#41;<br />    0x29, 0x00,                    //      USAGE_MAX &#40;Undefined&#41;<br />    0x81, 0x02,                    //      INPUT &#40;Data,Var,Abs&#41;<br />    0x19, 0x00,                    //      USAGE_MIN &#40;Undefined&#41;<br />    0x29, 0x00,                    //      USAGE_MAX &#40;Undefined&#41;<br />    0x91, 0x02,                    //      OUTPUT &#40;Data,Var,Abs&#41;<br />    0xc0,                          //    END_COLLECTION<br />    0xc0                           // END_COLLECTION</code></pre></div><br /><br />I got this working with control transfer, because I can send my Report ID. My transfer rate is about 5kb/sek.<br /><br />I try to implement an interrupt In too, that I don't have to poll the 40 Bytes again and again.<br />The problem is, that I want to let the computer poll only the report with ID 1, so that i must only send 1 Byte.<br />I checked it with an USB Analyser software, but it doesn't work. The computer send &quot;get 40 bytes&quot; and my controller answers with 2 bytes. (Report ID + data). <br />How can I tell the computer to poll the 2 Bytes for Report 1?<br /><br />When I read and write over GetReport and SetReport it works, but not with Readfile.<p>Statistics: Posted by Guest — Sun Mar 02, 2008 11:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
