共用方式為


Sensor Settable Properties Verification Test

This automated test determines whether the target sensor device supports the setting of the read-write sensor properties that are described in More information, in this topic.

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

Read-write sensor properties:

Property Data type

SENSOR_PROPERTY_CURRENT_REPORT_INTERVAL

VT_UI4

SENSOR_PROPERTY_CHANGE_SENSITIVITY

VT_UNKNOWN

SENSOR_PROPERTY_ CLEAR_ASSISTANCE_DATA

(PID = 2)

VT_UI4

Write. The assistance data to be cleared. Setting a value of GNSS_CLEAR_ALL_ASSISTANCE_DATA signals the driver to clear all assistance data, including time, almanac, ephemeris and last position.

WHCK tests can set this value to clear the assistance data before a cold start test, AGPS tests or independently before running simulator tests where time and location is simulated. If A-GPS capabilities e.g. SUPL, LTO is supported, driver can try to utilize them after this operation by using the network connection. However, it should be in a state where no assistance data is saved in the device or on the system. Any assistance data elements shall be downloaded again.

SENSOR_PROPERTY_TURN_ON_OFF_NMEA

(PID = 3)

VT_UI4

Read/Write. If set to TRUE, NMEA sentence shall be included in data reports. If set to False, NMEA sentence shall not be included in data reports.

WHCK tests can use this property to instruct the device to start sending NMEA data or stop including it in data reports.

 

 

 

Send comments about this topic to Microsoft