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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-10-21T07:21:04+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-21T07:21:04+02:00</updated>

		<published>2010-10-21T07:21:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16310#p16310</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16310#p16310"/>
		<title type="html"><![CDATA[Re: Completely new to V-USB! Some Questions]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16310#p16310"><![CDATA[
From an abstract point of view, the computer does not poll for the reports, but it is allowed to through requests. These requests are handled by usbFunctionSetup. The code itself usually sends out the reports through the interrupt endpoint.<br /><br />reading this will also help you understand when exactly the data is sent<br /><!-- m --><a class="postlink" href="http://www.beyondlogic.org/usbnutshell/usb4.shtml#Interrupt">http://www.beyondlogic.org/usbnutshell/ ... #Interrupt</a><!-- m --><br /><br />From a low level point of view, sending a report involves &quot;queueing&quot; the report, and waiting for the computer's poll to grab the next report in the queue. The computer does not specify which report it wants when polling the interrupt endpoint queue, it just grabs the next report in queue.<br /><br /><br />I learned all this from reading examples and also usb.org's documentations, and <!-- m --><a class="postlink" href="http://www.beyondlogic.org/usbnutshell/">http://www.beyondlogic.org/usbnutshell/</a><!-- m --> helps a lot<br /><br />thanks for visiting my site, nothing is completely finished and I'll have to update some stuff soon as USnooBie goes on sale.<p>Statistics: Posted by Guest — Thu Oct 21, 2010 7:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jay.elle]]></name></author>
		<updated>2010-10-20T11:40:00+02:00</updated>

		<published>2010-10-20T11:40:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16297#p16297</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16297#p16297"/>
		<title type="html"><![CDATA[Re: Completely new to V-USB! Some Questions]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16297#p16297"><![CDATA[
<blockquote><div><cite>_frank26080115 wrote:</cite>hey if you wait a few days you can get one of these<br /><br /><!-- m --><a class="postlink" href="http://frank.circleofcurrent.com/usnoobie/">http://frank.circleofcurrent.com/usnoobie/</a><!-- m --><br /><br />take a look around the site, it will go up for sale as a kit soon</div></blockquote><br /><br /><br />Hey Frank, your website is super cool and i've been looking at your HID tutorial.  quick question about your usbFunctionsetup / get report case:<br /><div class="codebox"><p>Code: </p><pre><code>case USBRQ_HID_GET_REPORT:<br />         // check for report ID then send back report<br />         if (rq-&gt;wValue.bytes&#91;0&#93; == 1)<br />         {<br />            usbMsgPtr = &amp;keyboard_report;<br />            return sizeof(keyboard_report);<br />         }<br />         else if (rq-&gt;wValue.bytes&#91;0&#93; == 2)<br />         {<br />            usbMsgPtr = &amp;mouse_report;<br />            return sizeof(mouse_report);<br />         }<br />         else if (rq-&gt;wValue.bytes&#91;0&#93; == 3)<br />         {<br />            usbMsgPtr = &amp;gamepad_report_1;<br />            return sizeof(gamepad_report_1);<br />         }<br />         else if (rq-&gt;wValue.bytes&#91;0&#93; == 4)<br />         {<br />            usbMsgPtr = &amp;gamepad_report_2;<br />            return sizeof(gamepad_report_2);<br />         }<br />         else<br />         {<br />            return 0; // no such report, send nothing<br />         }</code></pre></div><br /><br />Since your device was built with 4 reports, does the host / standard HID protocol just poll them in a certain way? where did you learn about implementing reports / different types like features?  <br /><br />btw, your business card is awesome!, i'm going to look at that example next...  (p.s. - you should enable blogging on your site)<br />-cheers,<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4241">jay.elle</a> — Wed Oct 20, 2010 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Deadly Arrow]]></name></author>
		<updated>2010-10-07T23:19:29+02:00</updated>

		<published>2010-10-07T23:19:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16148#p16148</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16148#p16148"/>
		<title type="html"><![CDATA[Re: Completely new to V-USB! Some Questions]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16148#p16148"><![CDATA[
really thank you mr.franklin ... it's much more clear now ^__^ thanx so much<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4420">Deadly Arrow</a> — Thu Oct 07, 2010 11:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-07T22:47:42+02:00</updated>

		<published>2010-10-07T22:47:42+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16147#p16147</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16147#p16147"/>
		<title type="html"><![CDATA[Re: Completely new to V-USB! Some Questions]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16147#p16147"><![CDATA[
hey if you wait a few days you can get one of these<br /><br /><!-- m --><a class="postlink" href="http://frank.circleofcurrent.com/usnoobie/">http://frank.circleofcurrent.com/usnoobie/</a><!-- m --><br /><br />take a look around the site, it will go up for sale as a kit soon<p>Statistics: Posted by Guest — Thu Oct 07, 2010 10:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Deadly Arrow]]></name></author>
		<updated>2010-10-07T22:33:00+02:00</updated>

		<published>2010-10-07T22:33:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16146#p16146</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16146#p16146"/>
		<title type="html"><![CDATA[Re: Completely new to V-USB! Some Questions]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16146#p16146"><![CDATA[
Thank you really for your quick reply mr.frank2608011<br /><br />should i now buy these components and proceed interfacing ?<br />can i programme my microcontroller directly by USB ? or should i use parallel port programming for the first installation of software ..<br />i'm know that my questions are somewhat silly ..<br />be patient with me please : )<br /><br />Regards<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4420">Deadly Arrow</a> — Thu Oct 07, 2010 10:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-10-07T21:29:34+02:00</updated>

		<published>2010-10-07T21:29:34+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16145#p16145</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16145#p16145"/>
		<title type="html"><![CDATA[Re: Completely new to V-USB! Some Questions]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16145#p16145"><![CDATA[
almost everything you are asking for can be answered by downloading v-usb and looking at the example code and circuit diagrams<br /><br />USB 2.0 ports are backward compatible with USB 1.1<br /><br />Take a look at libusb and libusb-win32 to answer your question about winform<br /><br />It doesn't matter what OS you run<p>Statistics: Posted by Guest — Thu Oct 07, 2010 9:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Deadly Arrow]]></name></author>
		<updated>2010-10-07T20:03:26+02:00</updated>

		<published>2010-10-07T20:03:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16144#p16144</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16144#p16144"/>
		<title type="html"><![CDATA[Completely new to V-USB! Some Questions]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4899&amp;p=16144#p16144"><![CDATA[
Hi brothers ..<br />how are you , i hope that you are fine ..<br /><br />well .. i'm a good C/C++ programmer ... and i have good background of ATMEGA32 Microcontrollers ..<br />now , i'm trying to move into a new step that by interfacing my microcontroller with a computer ..<br /><br />when i asked some friends they suggested me to use Parallel or serial ports ..<br />but i didn't like that for two reasons:<br />1- i feel it's an old and very traditional way.<br />2- i want to interface through my laptop , and it doesn't have a serial or parallel port<br /><br /><br />so i have many questions for you please<br /><br />1- How can i exactly interface V-USB ? <br />- i mean , what circuits should i construct to interface ? <br />2- if my laptop is USB 2.0 does it affect ?<br />3- If i want to join my interfacing with windows forms in Visual C++ 2010 , can this happen ?<br />4- Can you just give me a simple code for just controlling some LEDs through USB port , i don't need to understand the underlying protocol .. just i want it as Black Box .. since i will study this in my Computer Organization course in the university <br />5- does it work well under Windows 7 ? &amp; if not , what platform can run it properly without problems ..?<br /><br /><br />thank you .. and i would be very happy to answer any of my questions<br /><br />Regards ..<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4420">Deadly Arrow</a> — Thu Oct 07, 2010 8:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
