<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Software Bakery</title>
	<atom:link href="http://www.softwarebakery.com/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.softwarebakery.com</link>
	<description>Specialty: Delicious software</description>
	<lastBuildDate>Tue, 23 Feb 2010 19:39:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Wii Device Library v1.2 released by FrozenCow</title>
		<link>http://www.softwarebakery.com/?p=99&#038;cpage=1#comment-787</link>
		<dc:creator>FrozenCow</dc:creator>
		<pubDate>Tue, 23 Feb 2010 19:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=99#comment-787</guid>
		<description>Don&#039;t forget to also thank Maato ;), he doesn&#039;t comment much but did a lot of work and testing too, especially BlueZ support.

I&#039;ve been looking at Motion Plus support, though I can&#039;t say it&#039;s implemented in a few minutes in the current framework. At the moment school takes a lot of time, which doesn&#039;t give me enough to setup the test-environment and implement the support. It would be a great addition though!

To not forget the feature I&#039;ve added it to the issue-tracker: http://code.google.com/p/wiidevicelibrary/issues/detail?id=13 . If there are any other requests (or issues) please also add it to the issue-tracker.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t forget to also thank Maato <img src='http://www.softwarebakery.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , he doesn&#8217;t comment much but did a lot of work and testing too, especially BlueZ support.</p>
<p>I&#8217;ve been looking at Motion Plus support, though I can&#8217;t say it&#8217;s implemented in a few minutes in the current framework. At the moment school takes a lot of time, which doesn&#8217;t give me enough to setup the test-environment and implement the support. It would be a great addition though!</p>
<p>To not forget the feature I&#8217;ve added it to the issue-tracker: <a href="http://code.google.com/p/wiidevicelibrary/issues/detail?id=13" rel="nofollow">http://code.google.com/p/wiidevicelibrary/issues/detail?id=13</a> . If there are any other requests (or issues) please also add it to the issue-tracker.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library v1.2 released by HalloUniversum</title>
		<link>http://www.softwarebakery.com/?p=99&#038;cpage=1#comment-785</link>
		<dc:creator>HalloUniversum</dc:creator>
		<pubDate>Tue, 23 Feb 2010 12:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=99#comment-785</guid>
		<description>Hello FrozenCow

Great job and thank you very much for the hard work !

Any chance to get Motion Plus support with pass thru mode for Nunchuck ?
Please see http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248889032/45 for some hints about pass thru mode.

