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

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

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

		<entry>
		<author><name><![CDATA[eslavko]]></name></author>
		<updated>2010-12-22T12:00:48+02:00</updated>

		<published>2010-12-22T12:00:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5296&amp;p=17109#p17109</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5296&amp;p=17109#p17109"/>
		<title type="html"><![CDATA[usbFunctionSetup and usbFunctionWrite]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5296&amp;p=17109#p17109"><![CDATA[
Hello...<br /><br />I just wonder if I understand correctly.<br />from  usbFunctionSetup I can send data in any length (from static buffer) just need to assign usbMsgPtr to right place and return sizeof(Buffer). As I try seems to work. But in opposite side is not that easy as I understand.<br /><br />If the data is only 4 bytes in wValue and wIndex then is near same (just need to use/copy that) BUT if data is longer (wLength&lt;&gt;0) then I just wonder if the use of  usbFunctionWrite is mandatory or the data can be read within usbFunctionSetup.<br /><br />Thanks<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4732">eslavko</a> — Wed Dec 22, 2010 12:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
