Development with the Windows Sensor and Location Platform ForumDiscuss using the Windows Sensor and Location Platform to gather input from GPS, light sensors, accelerometer, and other types of sensors, and use them in your applications.© 2009 Microsoft Corporation. All rights reserved.Tue, 24 Nov 2009 01:01:00 Za526d3af-0d80-4f1f-a8f6-2980f096d58dhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/fe898665-a96e-4f1c-972a-fcf29eb2e7c4http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/fe898665-a96e-4f1c-972a-fcf29eb2e7c4sambooshttp://social.msdn.microsoft.com/Profile/en-US/?user=samboosAccessing SMBus Device ( Battery Fuel Gage ) from System side Hi,<br/> I need to access the fuel gage on my laptop battery for an application. Normally I would communicate to the fuel gage using an external SMBus driver which directly connects to the fuel gage through SMBus . <br/> However for this application, the fuel gage is alreay installed in the laptop, and I do not have direct access to the fuel gage. I will have to go through the System side.<br/> I have been reading articles in msdn which have pointed me towards KMDF and making C/C++ programs to access the SMBus through windows in the Kernel Mode. My end solution will be to send some commands to a particular address on SMBus. <br/> I have presently installed DDK on my computer and there is some information on how to access SMBus. However there are no samples. <br/> Can anyone answer following questions : <br/> (i) Am I going down the right path in accessing the SMBus(&amp; thus notebook fuel gage) through KMDF &amp; writing a C/C++ code for the same<br/> (ii) Are there any code samples that I could use as a starting point ?<br/> <br/> Thanks in advance for your help !<br/> <br/> Regards,<br/> SambitWed, 11 Nov 2009 18:56:41 Z2009-11-24T01:00:58Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/29aa4a4e-1feb-42fb-a663-950a1c9ced9dhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/29aa4a4e-1feb-42fb-a663-950a1c9ced9dJuanSueroNYChttp://social.msdn.microsoft.com/Profile/en-US/?user=JuanSueroNYClocation api and acer pdc09 netbookhey i received one of those acer netbooks at pdc.  if i wanted to work with the location api, can i do this out of the box with this netbook ( it doesnt come with GPS ).<br/>sorry for being a newb but ... can the api work with wifi triangulation and ip resolver?<br/>the netbook doesnt come with expansion card slot<br/>so would it be a good idea to get a usb ( or whatever other connnection one? )<br/><br/><br/>basically i dont want to spend money if i dont have to.<br/>i suppose i could work with the api without a gps add on to my netbook<br/><br/>but would that be accurate?<br/>does the api use all sources as input?<br/>thanksFri, 20 Nov 2009 15:51:51 Z2009-11-22T05:21:27Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/eba70c24-068e-4e42-ae59-0a09010b832dhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/eba70c24-068e-4e42-ae59-0a09010b832dcindy009http://social.msdn.microsoft.com/Profile/en-US/?user=cindy009how can i get windows 7 32-bit product key?i want windows 7 32-bit product key ..<br/>plz help mi..:((((Sun, 15 Nov 2009 08:55:52 Z2009-11-15T08:55:52Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/9d84daa4-ba87-472d-8e16-8227a81f83f5http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/9d84daa4-ba87-472d-8e16-8227a81f83f5ChrisKoenighttp://social.msdn.microsoft.com/Profile/en-US/?user=ChrisKoenigAny tips on troubleshooting driver installation on Win 7?I'm using the freescale jm badge board on x64 win 7 rtm, but the drivers don't seem to load successfully (install just stops), and the device never shows up in the sensors listing in control panel. Thu, 29 Oct 2009 03:53:09 Z2009-11-11T20:56:10Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/5c45b79b-5a3f-43df-b54a-28195dd53824http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/5c45b79b-5a3f-43df-b54a-28195dd53824Mike Yeagerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20YeagerFreescale JMBADGE2008-B installation problemsJust got my board in the mail and I'm having BIG trouble with it. I DO see it show up as an HID device in device manager, however, I can't get it to show up in the Location &amp; Other Sensors control panel. I followed the troubleshooting instructions in &quot;Sensor Development Kit Driver &amp; Firmware.rtf&quot;. When I press E8 twice, instead of activiting the sensors, it seems to royally screw up my (bluetooth) keyboard and mouse. I have to unplug it or risk whatever it might click on or type in. I've tried unplugging the bluetooth for the mouse and keyboard, but it does the same thing. I've tried updating the firmware - seems to complete OK, but no improvement. Running SensorKitDriverInstaller.exe doesn't seem to do anything - no UI ever comes up. I'm on 64bit Win 7 Ultimate. Tried everything I can think of from re-booting to re-flashing, to ...<br/><br/>One more tidbit. When I attempt to &quot;Update Driver&quot; on the HID device and manually try to select a driver, it offers me x86 and amd64, neither of which my Intel Core2 Quad machine seems to like. Does this just flat out not work on Intel 64bit?<br/><br/>Help!Tue, 10 Nov 2009 21:09:20 Z2009-11-10T21:57:45Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/7939d4ff-0f5f-447e-92a5-2f1107bb168ehttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/7939d4ff-0f5f-447e-92a5-2f1107bb168ewinwaedhttp://social.msdn.microsoft.com/Profile/en-US/?user=winwaedIE8 support for the Location&Sensor APII've just tried installing WindowsNT's NMEA0183 driver. Although I haven't done much testing, it looks to be working fine with my GlobalSat BU-353&nbsp; (Win7 x86 laptop).<br /> <br /> Has Microsoft hinted when / if support for the Location &amp; Sensor API will be added to Internet Explorer?<br /> <br /> The W3C have a Geolocation API which was recently added to Firefox (I wrote an article about it at: <a href="http://www.geowebguru.com/articles/172-the-w3c-browser-geolocation-api">http://www.geowebguru.com/articles/172-the-w3c-browser-geolocation-api</a> ). The Firefox version gets the user's location from a Google web service and is based on IP address.<br /> <br /> It would appear that the Location&amp;Sensor API would be a natural source of data to implement this API in Internet Explorer...<br /> <br /> Probably a long shot to get it working in time, but demonstrating this working with a GPS receiver vs. Firefox's IP-based system would look good at a Windows 7 party!<br /> <br /> <br /> Richard <br /> <br /><hr class="sig">Richard Marsden http://www.geowebguru.com http://www.mapping-tools.comFri, 02 Oct 2009 17:04:34 Z2009-11-10T18:39:32Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/a38b9ea5-7da4-4357-854d-e6ec0d31f2bfhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/a38b9ea5-7da4-4357-854d-e6ec0d31f2bfneil.younghttp://social.msdn.microsoft.com/Profile/en-US/?user=neil.youngQuestion on signingHi, <div>I was signing my sensor driver (UMDF) with a Verisign Class 3 Code Signing Cert in order to get rid of the &quot;This driver is unsigned...&quot; warning on install. Instead I've now a question box from Windows Security, asking me, whether I want to install the driver. For me this means, I have successfully expelled the Devil with the Beelzebub... for just $500 per year :) Even more worse: In the properties dialog the driver is still marked as NOT digitally signed...</div> <div><br/></div> <div>Two questions on this:</div> <div>1) Is it possible to achieve a &quot;silent&quot; install with devcon, getting rid of any security warning/message?</div> <div>2) What are the required steps to get a digitally signed driver, which installs w/o complains and is treated as signed?</div> <div><br/></div> <div>Kind regards</div> <div><br/></div> <div><br/></div><hr class="sig">neilFri, 06 Nov 2009 10:46:06 Z2009-11-07T10:32:12Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d3957179-7385-494b-88be-d1d77bfa326ahttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d3957179-7385-494b-88be-d1d77bfa326aneil.younghttp://social.msdn.microsoft.com/Profile/en-US/?user=neil.youngQuestion on deploymentHi,  <div>I've no rolled my sensor driver and sucessfully installed it using devcon. I fear, I'm not allowed to distribute devcon to a client machine in order to use it there for installation/deinstallation (?). For this I wanted to use DIFxAPI for installing, but this doesn't work either.</div> <div><br/></div> <div> <div>DIFxCmd.exe /i Test.inf</div> <div>DIFxAPI Sample Program</div> <div>INFO: Option &quot;/i&quot;</div> <div>INFO: Input file &quot;C:\SensorsDriver\Test.inf&quot;</div> <div>INFO: Flags 0x0 (0)</div> <div><br/></div> <div>TEST: installing driver package.</div> <div>LOG Event: 1, ENTER:  DriverPackageInstallW</div> <div>LOG Event: 1, Installing INF file 'C:\SensorsDriver\Test.inf' (Plug and Play).</div> <div>LOG Event: 1, Looking for Model Section [NTx86]...</div> <div>LOG Event: 1, No matching devices found in INF &quot;G:\Windows\System32\DriverStore\</div> <div>FileRepository\Test.inf_x86_neutral_af4d3025189618dc\Test.</div> <div>inf&quot; on the Machine.</div> <div>LOG Event: 1, No drivers installed. No devices found that match driver(s) contai</div> <div>ned in 'G:\Windows\System32\DriverStore\FileRepository\Test.inf_x86_n</div> <div>eutral_af4d3025189618dc\Test.inf'.</div> <div>LOG Event: 1, RETURN: DriverPackageInstallW  (0xE000020B)</div> <div>INFO: There aren't any live devnodes with the DeviceId contained in the INF.</div> <div><br/></div> <div><br/></div> <div>It all ends up in E00000020B... Is it generally possible to use this API for driver installation?</div> <div><br/></div> <div>Regards</div> <div><br/></div> <div><br/></div> <div><br/></div> </div> <hr class=sig> neilTue, 03 Nov 2009 18:26:06 Z2009-11-06T06:50:13Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/85dc2b35-7306-4fa7-8507-332ec5b6a9eehttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/85dc2b35-7306-4fa7-8507-332ec5b6a9eeWindowsNThttp://social.msdn.microsoft.com/Profile/en-US/?user=WindowsNTGPS Generic NMEA COM Port (Bluetooth, USB etc) Sensor DriverI 've created the UMDF driver to expose a sensor interface for any NMEA-compatible GPS connected at a serial port (via bluetooth, usb etc). It works fine on my system, currently supporting GGA/RMC/GSA/GSV to return X,Y,Z,Precision Information,Satellite Information, Speed and Bearing. <div><br /></div> <div> <div> <div>Perhaps you 'd want to give it a try and tell me what to fix. The driver is available for both x64 and x86. Hopefully you will help me to finalize this and provide a full solution to all Windows 7 Sensor and Location-aware applications.&nbsp;</div> <div><br /></div> <div>To validate com port settings , you might need before installing the driver to connect to the GPS device directly (by using e.g. Turbo GPS or Hyperterminal) and verify that your settings work.</div> <div><br /></div> <div>The ISensor ID is&nbsp;{800EE0CB-71EC-40f0-991C-7E76BFABD1AF}, pass this to ISensorManager::GetSensorByID() to get the sensor.</div> <div><br /></div> <div><a href="http://www.turboirc.com/gps7/">Link.</a></div> <div><br /></div> <div>Best Regards.</div> <div><br /></div> <div>Changelog:</div> <div><br /></div> <div> <ul> <li>Driver works with Location API.</li> <li>Driver reports Satellite data.</li> <li>Driver allows selection of the COM port baud speed.</li> <li>Turbo GPS Updated to support Sensor API and indirectly, the driver.</li> <li>Driver returns NMEA and Fix Type</li> <li>Driver supports x86</li> <li>Driver supports GGA and RMC</li> </ul> </div> <div><br /></div> </div> <hr class="sig" /> Michael</div>Mon, 28 Sep 2009 11:41:16 Z2009-11-02T20:25:05Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/1481d96e-2fa8-42de-96ef-183436177913http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/1481d96e-2fa8-42de-96ef-183436177913neil.younghttp://social.msdn.microsoft.com/Profile/en-US/?user=neil.youngWhat APIs are accessible from sensor driver? Hi group, <div>is it possible to access the Native WLAN API from a sensor driver (<a href="http://msdn.microsoft.com/en-us/library/ms705969(VS.85).aspx">http://msdn.microsoft.com/en-us/library/ms705969(VS.85).aspx</a>)? Is furthermore possible to access the WinINet API as well (<a href="http://msdn.microsoft.com/en-us/library/aa385483(VS.85).aspx">http://msdn.microsoft.com/en-us/library/aa385483(VS.85).aspx</a>)?</div> <div><br/></div> <div>If not, could someone please point me to alternative APIs?</div> <div><br/></div> <div>TIA</div> <div>neil</div> <div> </div><hr class="sig">neilThu, 22 Oct 2009 20:33:08 Z2009-10-23T16:24:10Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2c4ebb75-ecb8-4739-8050-340479cafcdbhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2c4ebb75-ecb8-4739-8050-340479cafcdbWindowsNThttp://social.msdn.microsoft.com/Profile/en-US/?user=WindowsNTRestoring question to enable/disable a sensor on RequestPermissionsNormally Windows present a dialog box to the user, asking him to allow a new sensor. However i accidentally pressed 'no' once, and now, when i reinstall a sensor, i have to manually go to the control panel and enable it. <div><br/></div> <div>Is there a (non programming) way to restore the default behaviour ? Registry key or something.</div> <div><br/></div> <div>Thanks.</div><hr class="sig">MichaelWed, 21 Oct 2009 21:49:52 Z2009-10-22T20:00:11Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2d553665-67bb-4e7d-91e7-7554d69e6007http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2d553665-67bb-4e7d-91e7-7554d69e6007WindowsNThttp://social.msdn.microsoft.com/Profile/en-US/?user=WindowsNTHID input from a sensor driver?Hi again. <div><br/></div> <div>I am trying to create a sensor driver for a device that is normally accessible through HID. However it seems that HidD* functions are not available for UMDF, for example HidD_GetHidGuid , HidD_GetPreparsedData are not available in the hid.lib. It seems that I can't also use raw input with WM_INPUT .</div> <div><br/></div> <div>Do I have any other option ? </div><hr class="sig">MichaelWed, 21 Oct 2009 15:11:55 Z2009-10-22T13:47:55Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/aa619e7e-ec24-4e59-9daa-113df6c50940http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/aa619e7e-ec24-4e59-9daa-113df6c50940WindowsNThttp://social.msdn.microsoft.com/Profile/en-US/?user=WindowsNTMore categories?Hello again. <div><br/></div> <div>Am I limited to using one of the existing categories for a sensor ? If no, then how do I enumerate all available categories ? GetSensorsByCategory requires that you know the category CLSID. </div> <div><br/></div> <div>Best Regards.</div> <div><br/></div><hr class="sig">MichaelMon, 19 Oct 2009 14:27:51 Z2009-10-20T14:12:53Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/3bd72b36-f152-476c-9cf1-5fd4120b05b1http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/3bd72b36-f152-476c-9cf1-5fd4120b05b1WindowsNThttp://social.msdn.microsoft.com/Profile/en-US/?user=WindowsNTILocation troubleI am trying to use ILocation to get the location lon/lat while a GPS sensor is attached and there are two problems. <div><span style="background-color: #ffffff;"><br /></span></div> <div>1. No notification method (my ILocationEvents) is called</div> <div><br /></div> <div>2. When I manually call ILocation::GetReport() , I get a HRESULT error "pipe is closing"</div> <div><br /></div> <div>What's wrong ?</div> <div><br /></div><hr class="sig">MichaelFri, 02 Oct 2009 12:16:30 Z2009-10-15T14:09:41Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/77e778d4-265d-40f7-9ec5-c49962f877fbhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/77e778d4-265d-40f7-9ec5-c49962f877fbChristoph Willehttp://social.msdn.microsoft.com/Profile/en-US/?user=Christoph%20WilleStreets & Trips GPS SensorsDuring the talk at PDC it was mentioned that there aren't any GPS adapters supporting the Sensor platform. How about providing support for one that many of us (developers) have anyways - the one that ships with Streets &amp; Trips? That would be absolutely great.<br><br>Chris<br>http://chrison.net/<br><br> Tue, 04 Nov 2008 16:25:43 Z2009-10-12T18:47:49Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/8d75779d-e9df-457b-a4f8-ffecfa5dc51ehttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/8d75779d-e9df-457b-a4f8-ffecfa5dc51eGHI Teamhttp://social.msdn.microsoft.com/Profile/en-US/?user=GHI%20TeamUsing .NET Micro FrmeworkIsn't it much easier (cheaper) to use .NET Micro Framework to create sensors? I am assuming you can create a sensor in couple hours and few lines of code.&nbsp; <div>.NET Micro Framework supports custom USB device.</div> <div><br /></div> <div>We are a Microsoft partner on .NET Micro Famewokr. We would love to work with anyone willing to use .NET Micro Framework with this new sensor technology.</div> <div>Our USBizi chipset that runs NETMF is a perfect fit for such device.</div> <div><br /></div> <div>GHI Team</div> <div>www.ghielectronics.com</div> <div><br /></div> <div><br /></div>Thu, 08 Oct 2009 03:26:12 Z2009-10-08T03:26:13Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/7449f0a6-8d65-48e5-af56-36a134a73d8dhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/7449f0a6-8d65-48e5-af56-36a134a73d8djebensonhttp://social.msdn.microsoft.com/Profile/en-US/?user=jebensonDifferent name in Device Manager and Control PanelI am looking to have one name for my location sensor that is displayed in the device manager and a different name that is displayed in the Location and Other Sensors Control Panel.&nbsp; <br /><br />Currently the device description from my INF file is used in both locations.&nbsp; I have tried setting several of the sensor properies (ie.&nbsp; SENSOR_PROPERTY_FRIENDLY_NAME , SENSOR_PROPERTY_DESCRIPTION, etc.) but that is not making a difference.&nbsp; Perhaps it would be helpful to learn which API call is used to determine which name to display in the Control Panel.<br /><br />Thanks! <hr class="sig" /> jessicaTue, 06 Oct 2009 22:11:48 Z2009-10-29T20:47:08Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/c4538e10-aa6c-4b83-b857-c3c39d2b43b0http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/c4538e10-aa6c-4b83-b857-c3c39d2b43b0Chris_H-Kionixhttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris_H-KionixSMBus Client/Sensor Class DriverHello all,<br/> <br/> I've been creating custom i2c Linux drivers for our accelerometers and now I'm struggling to make the transition to Windows driver development.  I've read a lot of documentation on Sensor and Location drivers, SMBus client drivers, and the Windows DDK, but I just don't see how everything is supposed to come together.  I'm using the most current release candidate of Windows 7, and I recently received a development kit along with Windows Embedded 2011 Standard pre-release and I should be able to physically add the accelerometer to the hardware platform.  I just have a few newbie questions for you more experienced Windows developers if I may:<br/> <br/> - I've looked at the code for the sample sensor drivers, but they don't seem to include much about the physical communication method.  Is there an example I can look at which uses SMBus in particular to communicate with the sensor device?<br/> <br/> - Is there a way to use Visual Studio or another IDE to make sense of all the various pieces of driver code?  (The sample source is rather disjointed; I'm used to seeing one source file and one header file for a driver...)<br/> <br/> - Browsing the MSDN literature seems to be a great way to pick up information, but at times it seems like too much.  Is there a recommended starter guide in publication that might help me get started with writing this SMBus Client/Sensor Class Driver?<br/> <br/> Any information would be greatly appreciated!<br/> <br/> Thank you,<br/> Chris H.<br/> Kionix, Inc.Tue, 29 Sep 2009 15:59:53 Z2009-09-30T15:52:23Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/eba72c49-086a-4604-ad7d-b267e8f338e0http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/eba72c49-086a-4604-ad7d-b267e8f338e0Aggelos Mpimpoudishttp://social.msdn.microsoft.com/Profile/en-US/?user=Aggelos%20MpimpoudisList of supported sensor boardsIt could be very useful to construct a list with Windows 7 compatible sensor boards. <br/> <br/> The only one I have found till now is the following. If you have spotted any other it would be great if you post it here.<br/> <br/> <a href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=JMBADGE2008-B">JMBADGE2008-B</a> <br/> <a href="http://www.u-blox.com/en/usb-drivers/windows-7-driver.html">u-blox GPS chips</a> <br/> <hr class=sig> Microsoft Student Partner, Microsoft HellasFri, 28 Aug 2009 14:15:43 Z2009-10-05T15:47:21Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d15bc1d4-172b-47dd-9a80-61eea712fd3fhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d15bc1d4-172b-47dd-9a80-61eea712fd3fArjun.TGMhttp://social.msdn.microsoft.com/Profile/en-US/?user=Arjun.TGMTo retrieve NMEA Sentences from NMEA COM PORT And Get the Latitude and LongitudeHello All!!!!!!!<br/> <br/> According to QCWWAN Connection Manager API for Gobi 2000, we have implemented Position Determination Service(PDS) functions and call back functions.<br/> To find out the GPS location data, Application will detect NMEA COM Port and then retrieve NMEA Senstences through NMEA COM Port.<br/> Then Application parses the  NMEA Strings into meaningful data ie the current latitude and longitude of the GPS hardware. <br/> <br/> <br/> We need one sample application how they are retrieving NMEA sentences through NMEA COM port.<br/> <br/> Thanking  You all in Advance <br/> <br/> Best <br/> arjun.tgmWed, 15 Jul 2009 13:30:18 Z2009-09-28T20:01:04Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/f5f97990-9ee6-4049-bd8f-ce96ac2bc163http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/f5f97990-9ee6-4049-bd8f-ce96ac2bc163John Tarboxhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20TarboxAny supported GPS units yet?Are there any GPS units that work with the sensor and location platform? If not yet, do you know if anyone has announced plans for support on or before release of Windows 7?<br/><br/>As an aside, it would be great if Microsoft provided a driver for the Microsoft GPS sensor that ships with Streets and Trips.Fri, 22 May 2009 02:43:15 Z2009-10-29T20:45:44Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/61460394-d26d-4c94-a59a-446e7423e9ddhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/61460394-d26d-4c94-a59a-446e7423e9ddBaranidharan K Mhttp://social.msdn.microsoft.com/Profile/en-US/?user=Baranidharan%20K%20MReset Location Setting in Windows 7Hi, <div><span style="background-color:#ffffff"><br/></span></div> <div>I have enabled location sensor from my Windows 7 application using RequestPermissions API. Windows opened up the location control panel asking the user permission to enable sensor. </div> <div><br/></div> <div>And once enabled, is there a way to reset the permissions. </div> <div><br/></div> <div>barani.</div> <div><br/></div>Mon, 21 Sep 2009 05:34:26 Z2009-09-23T06:33:04Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d4312b01-5732-4bed-b175-f85a34069217http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d4312b01-5732-4bed-b175-f85a34069217Puelingshttp://social.msdn.microsoft.com/Profile/en-US/?user=PuelingsSensor driver in .NET.<p>Hi,<br/> Looking at the 'TimeSensor' C++ sample, which comes with the Windows7 DDK, I was wondering if it would be possible to write a logical software based sensor driver in .NET since the SensorExtensionClass  and all other datamodels to interact are COM based.<br/> I have been looking for a dll or tlb in order to try this but I can't find it in the DDK. <br/>Love to hear your feedback and suggestions.</p> <p>Regards.</p> <p>Yves</p>Mon, 14 Sep 2009 11:15:42 Z2009-09-22T16:04:41Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d42dc4fb-3372-4470-8157-df06c88f784bhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/d42dc4fb-3372-4470-8157-df06c88f784bsaeidXhttp://social.msdn.microsoft.com/Profile/en-US/?user=saeidXHow do i get back the barcode vlaue from the SENSOR_TYPE_BARCODE_SCANNER ?In the SENSOR_CATEGORY_SCANNER we have two type of sensors<br/> SENSOR_TYPE_BARCODE_SCANNER <br/> SENSOR_TYPE_RFID_SCANNER <br/> <br/> but i only see one data field name PropertyKey<br/> SENSOR_DATA_TYPE_RFID_TAG_40_BIT   40-bit radio frequency ID tag value. That provides me with the value that is read by the RFID device. But i do not see any data field or propertykey that can provide me the barcode value that is read by the sensor type barcode<br/>Wed, 26 Aug 2009 21:27:15 Z2009-09-04T20:55:42Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/90d29828-ac51-4615-9eda-de51fe3bb988http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/90d29828-ac51-4615-9eda-de51fe3bb988Rallminghttp://social.msdn.microsoft.com/Profile/en-US/?user=RallmingUSB interfaceI have a device connecting to my computer through USB. The heart of the device is a PIC chip, and it sensors temperature from a oven and sends the value back to PC. I can display the temperature data on the hyperterminal of my computer, but can't catch it. Is there anyway I can build a VB project to record the temerature data? Thank you for your reading.Mon, 06 Jul 2009 00:22:57 Z2009-08-10T17:15:00Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2ed692b3-58f7-4646-9e3f-7dd251f4ab23http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2ed692b3-58f7-4646-9e3f-7dd251f4ab23David_Somhttp://social.msdn.microsoft.com/Profile/en-US/?user=David_SomBasic WiFI Triangulation supportI would like to use the Location platform with basic wifi trianulation provider. (i.e. see what wifi endpoints are visiable (MAC addreses) - get their relative strength and location from a service to compute an approximate location) Even being able to identify the list of wifi endpoints would get me started (Then being able to identify if I was at work or at home). Is thier such a thing? Would I need to write the appropriate driver if I want to experiment?Mon, 06 Jul 2009 15:32:48 Z2009-10-29T20:44:54Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/b3281b14-102e-490d-bd4a-2d0c5acd30b3http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/b3281b14-102e-490d-bd4a-2d0c5acd30b3HannesPreishuberhttp://social.msdn.microsoft.com/Profile/en-US/?user=HannesPreishuberlight sensor of Freescale JM Badge boardevery sample (even the sensordevkitdiagnosticapp) shows the light sensor with 2 lux. No change no nothing. When i plug in the board in my windows 7 tablet, backlight goes down  to minimum.<br/>Is my board sensor broken?Sun, 21 Jun 2009 11:55:43 Z2009-06-23T15:01:15Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/adb69b89-c58a-46d7-8afe-e79c211a542ehttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/adb69b89-c58a-46d7-8afe-e79c211a542esankar....http://social.msdn.microsoft.com/Profile/en-US/?user=sankar....How sensor application can choose between different types supported for a same category?Hi All,<br/> <br/> I have some questions for the GPS application. <br/> <br/> We have a GPS device (SENSOR_CATEGORY_LOCATION).<br/> <br/> The device supports stand alone(SENSOR_TYPE_LOCATION_GPS) as well as AGPS(SENSOR_TYPE_LOCATION_LOOKUP).<br/> <br/> My question is how the Apllication can set which type to be used(GPS or LOOKUP) for getting the location.<br/> <br/> If Application sets LOOKUP method to get the location parameters, we require many settings to be done (such as establishing a data connection, setting URL of the carrier). Who (Application or Driver) will be responsible for these settings?<br/> <br/> I am developing a sensor driver for our device, I am not sure whether i can post sensor driver development related queries on this forum.  Please suggest.<br/> <br/>Fri, 12 Jun 2009 06:09:15 Z2009-09-12T12:35:08Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/332e1ec5-550d-4e5e-b92a-c5eb93099d44http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/332e1ec5-550d-4e5e-b92a-c5eb93099d440xC0000008http://social.msdn.microsoft.com/Profile/en-US/?user=0xC0000008UMDF Driver for Ambient Light SensorI want to develop and UMDF driver for an ambient light sensor device that exposes a I2C (SMBus) interface. I understand that the SMBus interface is only exposed to kernel mode drivers. How do I access this interface from a UMDF driver ? <br/><br/>Thanks in advance.Wed, 10 Jun 2009 01:47:16 Z2009-06-22T20:59:21Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2200efee-bd49-4d89-bb5a-94f824b57c50http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/2200efee-bd49-4d89-bb5a-94f824b57c50John Tarboxhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20TarboxAccessViolationException in PropVariant.cs (Sensor Diagnostic Tool)When I build and run in debug mode the SensorDiagnostic Tool I get a AccessViolationException in PropVariant.cs on line 260.<br/><br/><span style="font-size:x-small"><span style="font-size:x-small"> <p> </p> </span></span> <p>        private unsafe T[] GetVectorData&lt;T&gt;() where T : struct<br/>        {<br/>            if (uiVal == 0 || this.vectorPtr == IntPtr.Zero)<br/>                return new T[0];</p> <p>            T[] data = new T[uiVal];<br/>            uint tSize = (uint) Marshal.SizeOf(typeof(T));<br/>            <br/>            GCHandle pinningGCH = GCHandle.Alloc(data, GCHandleType.Pinned);<br/>            try<br/>            {<br/>                IntPtr dst = pinningGCH.AddrOfPinnedObject();<br/>                RtlMoveMemory(dst, this.vectorPtr, uiVal * tSize);       &lt;= Error occurs here<br/>            }<br/>            finally<br/>            {<br/>                pinningGCH.Free();<br/>            }<br/>            <br/>            return data;<br/>        }<br/><span style="font-size:x-small"><br/>=============================================================================<br/>Here are the autos:<br/><br/>+  dst 39919664 System.IntPtr<br/>+  pinningGCH {System.Runtime.InteropServices.GCHandle} System.Runtime.InteropServices.GCHandle<br/>  tSize 1 uint<br/>+  this {Windows7.Sensors.Internal.PROPVARIANT} Windows7.Sensors.Internal.PROPVARIANT<br/>+  this.vectorPtr 2000930086731120640 System.IntPtr<br/>  uiVal 40 ushort<br/>===============================================================================<br/>Additional information: This only occurs for the ambient light sensor. I have the Windows 7 sensor development kit and if I modify the code to exclude this sensor everything runs juist fine. I am running VS 2008 on Windows 7 with all service packs.</span></p>Thu, 21 May 2009 18:31:21 Z2009-06-13T17:06:18Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/efbc1c3e-a682-44f1-9f08-201e1bfea55fhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/efbc1c3e-a682-44f1-9f08-201e1bfea55fDaniel Kornev [MSFT]http://social.msdn.microsoft.com/Profile/en-US/?user=Daniel%20Kornev%20%5bMSFT%5dSample Location-Aware WPF ApplicationHi there, played with Windows Location Platform and decided to showcase how easy it is to use Location APIs in your WPF application.<br>Thanks to excellent Mike Taulty's WPF Virtual Earth control, I was able to develop this in few hours.<br><br>Look for results here: <a href="http://blogs.msdn.com/semantics/archive/2008/11/04/sample-location-aware-wpf-application.aspx">http://blogs.msdn.com/semantics/archive/2008/11/04/sample-location-aware-wpf-application.aspx</a><br> <br><img alt="" src="http://blogs.msdn.com/blogfiles/semantics/WindowsLiveWriter/SampleLocationAwareWPFApplication_32BE/image_thumb_4.png"><br><br>Have questions? Ask through my <a href="http://blogs.msdn.com/semantics/contact.aspx">blog &quot;About&quot; page</a> or here. <hr align=left width="25%" size=1> MSDN Online Program Manager, Server &amp; Tools Online Team, Microsoft CorporationTue, 04 Nov 2008 19:03:48 Z2009-06-11T14:09:29Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/edd0c260-2dcb-4225-904c-42f355a6e43ehttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/edd0c260-2dcb-4225-904c-42f355a6e43eJohn Tarboxhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20TarboxWhat conceptually is a sensor?I realise that the sensor and location platform team did not start with a blank slate so perhaps there is a lot of legacy baggage in Windows 7. For example the mouse predates Windows itself.<br/><br/>Given that a lot of this older hardware is already supported in Windows through other APIs, and thus may never be part of the sensor and location platform, what is the criteria used when considering a new piece of hardware to determine if it is a sensor or something else?<br/><br/>To help you understand the reason for my question, perhaps it is helpful to share the basis for my confusion. A mouse is a &quot;human interface device&quot; in Windows and thus not a sensor. AN XBox controller is supported in Windows, but is not a sensor. An <strong>accelerometer</strong> that you hold in your hands and use to play an XBox game is a sensor. If an XBox controller is not a sensor then why is the accelerometer not a human interface device?<br/><br/>Is it simply a matter of historical accident that some of these things are classified as human interface devices rather than sensors?<br/><br/>Further there are perhaps unexpected consiquences to what is and what is not a sensor. Ambient light is handled by the sensor and location APIs while the laptop battery status is not. If one is trying to do &quot;green&quot; software design with power efficent (thus power aware) applications, one does not want to be adjusting the screen display to consume more power (i.e. bright sunlight mode) at a time when the battery is low on power.Mon, 01 Jun 2009 16:34:03 Z2009-09-22T16:06:16Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/907f9469-f6bd-40c0-a636-5423a23cb83bhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/907f9469-f6bd-40c0-a636-5423a23cb83bmarc65http://social.msdn.microsoft.com/Profile/en-US/?user=marc65SensorKitDriverInstaller.exe missing <span class=Apple-style-span style="word-spacing:0px;font:13px arial;text-transform:none;color:rgb(51,51,51);white-space:normal;letter-spacing:normal;border-collapse:collapse"> <div>I was an attendee at PDC2008. I got the Windows 7 Sensor Development Kit but the Sensor Development Kit DVD was missing. Is it possible to get the drivers (SensorKitDriverInstaller.exe) or the content of the DVD?</div> <div><br></div> <div>Tanks in advance</div> <div>Marcello</div></span><hr class="sig">DeveloperFri, 06 Feb 2009 08:45:59 Z2009-06-02T14:47:29Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/44b55065-6b20-4a63-8fe1-46c7269cb75chttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/44b55065-6b20-4a63-8fe1-46c7269cb75cJohn Tarboxhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20TarboxCan't add a reference to Windows7.SensorAndLocation.dll from Silverlight projectIn Visual Studio 2008 when I attempt to add a reference to Windows7.SensorAndLocation.dll from my Silverlight project I get a popup that states:<br/><br/>&quot;You can't add a reference to Windows7.SensorAndLocation.dll as it was not built against the Silverlight runtime. Silverlight projects will only work with Silverlight assemblies.&quot;<br/><br/>I must be doing something wrong, any ideas?Wed, 20 May 2009 17:37:37 Z2009-06-02T14:53:50Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/40365655-8d50-425e-8835-c366928f45bfhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/40365655-8d50-425e-8835-c366928f45bfJohn Tarboxhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20TarboxLaptop Battery<p>Will the state of charge for the laptop battery be a standard sensor in Windows 7?</p>Fri, 15 May 2009 20:26:07 Z2009-06-02T14:53:25Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/fb086975-b99c-41cb-b29a-07a897d10efdhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/fb086975-b99c-41cb-b29a-07a897d10efdoogoohttp://social.msdn.microsoft.com/Profile/en-US/?user=oogooWindows 7 RC 32-bit MD5?Today I have downloaded the win7 RC 32bit edition ,But did not know that its MD5 verification code is how many  ,Hoped that person of good intention may provide to me! think you very mach!!!Tue, 05 May 2009 16:51:04 Z2009-06-13T17:10:34Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/7678e41a-0bce-487f-a596-4003a5147864http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/7678e41a-0bce-487f-a596-4003a5147864John Tarboxhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20TarboxAccess to Sensor and Location .NET Interop Library from Silverlight?Will it be possible for a Silverlight application running on a client to access the ambient light sensor data using the .net interop library?<br/><br/>More generally, sincle Silverlight applications do not run with full trust, what access rights are required for which sensors?Fri, 15 May 2009 20:35:31 Z2009-05-17T06:04:31Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/477a9dc5-77ae-4f61-b229-6ae6833a7272http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/477a9dc5-77ae-4f61-b229-6ae6833a7272Patrick Galluccihttp://social.msdn.microsoft.com/Profile/en-US/?user=Patrick%20GallucciSensor Dev KitHow do I get the Sensor Dev Kit?<br><br> --plg<hr class="sig">--plgWed, 25 Feb 2009 05:07:05 Z2009-04-30T18:38:39Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/0c5e4d39-d14b-474b-a79b-81e3eb526546http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/0c5e4d39-d14b-474b-a79b-81e3eb526546sCiphrehttp://social.msdn.microsoft.com/Profile/en-US/?user=sCiphreWindows XP supportHello,<br><br>Is there any way to get the Sensor Development Kit (Freescale JM Badge Board Rev D) to also work on Windows XP ?<br><br>Thanks.<br> Fri, 13 Feb 2009 09:25:47 Z2009-04-30T18:01:13Zhttp://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/6c4bf69b-6031-41b4-8c8c-9cd2101a0161http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/thread/6c4bf69b-6031-41b4-8c8c-9cd2101a0161AnsonChiuhttp://social.msdn.microsoft.com/Profile/en-US/?user=AnsonChiuWindows Sensor and Location Platform Sir,<br><br>1. <br>If the BIOS supported the ACPI 3.0b and implement the interface of ambient light sensor in it, the Windows 7's in box driver (ACPI ALS driver) would be loaded and the Windows 7 would have <span style="font-family:Calibri;font-size:11pt">adaptive brightness control ability.<br></span><br>Is it right ?<br><br>2.<br>If I use a usb interface ambient light sensor(like the Windows 7 Sensor Development Kit - JM Badge Board), and have the UMDF sensor driver for it. <br><br>Does the Windows 7 would have adaptive brightness control ability as Question 1?<br><br>=======================================================================<br>I have the JM adge Board and it work on the MSDN Reader AP.<br>But it just can work on it.<br>How to let it work on all the system? (ex, LCD Monitor brightness Adaptive Control ...) ?<br><br><br>Best Regards,<br>Anson<br><br>Thu, 05 Feb 2009 09:55:00 Z2009-04-30T18:00:48Z