Regards....</description>
		<content:encoded><![CDATA[<p>Hello FrozenCow</p>
<p>Great job and thank you very much for the hard work !</p>
<p>Any chance to get Motion Plus support with pass thru mode for Nunchuck ?<br />
Please see <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248889032/45" rel="nofollow">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248889032/45</a> for some hints about pass thru mode.</p>
<p>Regards&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library v1.2 released by FrozenCow</title>
		<link>http://www.softwarebakery.com/?p=99&#038;cpage=1#comment-784</link>
		<dc:creator>FrozenCow</dc:creator>
		<pubDate>Tue, 23 Feb 2010 09:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=99#comment-784</guid>
		<description>That is an interesting usecase. You might be able to redirect references from libbluetooth.so.3 to libbluetooth.so.2 by using Mono&#039;s configuration in your app.exe.config. If you try this, be sure to use WiiDeviceLibrary.Bluetooth.Bluez.BluezDeviceProvider directly instead of DeviceProviderRegistry.
We&#039;ll try it here later this week if mono&#039;s redirection will work.</description>
		<content:encoded><![CDATA[<p>That is an interesting usecase. You might be able to redirect references from libbluetooth.so.3 to libbluetooth.so.2 by using Mono&#8217;s configuration in your app.exe.config. If you try this, be sure to use WiiDeviceLibrary.Bluetooth.Bluez.BluezDeviceProvider directly instead of DeviceProviderRegistry.<br />
We&#8217;ll try it here later this week if mono&#8217;s redirection will work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library v1.2 released by PhillipJ</title>
		<link>http://www.softwarebakery.com/?p=99&#038;cpage=1#comment-782</link>
		<dc:creator>PhillipJ</dc:creator>
		<pubDate>Tue, 23 Feb 2010 05:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=99#comment-782</guid>
		<description>This is the only .Net bluetooth library I&#039;ve found that works on nokia&#039;s n810 with mono.
You need to convert the library to .Net 2.0 and replace libbluetooth.so.3 with libbluetooth.so.2 in the bluez native methods class.
Don&#039;t yet own a Wiimote so maybe there will be problems but it looks good so far.</description>
		<content:encoded><![CDATA[<p>This is the only .Net bluetooth library I&#8217;ve found that works on nokia&#8217;s n810 with mono.<br />
You need to convert the library to .Net 2.0 and replace libbluetooth.so.3 with libbluetooth.so.2 in the bluez native methods class.<br />
Don&#8217;t yet own a Wiimote so maybe there will be problems but it looks good so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library released by FrozenCow</title>
		<link>http://www.softwarebakery.com/?p=68&#038;cpage=1#comment-366</link>
		<dc:creator>FrozenCow</dc:creator>
		<pubDate>Thu, 13 Aug 2009 12:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=68#comment-366</guid>
		<description>Thanks for the fixes! The first two can be considered approved, but we have to check the third patch since it removes some sensitive report-response code.</description>
		<content:encoded><![CDATA[<p>Thanks for the fixes! The first two can be considered approved, but we have to check the third patch since it removes some sensitive report-response code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library released by nneonneo</title>
		<link>http://www.softwarebakery.com/?p=68&#038;cpage=1#comment-365</link>
		<dc:creator>nneonneo</dc:creator>
		<pubDate>Wed, 12 Aug 2009 21:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=68#comment-365</guid>
		<description>Since WordPress ate my formatting, here&#039;s a permanent copy on Pastebin: http://pastebin.com/d7e2c286c</description>
		<content:encoded><![CDATA[<p>Since WordPress ate my formatting, here&#8217;s a permanent copy on Pastebin: <a href="http://pastebin.com/d7e2c286c" rel="nofollow">http://pastebin.com/d7e2c286c</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library released by nneonneo</title>
		<link>http://www.softwarebakery.com/?p=68&#038;cpage=1#comment-364</link>
		<dc:creator>nneonneo</dc:creator>
		<pubDate>Wed, 12 Aug 2009 21:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=68#comment-364</guid>
		<description>I am using the library for some Wiimote related work, and it works quite well (I especially like the discovery feature).

I think there are a few changes which would make the MsHid interface usable -- I have patched a local copy to include these changes, and I am including these patches (as I don&#039;t know where else to direct said patched).

First, a patch to avoid a NullReferenceException if acceleration data arrives before calibration (this can happen if the Wiimote is already configured for reporting acceleration):

(see next comment)</description>
		<content:encoded><![CDATA[<p>I am using the library for some Wiimote related work, and it works quite well (I especially like the discovery feature).</p>
<p>I think there are a few changes which would make the MsHid interface usable &#8212; I have patched a local copy to include these changes, and I am including these patches (as I don&#8217;t know where else to direct said patched).</p>
<p>First, a patch to avoid a NullReferenceException if acceleration data arrives before calibration (this can happen if the Wiimote is already configured for reporting acceleration):</p>
<p>(see next comment)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library v1.2 released by FrozenCow</title>
		<link>http://www.softwarebakery.com/?p=99&#038;cpage=1#comment-322</link>
		<dc:creator>FrozenCow</dc:creator>
		<pubDate>Tue, 23 Jun 2009 23:23:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=99#comment-322</guid>
		<description>Hi Dan,

First: sorry for the wait, we should really have some sort of notification when people comment on this site.

It really surprised me that you ran across the &#039;Received an output report!&#039;. When I added that exception I presumed no one was ever going to see that, because it would be almost impossible. I think one of the usb-devices (or hub) was registered as HID-device with the same Id&#039;s as the Wii-devices have. WiiDeviceLibrary thought one of those devices was a Wii-device and tried to connect. The Wiimote normally sends and receives &#039;reports&#039; and identifies the report-type with a single byte. This byte is checked by WiiDeviceLibrary. If it receives a byte that corresponds with a report-type that would normally be SENT to the Wiimote instead of RECEIVED it raises the exception you described.
I might just remove the exception and just try to disconnect the device, since raising an exception on a thread that is not managed by the user could cause great annoyances.

The TimeoutException is raised for WriteMemory and ReadMemory when there is no resulting-report sent back to confirm the operation succeeded (or failed) within 5 seconds.
We tested and covered calling Wiimote-methods directly from the Update-eventhandler. This should be no problem.
Though, invoking a call on the GUI-thread and at the same time blocking the Update-thread (which is what the &#039;Invoke&#039; method does) -could- result in problems.

I can&#039;t really clearly state where the problem lies without some more information. It would be great if you could send us a portion of your code so we can analyse, test and debug using that.
You can email me or Maato at info@softwarebakery.com.</description>
		<content:encoded><![CDATA[<p>Hi Dan,</p>
<p>First: sorry for the wait, we should really have some sort of notification when people comment on this site.</p>
<p>It really surprised me that you ran across the &#8216;Received an output report!&#8217;. When I added that exception I presumed no one was ever going to see that, because it would be almost impossible. I think one of the usb-devices (or hub) was registered as HID-device with the same Id&#8217;s as the Wii-devices have. WiiDeviceLibrary thought one of those devices was a Wii-device and tried to connect. The Wiimote normally sends and receives &#8216;reports&#8217; and identifies the report-type with a single byte. This byte is checked by WiiDeviceLibrary. If it receives a byte that corresponds with a report-type that would normally be SENT to the Wiimote instead of RECEIVED it raises the exception you described.<br />
I might just remove the exception and just try to disconnect the device, since raising an exception on a thread that is not managed by the user could cause great annoyances.</p>
<p>The TimeoutException is raised for WriteMemory and ReadMemory when there is no resulting-report sent back to confirm the operation succeeded (or failed) within 5 seconds.<br />
We tested and covered calling Wiimote-methods directly from the Update-eventhandler. This should be no problem.<br />
Though, invoking a call on the GUI-thread and at the same time blocking the Update-thread (which is what the &#8216;Invoke&#8217; method does) -could- result in problems.</p>
<p>I can&#8217;t really clearly state where the problem lies without some more information. It would be great if you could send us a portion of your code so we can analyse, test and debug using that.<br />
You can email me or Maato at <a href="mailto:info@softwarebakery.com">info@softwarebakery.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library v1.2 released by Dan</title>
		<link>http://www.softwarebakery.com/?p=99&#038;cpage=1#comment-318</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 22 Jun 2009 00:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=99#comment-318</guid>
		<description>I think my problem is due to multiple reports being sent to the Wiimote across multiple threads.

My Updated event for a device invoked itself on the GUI thread to manipulate the GUI, and read from the wiimote at the same time (the rumble, battery, and led states).  This reading could have been happening at the same time a ReportingMode was being set, which could have caused a problem.

I also had the same exception if I tried to enable the speaker while my same update code was running.

I noticed both use WriteMemory to poke at a number of addresses on the Wiimote, and it was WriteMemory that was failing to receive a return report.

I worked around both problems by unhooking my device&#039;s Updated event handler while changing ReportingMode or IsSpeakerEnabled, and rehooking it after.</description>
		<content:encoded><![CDATA[<p>I think my problem is due to multiple reports being sent to the Wiimote across multiple threads.</p>
<p>My Updated event for a device invoked itself on the GUI thread to manipulate the GUI, and read from the wiimote at the same time (the rumble, battery, and led states).  This reading could have been happening at the same time a ReportingMode was being set, which could have caused a problem.</p>
<p>I also had the same exception if I tried to enable the speaker while my same update code was running.</p>
<p>I noticed both use WriteMemory to poke at a number of addresses on the Wiimote, and it was WriteMemory that was failing to receive a return report.</p>
<p>I worked around both problems by unhooking my device&#8217;s Updated event handler while changing ReportingMode or IsSpeakerEnabled, and rehooking it after.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wii Device Library v1.2 released by Dan</title>
		<link>http://www.softwarebakery.com/?p=99&#038;cpage=1#comment-317</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sun, 21 Jun 2009 20:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarebakery.com/?p=99#comment-317</guid>
		<description>Actually it seems to be happening randomly now whenever I SetReportingMode... maybe it&#039;ll crash, maybe not!  Who knows!</description>
		<content:encoded><![CDATA[<p>Actually it seems to be happening randomly now whenever I SetReportingMode&#8230; maybe it&#8217;ll crash, maybe not!  Who knows!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
