Added bypass in basic WriteProperty handler to accept writes of NULL to non-commandable properties (#919)
This commit is contained in:
@@ -384,6 +384,17 @@ static const int Device_Properties_Optional[] = {
|
||||
|
||||
static const int Device_Properties_Proprietary[] = { -1 };
|
||||
|
||||
/**
|
||||
* @brief Returns the list of required, optional, and proprietary properties
|
||||
* for the Device object.
|
||||
* @param pRequired [out] Pointer to the list of required properties
|
||||
* @param pOptional [out] Pointer to the list of optional properties
|
||||
* @param pProprietary [out] Pointer to the list of proprietary properties
|
||||
* @note The lists are terminated with -1.
|
||||
* @note The lists are not allocated, so do not free them.
|
||||
* @note The lists are static, so do not modify them.
|
||||
* @ingroup ObjIntf
|
||||
*/
|
||||
void Device_Property_Lists(
|
||||
const int **pRequired, const int **pOptional, const int **pProprietary)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user