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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-08-12T18:36:48+02:00</updated>

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

		<entry>
		<author><name><![CDATA[frank26080115]]></name></author>
		<updated>2010-08-12T18:36:48+02:00</updated>

		<published>2010-08-12T18:36:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4482&amp;p=15510#p15510</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=15510#p15510"/>
		<title type="html"><![CDATA[Re: what is the transfer type of the hid-data example?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=15510#p15510"><![CDATA[
you want to use usbFunctionWrite, not usbFunctionRead<br /><br />use usbFunctionSetup to determine whether or not you need to read data from the computer, if so, make sure usbFunctionSetup return USB_NO_MSG<br /><br />then just write your usbFunctionWrite to handle the data, it provides the data in an array and tells you how long the array is, although it has a max of 8.<br /><br />look at <!-- m --><a class="postlink" href="http://vusb.wikidot.com/driver-api">http://vusb.wikidot.com/driver-api</a><!-- m --> under &quot;Sending data to the device&quot;<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2426">frank26080115</a> — Thu Aug 12, 2010 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-08-12T09:46:37+02:00</updated>

		<published>2010-08-12T09:46:37+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4482&amp;p=15505#p15505</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=15505#p15505"/>
		<title type="html"><![CDATA[Re: what is the transfer type of the hid-data example?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=15505#p15505"><![CDATA[
Good morning everyone!<br />I'm new in V-USB and I have a few basic type questions. I study a lot about hid-data example ant i can't undestand where information goes before it is writining to eeprom. I think it is some kind of buffer, but i can't understant in which: I think it goes to &quot;uchar data[8]&quot;,so it is 8 bytes of information. I need a simple example of this thing, becouse I want to put MY information of x bytes to some kind of buffer, send it to AVR microchip, and there send it using UART. It's no problem of microchip programming for me, but i just need a basic where i need to put my info and where i need to take it.<br />For example: in computer side where is uchar information[8], i whant it to just put in microchip uchar info[8], how to write usbFunctionRead() and usbFunctionWrite() for this? I think it's simple enough, but i can't understand. I hope someone help me. Thank you.<p>Statistics: Posted by Guest — Thu Aug 12, 2010 9:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[frank26080115]]></name></author>
		<updated>2010-06-25T18:47:11+02:00</updated>

		<published>2010-06-25T18:47:11+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4482&amp;p=14901#p14901</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=14901#p14901"/>
		<title type="html"><![CDATA[Re: what is the transfer type of the hid-data example?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=14901#p14901"><![CDATA[
control transfer, it's using usbFunctionWrite and usbFunctionRead<br /><br />don't worry about setup and status stages, setup stage should be already finished in usbFunctionSetup, and status stage is taken care of automatically i think<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2426">frank26080115</a> — Fri Jun 25, 2010 6:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vsovereign]]></name></author>
		<updated>2010-06-25T11:47:05+02:00</updated>

		<published>2010-06-25T11:47:05+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4482&amp;p=14894#p14894</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=14894#p14894"/>
		<title type="html"><![CDATA[what is the transfer type of the hid-data example?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4482&amp;p=14894#p14894"><![CDATA[
What kind of transfer is used in the hid-data example?<br /><br />Is it control transfer or interrupt transfer?<br />Because I know only these two can be used by low-speed device.<br /><br />I think it's control transfer. But I'm not really sure. <br /><br />I know that control transfer has setup, data and status stages.<br />But I don't know how this function to the hid-data example.<br />If someone can explain, please help <br /><br />Thanks!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=3326">vsovereign</a> — Fri Jun 25, 2010 11:47 am</p><hr />
]]></content>
	</entry>
	</feed>
