Sensor Static Properties Test

This automated test determines whether the target sensor device supports the retrieval of the following read-only sensor properties (see More information).

Test details

Associated requirements

Device.Input.Sensor.ALS.SupportRequiredData Device.Input.Sensor.Base.GNSSTestProperties Device.Input.Sensor.Base.SupportDataTypesAndProperties Device.Input.Sensor.Presence.SensorDataType

See the device hardware requirements.

Platforms

Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86

Expected run time

~2 minutes

Categories

Basic Certification

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Sensor Device Testing Prerequisites.

If this test is being run against a GPS sensor device node, make sure that you are running the test in an environment in which you can receive a GPS signal.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Input Testing.

More information

Property Data type

WPD_FUNCTIONAL_OBJECT_CATEGORY

VT_CLSID

SENSOR_PROPERTY_TYPE

VT_CLSID

SENSOR_PROPERTY_STATE

VT_UI4

SENSOR_PROPERTY_PERSISTENT_UNIQUE_ID

VT_CLSID

SENSOR_PROPERTY_MANUFACTURER

VT_LPWSTR

SENSOR_PROPERTY_MODEL

VT_LPWSTR

SENSOR_PROPERTY_SERIAL_NUMBER

VT_LPWSTR

SENSOR_PROPERTY_FRIENDLY_NAME

VT_LPWSTR

SENSOR_PROPERTY_MIN_REPORT_INTERVAL

VT_UI4

SENSOR_PROPERTY_CONNECTION_TYPE

VT_UI4

 

GPS devices shall be able to report true heading degrees with +-20% accuracy.

GPS shall support the following data fields:

Property Data type

SENSOR_DATA_TYPE_LATITUDE_DEGREES

VT_R8

SENSOR_DATA_TYPE_LONGITUDE_DEGREES

VT_R8

SENSOR_DATA_TYPE_ERROR_RADIUS_METERS

VT_R8

SENSOR_DATA_TYPE_SATELLITES_USED_COUNT

VT_I4

SENSOR_DATA_TYPE_ALTITUDE_ELLIPSOID_METERS

VT_R8

SENSOR_DATA_TYPE_ALITITUDE_ELLIPSOID_ERROR_METERS

VT_R8

SENSOR_DATA_TYPE_SPEED_KNOTS

VT_R8

SENSOR_DATA_TYPE_TRUE_HEADING_DEGREES

VT_R8

SENSOR_DATA_TYPE_NMEA_SENTENCE

VT_LPWSTR

SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_STN_RATIO

VT_VECTOR | VT_UI1

 

Location can support the following data fields. If they are supported, they must be implemented according to the guidelines in MSDN.

Property Data type

SENSOR_DATA_TYPE_ALTITUDE_SEALEVEL_METERS

VT_R8

SENSOR_DATA_TYPE_MAGNETIC_HEADING_DEGREES

VT_R8

SENSOR_DATA_TYPE_MAGNETIC_VARIATION

VT_R8

SENSOR_DATA_TYPE_FIX_QUALITY

VT_I4

SENSOR_DATA_TYPE_FIX_TYPE

VT_I4

SENSOR_DATA_TYPE_POSITION_DILUTION_OF_PRECISION

VT_R8

SENSOR_DATA_TYPE_HORIZONAL_DILUTION_OF_PRECISION

VT_R8

SENSOR_DATA_TYPE_VERTICAL_DILUTION_OF_PRECISION

VT_R8

SENSOR_DATA_TYPE_SATELLITES_USED_PRNS

VT_VECTOR | VT_UI1

SENSOR_DATA_TYPE_SATELLITES_IN_VIEW

VT_I4

SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_PRNS

VT_VECTOR | VT_UI1

SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_ELEVATION

VT_VECTOR | VT_UI1

SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_AZIMUTH

VT_VECTOR | VT_UI1

SENSOR_DATA_TYPE_ADDRESS1

VT_LPWSTR

SENSOR_DATA_TYPE_ADDRESS2

VT_LPWSTR

SENSOR_DATA_TYPE_CITY

VT_LPWSTR

SENSOR_DATA_TYPE_STATE_PROVINCE

VT_LPWSTR

SENSOR_DATA_TYPE_POSTALCODE

VT_LPWSTR

SENSOR_DATA_TYPE_ALTITUDE_SEALEVEL_ERROR_METERS

VT_R8

SENSOR_DATA_TYPE_GPS_SELECTION_MODE

VT_I4

SENSOR_DATA_TYPE_GPS_OPERATION_MODE

VT_I4

SENSOR_DATA_TYPE_GPS_STATUS

VT_I4

SENSOR_DATA_TYPE_GEOIDAL_SEPARATION

VT_R8

SENSOR_DATA_TYPE_DGPS_DATA_AGE

VT_R8

SENSOR_DATA_TYPE_ALTITUDE_ANTENNA_SEALEVEL_METERS

VT_R8

SENSOR_DATA_TYPE_DIFFERENTIAL_REFERENCE_STATION_ID

VT_I4

SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_ID

VT_VECTOR | VT_UI1

 

 

 

Send comments about this topic to Microsoft