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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-03-07T16:17:10+02:00</updated>

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

		<entry>
		<author><name><![CDATA[ahulap]]></name></author>
		<updated>2007-03-07T16:17:10+02:00</updated>

		<published>2007-03-07T16:17:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=280&amp;p=1007#p1007</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=280&amp;p=1007#p1007"/>
		<title type="html"><![CDATA[usb_control_msg length]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=280&amp;p=1007#p1007"><![CDATA[
Thank you!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=111">ahulap</a> — Wed Mar 07, 2007 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-03-07T14:02:39+02:00</updated>

		<published>2007-03-07T14:02:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=280&amp;p=1003#p1003</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=280&amp;p=1003#p1003"/>
		<title type="html"><![CDATA[usb_control_msg length]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=280&amp;p=1003#p1003"><![CDATA[
Yes, you can safely ignore the high byte. The driver does the same thing in order to save some bytes of code.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Mar 07, 2007 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ahulap]]></name></author>
		<updated>2007-02-22T10:05:48+02:00</updated>

		<published>2007-02-22T10:05:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=280&amp;p=954#p954</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=280&amp;p=954#p954"/>
		<title type="html"><![CDATA[usb_control_msg length]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=280&amp;p=954#p954"><![CDATA[
Hello!<br />I'm developing AVR-USB device on tiny2313 and want to implement usbFunctionWrite and usbFunctionRead. In control message there is a 2-byte transfer length (bytes 6 and 7), but this software driver can handle maximum 254 bytes.<br />Can i ignore length high byte and use byte-size counter instead of word-size? (this will save around 30 bytes of code, what is great for 2k device). Is there needed any checks for transfer bigger than 254 bytes or driver will reject such transfers at low level? My PC software will not send more than 254 bytes in one transfer, but to be sure...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=111">ahulap</a> — Thu Feb 22, 2007 10:05 am</p><hr />
]]></content>
	</entry>
	</feed>
