State Transition in Location Drivers : Best practices

This post will be talking about best practices for handling state to get the best behaviors from the Location API. Before reviewing our best practice guidance we recommend you read up on “Writing a Location Sensor Driver”. With information above in mind, let’s now talk about best practices for handling state transition in a location…


Developing Your First Sensor Driver – Part 2

In the last blog post we investigated the fundamental characteristics of a sensor driver (properties and data fields) and how the Sensor Class Extension interacts with them. Here we will expand the basic driver template to include raising events and managing clients. A client is an application that has requested a connection to the driver…


Developing Your First Sensor Driver – Part 1

The Windows Driver Kit (WDK) is a great place to get started when writing your first sensor driver. In this post we will take a look at the Sensor Driver Skeleton Sample, which provides a basic sensor driver template. A future post will investigate the Time Sensor Sample to learn about incorporating events. If you…


Overview of Adaptive Brightness in Windows 7

So you just got yourself a new laptop. Congratulations! Did you notice that it has an Ambient Light Sensor (ALS)? With Windows 7, we’re seeing more and more laptops coming to market with built in ALS. How does Windows 7 take advantage of this sensor? How can you tap into it? How do I see…


The Sensor and Location Drill Down – Part 3: The Location API

Over the last few weeks we have been providing an introduction to the Sensor and Location Platform by examining each component in the platform in greater detail. We started first with an overview of the Sensor and Location Platform. This was followed up with a drill down in the Sensor DDI or Device Driver Interface….


The Sensor and Location Drill Down - Part 2: The Sensor API

We continue our overview of the Sensor and Location Platform this time focusing on the Sensor API. The Sensor API is made up of several COM Interfaces but where to start and how does it all fit together? Today we’ll answer that question. The Sensor API is used by applications that want to access sensors….


The Sensor and Location Platform Drill Down – Part 1 : The Sensor DDI

Welcome back and Happy New Year! As we resume our blog in the new year, we begin by doing a series of what we call drill-down posts, where we look at a particular part of the Sensor & Location Platform and do a deep dive into its various components and piece through its technical aspects….


Sensor & Location Platform – The 50,000-Foot View

The Sensor & Location platform for Windows 7 is essentially a set of COM APIs designed to interact with a variety of sensor devices in a standard manner. Rather than explain it in words, here is a neat picture that shows the 50,000-Foot view of the platform components: As you can see, there are two…


Welcome to the Sensor & Location Platform Team Blog

Welcome to the Sensor and Location Platform Team Blog. We’re the ones who brought this new platform to Windows 7. Our goal in this blog is to add another dimension to the wealth of information that is already out there regarding the platform.  What is the Sensor and Location Platform? The Sensor and Location platform in…