Adding activate-changes to the ReinitializeDevice options (#674)
Co-authored-by: Tomasz Kazimierz Motyl <tomasz.motyl@se.com>
This commit is contained in:
committed by
GitHub
parent
2cdbf20f9f
commit
9e0751f8c9
@@ -673,6 +673,11 @@ bool Device_Reinitialize(BACNET_REINITIALIZE_DEVICE_DATA *rd_data)
|
|||||||
ERROR_CODE_OPTIONAL_FUNCTIONALITY_NOT_SUPPORTED;
|
ERROR_CODE_OPTIONAL_FUNCTIONALITY_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case BACNET_REINIT_ACTIVATE_CHANGES:
|
||||||
|
/* note: activate changes *after* the simple ack is sent */
|
||||||
|
Reinitialize_State = rd_data->state;
|
||||||
|
status = true;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
rd_data->error_class = ERROR_CLASS_SERVICES;
|
rd_data->error_class = ERROR_CLASS_SERVICES;
|
||||||
rd_data->error_code = ERROR_CODE_PARAMETER_OUT_OF_RANGE;
|
rd_data->error_code = ERROR_CODE_PARAMETER_OUT_OF_RANGE;
|
||||||
|
|||||||
Reference in New Issue
Block a user