View Single Post
Old February 5th, 2014   #11
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 369
Default

You can use a STATUS_MESSAGE to deliver a message such as "Sensor 15 over temp at 100 degrees C" (In this example, you'd use STS_OVERTEMP with "Data Value 1" set to 15 and "Data Value 2" set to 100).

If you don't support sub-devices you always set the Sub-Device field to 0x0000. Otherwise, you set the sub-device field to the sub-device which contains the sensor that generated the status condition.
ericthegeek is offline   Reply With Quote