View Single Post
Old February 26th, 2014   #3
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 375
Default

Scott is correct, you can return NR_UNSUPPORTED_CC if you support GET but not SET.

However, in the specific example you give, it's really not a good idea. If you only have a single identify mode, there's no reason to declare support for the IDENTIFY_MODE PID. Just leave it out of your responder altogether.

This question come up more often in the context of PIDs such as DEVICE_HOURS where the GET gives you information about the responder, but there are reasons you want to prevent the user from sending a SET.
ericthegeek is offline   Reply With Quote