Thread: PRESET_PLAYBACK
View Single Post
Old October 18th, 2009   #2
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 363
Default

> if the device does not support PRESET_PLAYBACK_ALL
> should it NACK with DATA_OUT_OF_RANGE or ACK and
> ignore?

I'd vote for a NACK, then the controller knows it was received and explicitly rejected.

> if the device dioes not support the level setting
> of this PID, should it NACK with DATA_OUT_OF _RANGE
> for value other than 0sFF or ACK and ignore?

For most dimmers, I'd probably ACK the request and ignore the level (treat it like 0xFF). I think either behavior is acceptable though.
ericthegeek is offline   Reply With Quote