none
HID Sensor Collection cann't work proerty in Win10,but win8.1 is ok RRS feed

  • Question

  • Hi, we developed a demo board according to the MS's hid-sensors-usages protocol, the board can work normally in the win8.1, when the board plung in the PC, the device manager will find there is a "HID Sensor collection", using the SensorDiagnosticTools can watch the realtime accelerometer sensor's data. but when i plung in the win10 PC, also the device can be found as HID Sensor Collection, but when using the sensordiagnosticTools watch the data, there is "No Data" error, any ideal ?



    Tuesday, January 19, 2016 6:53 AM

All replies

  • this is the detail:
    
    <?xml version="1.0" encoding="UTF-8"?>
    
    -<SensorDiagnosticTool version="0.1">
    
    
    -<SensorData>
    
    
    -<SensorProperties>
    
    <SensorProperty value="436E4F9E-7CE4-4CD4-B3C6-EED088318397-0" name="WPD_OBJECT_ID"/>
    
    <SensorProperty value="436E4F9E-7CE4-4CD4-B3C6-EED088318397-0" name="WPD_OBJECT_PERSISTENT_UNIQUE_ID"/>
    
    <SensorProperty value="DEVICE" name="WPD_OBJECT_PARENT_ID"/>
    
    <SensorProperty value="Simulated Geolocation" name="WPD_OBJECT_NAME"/>
    
    <SensorProperty value="UNSPECIFIED" name="WPD_OBJECT_FORMAT"/>
    
    <SensorProperty value="FUNCTIONAL OBJECT" name="WPD_OBJECT_CONTENT_TYPE"/>
    
    <SensorProperty value="False" name="WPD_OBJECT_CAN_DELETE"/>
    
    <SensorProperty value="SENSOR_TYPE_LOCATION_OTHER" name="SENSOR_PROPERTY_TYPE"/>
    
    <SensorProperty value="No Data" name="SENSOR_PROPERTY_STATE"/>
    
    <SensorProperty value="250" name="SENSOR_PROPERTY_MIN_REPORT_INTERVAL"/>
    
    <SensorProperty value="250" name="SENSOR_PROPERTY_CURRENT_REPORT_INTERVAL"/>
    
    <SensorProperty value="aae60552-8a1b-4b36-8fd2-3f7bc237b713" name="SENSOR_PROPERTY_PERSISTENT_UNIQUE_ID"/>
    
    <SensorProperty value="Microsoft Corporation" name="SENSOR_PROPERTY_MANUFACTURER"/>
    
    <SensorProperty value="Microsoft Visual Studio Location Simulator Sensor" name="SENSOR_PROPERTY_MODEL"/>
    
    <SensorProperty value="436E4F9E-7CE4-4CD4-B3C6-EED088318397" name="SENSOR_PROPERTY_SERIAL_NUMBER"/>
    
    <SensorProperty value="Microsoft Visual Studio Location Simulator Sensor" name="SENSOR_PROPERTY_FRIENDLY_NAME"/>
    
    <SensorProperty value="Simulated Geolocation Sensor" name="SENSOR_PROPERTY_DESCRIPTION"/>
    
    <SensorProperty value="PC INTEGRATED" name="SENSOR_PROPERTY_CONNECTION_TYPE"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_CHANGE_SENSITIVITY"/>
    
    <SensorProperty value="0" name="SENSOR_PROPERTY_LOCATION_DESIRED_ACCURACY"/>
    
    <SensorProperty value="SENSOR_CATEGORY_LOCATION" name="SENSOR_PROPERTY_CATEGORY"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_RANGE_MAXIMUM"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_RANGE_MINIMUM"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_ACCURACY"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_RESOLUTION"/>
    
    <SensorProperty value="\\?\ROOT#WPD#0000#{c317c286-c468-4288-9975-d4c4587c442c}\{aae60552-8a1b-4b36-8fd2-3f7bc237b713}" name="SENSOR_PROPERTY_DEVICE_ID"/>
    
    </SensorProperties>
    
    
    -<SensorDataFields>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_TIMESTAMP"/>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_LATITUDE_DEGREES"/>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_LONGITUDE_DEGREES"/>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_ERROR_RADIUS_METERS"/>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_ALTITUDE_ELLIPSOID_METERS"/>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_ALTITUDE_ELLIPSOID_ERROR_METERS"/>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_SPEED_KNOTS"/>
    
    <SensorDataField value="-2147024846" name="SENSOR_DATA_TYPE_TRUE_HEADING_DEGREES"/>
    
    </SensorDataFields>
    
    
    -<SensorEvents>
    
    <SensorEvent data="2016-01-04T03:39:16.9599225-08:00 Enter event for sensor HID Sensor Class Device: Accelerometer"/>
    
    <SensorEvent data="2016-01-04T03:38:56.1947489-08:00 State Changed event to state NoData"/>
    
    </SensorEvents>
    
    
    -<SensorDataCollection>
    
    
    -<DataReport>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_TIMESTAMP"/>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_LATITUDE_DEGREES"/>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_LONGITUDE_DEGREES"/>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_ERROR_RADIUS_METERS"/>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_ALTITUDE_ELLIPSOID_METERS"/>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_ALTITUDE_ELLIPSOID_ERROR_METERS"/>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_SPEED_KNOTS"/>
    
    <Field value="-2147024846" name="SENSOR_DATA_TYPE_TRUE_HEADING_DEGREES"/>
    
    </DataReport>
    
    </SensorDataCollection>
    
    </SensorData>
    
    
    -<SensorData>
    
    
    -<SensorProperties>
    
    <SensorProperty value="SENSOR_TYPE_ACCELEROMETER_3D" name="SENSOR_PROPERTY_TYPE"/>
    
    <SensorProperty value="\\?\HID#VID_0001&PID_0020#7&1f0560dd&1&0000#{c317c286-c468-4288-9975-d4c4587c442c}\{E4D35C78-650E-426F-8AE4-19FF978ABE61}" name="SENSOR_PROPERTY_DEVICE_ID"/>
    
    <SensorProperty value="SENSOR_CATEGORY_MOTION" name="SENSOR_PROPERTY_CATEGORY"/>
    
    <SensorProperty value="e4d35c78-650e-426f-8ae4-19ff978abe61" name="SENSOR_PROPERTY_PERSISTENT_UNIQUE_ID"/>
    
    <SensorProperty value="MEMSIC " name="SENSOR_PROPERTY_MANUFACTURER"/>
    
    <SensorProperty value="MEMSIC " name="SENSOR_PROPERTY_MODEL"/>
    
    <SensorProperty value="PC INTEGRATED" name="SENSOR_PROPERTY_CONNECTION_TYPE"/>
    
    <SensorProperty value="HID Sensor Class Device: Accelerometer" name="SENSOR_PROPERTY_FRIENDLY_NAME"/>
    
    <SensorProperty value="20" name="SENSOR_PROPERTY_CURRENT_REPORT_INTERVAL"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_CHANGE_SENSITIVITY"/>
    
    <SensorProperty value="Ready" name="SENSOR_PROPERTY_STATE"/>
    
    <SensorProperty value="16" name="SENSOR_PROPERTY_MIN_REPORT_INTERVAL"/>
    
    <SensorProperty value="Accelerometer Sensor" name="SENSOR_PROPERTY_DESCRIPTION"/>
    
    <SensorProperty value="ver2.00 " name="SENSOR_PROPERTY_SERIAL_NUMBER"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_RANGE_MAXIMUM"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_RANGE_MINIMUM"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_RESOLUTION"/>
    
    <SensorProperty value="System.__ComObject" name="SENSOR_PROPERTY_ACCURACY"/>
    
    </SensorProperties>
    
    
    -<SensorDataFields>
    
    <SensorDataField value="NO DATA" name="Error"/>
    
    </SensorDataFields>
    
    
    -<SensorEvents>
    
    <SensorEvent data="2016-01-04T03:39:16.9599225-08:00 Enter event for sensor HID Sensor Class Device: Accelerometer"/>
    
    <SensorEvent data="2016-01-04T03:39:16.9599225-08:00 State Changed event to state Ready"/>
    
    </SensorEvents>
    
    <SensorDataCollection/>
    
    </SensorData>
    
    
    -<SensorData>
    
    
    -<SensorEvents>
    
    <SensorEvent data="2016-01-04T03:39:16.9599225-08:00 Enter event for sensor HID Sensor Class Device: Accelerometer"/>
    
    <SensorEvent data="2016-01-04T03:38:56.2168867-08:00 Status Changed event for location to status Running"/>
    
    </SensorEvents>
    
    
    -<SensorErrors>
    
    <SensorError error="2016-01-04T03:39:16.9599225-08:00 HID Sensor Class Device: Accelerometer: A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)"/>
    
    <SensorError error="2016-01-04T03:39:16.9599225-08:00 HID Sensor Class Device: Accelerometer: A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)"/>
    
    </SensorErrors>
    
    
    -<LocationDataCollection>
    
    
    +<DataReport type="LatLongReport">
    
    
    -<DataReport type="CivicAddressReport">
    
    <Field value="" name="AddressLine1"/>
    
    <Field value="" name="AddressLine2"/>
    
    <Field value="" name="City"/>
    
    <Field value="US" name="CountryOrRegion"/>
    
    <Field value="CountryOrRegion" name="DetailLevel"/>
    
    <Field value="" name="PostalCode"/>
    
    <Field value="682f38ca-5056-4a58-b52e-b516623cf02f" name="SensorID"/>
    
    <Field value="" name="StateOrProvince"/>
    
    <Field value="2016-01-04T11:38:56.2160000" name="Timestamp"/>
    
    </DataReport>
    
    
    -<DataReport type="LatLongReport">
    
    <Field value="0" name="Altitude"/>
    
    <Field value="0" name="AltitudeError"/>
    
    <Field value="163" name="ErrorRadius"/>
    
    <Field value="31.5086317070423" name="Latitude"/>
    
    <Field value="120.401089843466" name="Longitude"/>
    
    <Field value="00000000-0000-0000-0000-000000000000" name="SensorID"/>
    
    <Field value="2016-01-04T11:39:19.4060000" name="Timestamp"/>
    
    </DataReport>
    
    </LocationDataCollection>
    
    </SensorData>
    
    </SensorDiagnosticTool>

    Tuesday, January 19, 2016 8:27 AM