<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jim Travis's Blog</title><link>http://blogs.msdn.com/jimtravis/default.aspx</link><description>Covering the Windows 7 Sensor and Location Platform and other cool technologies.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Learning Pathways for Sensors and Location</title><link>http://blogs.msdn.com/jimtravis/archive/2009/10/27/learning-pathways-for-sensors-and-location.aspx</link><pubDate>Tue, 27 Oct 2009 05:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9913340</guid><dc:creator>jimtravis</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9913340.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9913340</wfw:commentRss><description>&lt;P&gt;We've published a new Windows Developer Center on MSDN. Part of the update includes a nice page for learning about Windows 7 sensors and location. Here's the link: &lt;A href="http://msdn.microsoft.com/en-us/windows/ee658252.aspx"&gt;http://msdn.microsoft.com/en-us/windows/ee658252.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9913340" width="1" height="1"&gt;</description></item><item><title>u-blox Releases Windows 7 Driver</title><link>http://blogs.msdn.com/jimtravis/archive/2009/09/15/u-blox-releases-windows-7-driver.aspx</link><pubDate>Wed, 16 Sep 2009 01:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9895602</guid><dc:creator>jimtravis</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9895602.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9895602</wfw:commentRss><description>&lt;P&gt;Press release here: &lt;A href="http://www.u-blox.com/en/press-and-events/press-release-archive/845.html"&gt;http://www.u-blox.com/en/press-and-events/press-release-archive/845.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you're looking for GPS hardware to use for developing your Windows 7 location-aware apps, u-blox has a solution available now.&lt;/P&gt;
&lt;P&gt;Driver here:&amp;nbsp; &lt;A href="http://www.u-blox.com/en/usb-drivers/windows-7-driver.html"&gt;http://www.u-blox.com/en/usb-drivers/windows-7-driver.html&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9895602" width="1" height="1"&gt;</description></item><item><title>Sensor API interop in Windows API Code Pack</title><link>http://blogs.msdn.com/jimtravis/archive/2009/08/01/sensor-api-interop-in-windows-api-code-pack.aspx</link><pubDate>Sat, 01 Aug 2009 02:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9854809</guid><dc:creator>jimtravis</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9854809.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9854809</wfw:commentRss><description>&lt;P&gt;Here's a source code release for .NET interop with Win32 features, including the Sensor API:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://code.msdn.microsoft.com/WindowsAPICodePack"&gt;http://code.msdn.microsoft.com/WindowsAPICodePack&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The &lt;B&gt;Windows® API Code Pack for Microsoft® .NET Framework&lt;/B&gt; provides a source code library that can be used to access some new Windows 7 features (and some existing features of older versions of Windows operating system) from managed code. These Windows features are not available to developers today in the .NET Framework. &lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9854809" width="1" height="1"&gt;</description></item><item><title>Sensor Constants and VECTOR Types</title><link>http://blogs.msdn.com/jimtravis/archive/2009/07/13/sensor-constants-and-vector-types.aspx</link><pubDate>Tue, 14 Jul 2009 01:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9832412</guid><dc:creator>jimtravis</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9832412.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9832412</wfw:commentRss><description>&lt;P&gt;In the Windows 7 Sensor platform, some properties and data fields contain arrays of information. For example, the SENSOR_PROPERTY_LIGHT_RESPONSE_CURVE property contains an array of 4-byte unsigned integers. However, when you receive such arrays through the Sensor API, they&amp;nbsp;will always represented as type VT_VECTOR|UI1, an array of single-byte characters, regardless of the actual type of the data in the array. This requirement&amp;nbsp;arises because the platform uses the WPD serializer when moving data from the sensor class extension to the API layer. The WPD serializer can serialize arrays of data only if the individual data type is UI1.&lt;/P&gt;
&lt;P&gt;From the driver perspective, this means that&amp;nbsp;PROPVARIANT for these array types&amp;nbsp;should be created by using &lt;A class="" title=InitPropVariantFromBuffer href="http://msdn.microsoft.com/en-us/library/bb762289(VS.85).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/bb762289(VS.85).aspx"&gt;InitPropVariantFromBuffer&lt;/A&gt;. This function creates the PROPVARIANT as type VT_VECTOR|UI1. Here's some example code that creates a light response curve:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;UINT responseCurve[10] = {0}; // Array to contain the response curve data.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// ****************************************************************************************&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// The response curve consists of an array of integer pairs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// The first integer contains the percentage brightness offset to be applied to the display.&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// The second integer contains the corresponding ambient light value (in LUX).&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// ****************************************************************************************&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// (0, 10)&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;responseCurve[0] = 0; responseCurve[1] = 10;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// (10, 40)&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;responseCurve[2] = 10; responseCurve[3] = 40;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// (40, 80)&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;responseCurve[4] = 40; responseCurve[5] = 80;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// (68, 100)&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;responseCurve[6] = 68; responseCurve[7] = 100;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// (90, 150)&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;responseCurve[8] = 90; responseCurve[9] = 150;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;o:p&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// Create the buffer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;PROPVARIANT pvCurve = {0};&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;InitPropVariantFromBuffer(responseCurve, 10 * sizeof (UINT), &amp;amp;pvCurve);&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;o:p&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;// Add the values to the IPortableDeviceValues object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;hr = m_pSensorProperties-&amp;gt;SetValue(SENSOR_PROPERTY_LIGHT_RESPONSE_CURVE, &amp;amp;pvCurve);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;o:p&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;STRONG&gt;PropVariantClear(&amp;amp;pvCurve);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 5.75pt 6pt 0in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;From the API perspective, you must be careful to cast arrays to the correct data type for the property or data field. Here's an example of how to "unpack" the light response curve data on the API side:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROPVARIANT pvCurve;&lt;BR&gt;PropVariantInit(&amp;amp;pvCurve);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;// Retrieve the property value.&lt;BR&gt;hr = pSensor-&amp;gt;GetProperty(SENSOR_PROPERTY_LIGHT_RESPONSE_CURVE, &amp;amp;pvCurve);&lt;BR&gt;if (SUCCEEDED(hr))&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((VT_UI1|VT_VECTOR) == V_VT(pvCurve)) // Note actual type of UI1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Cast the array to UINT, a 4-byte unsigned integer.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Item count for the array.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UINT&amp;nbsp; cElement = pvCurve.caub.cElems/sizeof(UINT);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Array pointer.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UINT* pElement = (UINT*)(pvCurve.caub.pElems);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Use the array.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;// Remember to free the PROPVARIANT when done.&lt;BR&gt;PropVariantClear(&amp;amp;pvCurve);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Earlier documentation for the Sensor API and WDK (or the header, sensors.h) did not call out this re-typing requirement. We've been updating the docs, but the header comments will continue to show the actual data type, without mention of the serialization issue.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9832412" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jimtravis/archive/tags/sensor+api/default.aspx">sensor api</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/sensor+WDK/default.aspx">sensor WDK</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/VT_5F00_VECTOR/default.aspx">VT_VECTOR</category></item><item><title>New page on Freescale's Web site for the Windows 7 Sensor Development Kit</title><link>http://blogs.msdn.com/jimtravis/archive/2009/06/10/new-page-on-freescale-s-web-site-for-the-windows-7-sensor-development-kit.aspx</link><pubDate>Wed, 10 Jun 2009 02:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9718668</guid><dc:creator>jimtravis</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9718668.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9718668</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=JMBADGE2008-B"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=JMBADGE2008-B&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9718668" width="1" height="1"&gt;</description></item><item><title>Location Sensors Question from a Reader</title><link>http://blogs.msdn.com/jimtravis/archive/2009/06/04/location-sensors-question-from-a-reader.aspx</link><pubDate>Thu, 04 Jun 2009 08:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9698354</guid><dc:creator>jimtravis</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9698354.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9698354</wfw:commentRss><description>&lt;P&gt;A reader asks:&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoPlainText&gt;&lt;FONT size=3 face=Consolas&gt;&lt;EM&gt;I've searched for information on Internet how to say to Windows 7 that external Bluetooth GPS should be used as the location sensor, but actually I have not found any answers, just the similar questions in forums. Probably it would be a good post in your blog which will explain what is possible and what not. I suspect there should be some driver support for translating information from Bluetooth COM ports to location, but it should be some class driver that is part of Sensor &amp;amp; Location API. I am using Nokia LD-3W BT GPS. It has category Other and from services there is only Serial Port. GPS function works just fine with legacy applications that use COM port directly, but I would like to know how Win7 can utilize this device as Location sensor.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoPlainText&gt;&lt;EM&gt;&lt;FONT size=3 face=Consolas&gt;&lt;/FONT&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoPlainText&gt;The Sensor and Location platform in Windows 7 does not provide a class driver for location sensors. In this particular instance, Nokia would have to write an updated native driver for the GPS. Alternatively, you could write a COM port-based sensor driver, but this is not a trivial exercise.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9698354" width="1" height="1"&gt;</description></item><item><title>Firmware update for Freescale Windows 7 Sensor Development Kits</title><link>http://blogs.msdn.com/jimtravis/archive/2009/05/20/firmware-update-for-freescale-windows-7-sensor-development-kits.aspx</link><pubDate>Wed, 20 May 2009 20:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9632564</guid><dc:creator>jimtravis</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9632564.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9632564</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://code.msdn.microsoft.com/SensorsAndLocation/Release/ProjectReleases.aspx?ReleaseId=2359"&gt;http://code.msdn.microsoft.com/SensorsAndLocation/Release/ProjectReleases.aspx?ReleaseId=2359&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;See the&amp;nbsp;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;B&gt;“Sensor Development Kit for Windows 7&lt;/B&gt;”&amp;nbsp; link.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;This firmware&amp;nbsp;puts the badge board into&amp;nbsp;sensor demo mode, by default. See the readme for details about how to update your firmware.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9632564" width="1" height="1"&gt;</description></item><item><title>Windows 7 Sensor Development Kits available from Freescale</title><link>http://blogs.msdn.com/jimtravis/archive/2009/05/17/windows-7-sensor-development-kits-available-from-freescale.aspx</link><pubDate>Sun, 17 May 2009 09:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9624023</guid><dc:creator>jimtravis</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9624023.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9624023</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=JMBADGE&amp;amp;tab=Buy_Parametric_Tab&amp;amp;fromSearch=false"&gt;&lt;FONT color=#0033cc&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=JMBADGE&amp;amp;tab=Buy_Parametric_Tab&amp;amp;fromSearch=false&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;If you've seen the sensor development kits we handed out at &lt;A href="http://blogs.msdn.com/jimtravis/archive/2008/11/01/sensors-and-location-at-pdc.aspx" target=_blank mce_href="http://blogs.msdn.com/jimtravis/archive/2008/11/01/sensors-and-location-at-pdc.aspx"&gt;PDC&lt;/A&gt; and WinHEC last year, but couldn't get your hands on one, great news! They're now for sale through Freescale's website.&lt;/P&gt;
&lt;P&gt;Be forewarned: Freescale's web page doesn't quite indicate that this is the Windows 7 Sensor Development Kit, yet, but rest assured that the product is the correct one.&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9624023" width="1" height="1"&gt;</description></item><item><title>Sometimes, it's the low-tech solution that's best</title><link>http://blogs.msdn.com/jimtravis/archive/2009/04/22/sometimes-it-s-the-low-tech-solution-that-s-best.aspx</link><pubDate>Wed, 22 Apr 2009 19:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9562593</guid><dc:creator>jimtravis</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9562593.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9562593</wfw:commentRss><description>&lt;P&gt;Here's a great article that spotlights a colleague in PC3 at Microsoft. Mike LaManna has done some great work, here, with a low-tech (and virtually free) accessibility solution that will help a lot of people.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A class="" href="http://www.techflash.com/microsoft/Microsoft_designer_finds_simple_way_to_help_kids_hang_on_to_mice43390442.html" mce_href="http://www.techflash.com/microsoft/Microsoft_designer_finds_simple_way_to_help_kids_hang_on_to_mice43390442.html"&gt;Click here for the article.&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9562593" width="1" height="1"&gt;</description></item><item><title>The .NET Interop Sample and 64-bit</title><link>http://blogs.msdn.com/jimtravis/archive/2009/03/31/the-net-interop-sample-and-64-bit.aspx</link><pubDate>Tue, 31 Mar 2009 03:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9520829</guid><dc:creator>jimtravis</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9520829.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9520829</wfw:commentRss><description>&lt;P&gt;If you don't compile the interop sample for 64-bit and then&amp;nbsp;try to use the x86 version in your 64-bit project, you'll get a BadImageFormatException when you try to compile your project. This is to be expected.&amp;nbsp;However, we've noticed that the x64 configuration in the interop sample isn't correct, so when you specify x64, you get a x86 compilation anyway. You can change the configuration settings yourself in the configuration manager so that Windows7.SensorAndLocation build as x64 when the x64 configuration is chosen for Debug or Release. Note that XNA framework is x86 only, so you should uncheck the MarbleSample's Build check box in x64 configurations.&lt;/P&gt;
&lt;P&gt;The team that posted the sample is working to update the download package. (Thanks to Yochay Kiriaty.)&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9520829" width="1" height="1"&gt;</description></item><item><title>The DEFINE_PROPERTYKEY macro</title><link>http://blogs.msdn.com/jimtravis/archive/2009/03/31/the-define-propertykey-macro.aspx</link><pubDate>Tue, 31 Mar 2009 02:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9520801</guid><dc:creator>jimtravis</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9520801.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9520801</wfw:commentRss><description>&lt;P&gt;If you've worked with property keys, say with Windows Portable Devices, you've probably run across this macro. The Sensor platform would require you to define your own property keys if, say, you want to define a custom sensor data type. This macro isn't currently well documented (we're working to fix that), so it can be a bit confusing to use. &lt;/P&gt;
&lt;P&gt;Here's the current macro definition from Propkeydef.h:&lt;/P&gt;
&lt;P&gt;#ifdef INITGUID&lt;BR&gt;#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) EXTERN_C const PROPERTYKEY DECLSPEC_SELECTANY name = { { l, w1, w2, { b1, b2,&amp;nbsp; b3,&amp;nbsp; b4,&amp;nbsp; b5,&amp;nbsp; b6,&amp;nbsp; b7,&amp;nbsp; b8 } }, pid }&lt;BR&gt;#else&lt;BR&gt;#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) EXTERN_C const PROPERTYKEY name&lt;BR&gt;#endif // INITGUID&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using this macro, you basically have two options:&lt;B&gt;&lt;/B&gt;&lt;/P&gt;
&lt;OL type=1&gt;
&lt;LI&gt;Include Initguid.h in your project. In this case, the macro will declare the property key names and&amp;nbsp;define the property keys for you. This approach works in most cases, but can cause naming collisions in large, complex projects. 
&lt;LI&gt;Do not include Initguid.h. Instead, compile your definitions into a static library file having a .lib file name extension. In this case, the macro will simply declare the names for your property keys for the compiler's use, but you will&amp;nbsp;need to reference&amp;nbsp;your .lib file in your project's&amp;nbsp;linker settings. This approach works best in large projects that use multiple modules,&amp;nbsp;because it avoids the naming collisions mentioned in option 1.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the macro without including Initguid.h and without referencing a library file will raise the error LNK2001, so if you see that error for your property key declarations, now you know what to do about it.&lt;/P&gt;
&lt;P&gt;By the way, the property keys declared in Sensors.h are defined in Sensorsapi.lib. So, you can see that the sensor team chose option 2 when coding the platform.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9520801" width="1" height="1"&gt;</description></item><item><title>.NET interop sample available for Sensor API and Location API</title><link>http://blogs.msdn.com/jimtravis/archive/2009/03/19/net-interop-sample-available-for-sensor-api-and-location-api.aspx</link><pubDate>Fri, 20 Mar 2009 00:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9491179</guid><dc:creator>jimtravis</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9491179.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9491179</wfw:commentRss><description>&lt;P&gt;If you've been itching to work with sensors and location, but prefer to use .NET, here's great news for you!&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;A href="http://code.msdn.microsoft.com/SensorsAndLocation"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;http://code.msdn.microsoft.com/SensorsAndLocation&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Here's a direct link to the code download:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN style="COLOR: #1f497d"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=SensorsAndLocation&amp;amp;DownloadId=5039"&gt;&lt;FONT face=Calibri size=3&gt;http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=SensorsAndLocation&amp;amp;DownloadId=5039&lt;/FONT&gt;&lt;/A&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;o:p&gt;Give it a try. :-)&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9491179" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jimtravis/archive/tags/sensor+api/default.aspx">sensor api</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/location+api/default.aspx">location api</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/.NET/default.aspx">.NET</category></item><item><title>Siftables: Toy Blocks Become a Computer</title><link>http://blogs.msdn.com/jimtravis/archive/2009/02/14/siftables-toy-blocks-become-a-computer.aspx</link><pubDate>Sat, 14 Feb 2009 17:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9421758</guid><dc:creator>jimtravis</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9421758.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9421758</wfw:commentRss><description>&lt;DIV dir=ltr&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&lt;A href="http://www.ted.com/talks/david_merrill_demos_siftables_the_smart_blocks.html"&gt;http://www.ted.com/talks/david_merrill_demos_siftables_the_smart_blocks.html&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr&gt;&lt;FONT face=tahoma size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr&gt;&lt;FONT face=tahoma size=2&gt;Captivating video that demos the use of blocks as computers. Obviously some orientation and proximity sensor stuff going on here, too.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr&gt;&lt;FONT face=tahoma size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9421758" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jimtravis/archive/tags/accelerometers/default.aspx">accelerometers</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/proximity+sensors/default.aspx">proximity sensors</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/orientation+sensors/default.aspx">orientation sensors</category></item><item><title>MIT Team Shows 'Sixth Sense' Wearable Computer</title><link>http://blogs.msdn.com/jimtravis/archive/2009/02/13/mit-team-shows-sixth-sense-wearable-computer.aspx</link><pubDate>Sat, 14 Feb 2009 02:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9420344</guid><dc:creator>jimtravis</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9420344.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9420344</wfw:commentRss><description>&lt;A href="http://www.foxnews.com/story/0,2933,489444,00.html"&gt;http://www.foxnews.com/story/0,2933,489444,00.html&lt;/A&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9420344" width="1" height="1"&gt;</description></item><item><title>Sensor Windows Driver Kit beta docs on MSDN</title><link>http://blogs.msdn.com/jimtravis/archive/2009/02/06/sensor-windows-driver-kit-beta-docs-on-msdn.aspx</link><pubDate>Fri, 06 Feb 2009 03:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9400333</guid><dc:creator>jimtravis</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jimtravis/comments/9400333.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimtravis/commentrss.aspx?PostID=9400333</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/bb870493.aspx"&gt;&lt;FONT color=#003399&gt;http://msdn.microsoft.com/en-us/library/bb870493.aspx&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"&gt;We're experiencing some issues with rendering bulleted and numbered lists and working diligently to resolve this issue. Thanks for being patient.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9400333" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jimtravis/archive/tags/Driver+Kits/default.aspx">Driver Kits</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/Sensors/default.aspx">Sensors</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/sensor+WDK/default.aspx">sensor WDK</category><category domain="http://blogs.msdn.com/jimtravis/archive/tags/sensor+documentation/default.aspx">sensor documentation</category></item></channel></rss>