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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2015-07-10T21:52:12+02:00</updated>

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

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2015-07-10T21:52:12+02:00</updated>

		<published>2015-07-10T21:52:12+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=9916&amp;p=29942#p29942</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=9916&amp;p=29942#p29942"/>
		<title type="html"><![CDATA[Re: changing serial has no effect?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=9916&amp;p=29942#p29942"><![CDATA[
huh I was able to make it work by changing <br />USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER != 0 ? 3 : 0,  /* serial number string index */<br />to<br />USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER != 0 ? 3 : 1,  /* serial number string index */<br /><br />So I guess the define for USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER is the issue. <br />#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_LENGTH((6*2))<br /><br />Not sure what is going on here?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Fri Jul 10, 2015 9:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2015-07-10T04:17:06+02:00</updated>

		<published>2015-07-10T04:17:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=9916&amp;p=29937#p29937</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=9916&amp;p=29937#p29937"/>
		<title type="html"><![CDATA[changing serial has no effect?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=9916&amp;p=29937#p29937"><![CDATA[
I tried to change <br /><br />#define USB_CFG_SERIAL_NUMBER   'N', 'o', 'n', 'e' <br />#define USB_CFG_SERIAL_NUMBER_LEN   4<br /><br />to<br /><br />#define USB_CFG_SERIAL_NUMBER   '1', '0', '0', '1' <br />#define USB_CFG_SERIAL_NUMBER_LEN   4<br /><br />The macros are being used in the code, but the serial is always 0. How can I change the serial?<br /><br />I also tried setting it directly both in the definition and redefining it later. <br /><br />const PROGMEM int usbDescriptorStringSerialNumber[]  = {<br /> USB_STRING_DESCRIPTOR_HEADER(4),<br />'1','0','0','1'<br />};<br /><br />but it's still 0.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Fri Jul 10, 2015 4:17 am</p><hr />
]]></content>
	</entry>
	</feed>
