View Single Post
Old November 21st, 2007   #1
Task Group Member
Join Date: Sep 2006
Posts: 26
Default Reset sensor data of all sensors

A SET_COMMAND SENSOR_VALUE packet is used to reset or clear a given sensor. The SET_COMMAND_RESPONSE SENSOR_VALUE packet also returns normal sensor data as if it were a GET_COMMAND packet. A SET_COMMAND SENSOR_VALUE packet can also be used with a sensor number of 0xff to clear all sensors. What data should be included in the SET_COMMAND_RESPONSE SENSOR_VALUE packet in that case?

The SET_COMMAND_RESPONSE RECORD_SENSORS packet, which can also be used with a sensor number of 0xff, contains no data at all. Since the two packets perform very similar functions, it seems to me that either neither packet should return data, or both packets should return data. My inclination is to return no data, as with most SET_COMMAND_RESPONSE packets.

sjackman is offline   Reply With Quote