1 / 22

Sensor and Location Platform: Windows Logo Testing for Drivers

Sensor and Location Platform: Windows Logo Testing for Drivers. Jason Scott Software Development Engineer in Test PC|3 jascott@microsoft.com. Presentation Goals. Introduce the Sensor and Location Platform, a new platform for Windows 7 Define Windows Logo Program requirements

oberon
Download Presentation

Sensor and Location Platform: Windows Logo Testing for Drivers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sensor and Location Platform:Windows Logo Testing for Drivers Jason Scott Software Development Engineer in Test PC|3 jascott@microsoft.com

  2. Presentation Goals • Introduce the Sensor and Location Platform, a new platform for Windows 7 • Define Windows Logo Program requirements • Equip you with the knowledge to troubleshoot Logo test failures

  3. Overview of the Sensor and Location Platform • Sensors: • Measure phenomena, such as physical environments, actions, or states • Examples: GPS device, accelerometer, ambient light sensor • The Sensor and Location Platform contains two new APIs: • Sensor API • Location API

  4. Sensor and Location Platform Application Location API Application Sensor API Application CPL - Location and Other Sensors UMDF Sensor Driver Sensor Class Extension Sensor Hardware

  5. The Sensor API • Offers a standard mechanism for discovering, connecting, and accessing sensor class devices • Provides an opt-in model for sensor permissions • Sensors are provided with a mechanism for eventing • All sensor devices are represented the same

  6. The Location API • Built on the Sensor platform • Hides complexity of device and location source management from applications • Provides customized reports specific to each location device • Latitude and Longitude Report (ILatLongReport) • Civic Address Report (ICivicAddressReport) • Provides script support

  7. Platform Driver Support A high-level view of the sensor driver stack

  8. Common Sensor Terms

  9. Sensor and Location Logo Requirements The logo requirements promote interoperability and ensure functionality with a sensor.

  10. Required Properties Are Supported

  11. Required Static Properties Don’t Change

  12. Two Properties Must Be Settable

  13. Sensor Reports Data

  14. Sensor Reports Missing Properties

  15. Location Reports from the Location API • Location reports are a packaged set of sensor data fields: • Devices in Category SENSOR_CATEGORY_LOCATION must support one or both location reports: • ILatLongReport and / or ICivicAddressReport

  16. Data Field Support for Location Reports

  17. Data Field Support for Ambient Light Sensors • Requirement specific to Ambient Light Sensor • Sensor must report data field: SENSOR_DATA_TYPE_LIGHT_LEVEL_LUX

  18. Testing Sensor and Location Logo Requirements An overview of the requirement testing methodology

  19. Demo! • Standalone test • Required inputs: • Device Instance ID • Test • Yellow items are warnings • Red items are errors = failure

  20. Questions?

  21. Links and Resources • Contact Us: • SensExt@Microsoft.com • LocExt@Microsoft.com • Sensors.h in SDK and WDK • Documentation on MSDN • PROPERTYKEY Structurehttp://msdn.microsoft.com/en-us/library/bb773381.aspx • PROPVARIANT Structurehttp://msdn.microsoft.com/en-us/library/aa380072.aspx • IPortableDeviceValues Interfacehttp://msdn.microsoft.com/en-us/library/ms740012(VS.85).aspx

More Related