eCLD_IASACESetPanelParameter
teZCL_Status eCLD_IASACESetPanelParameter(
uint8 u8SourceEndPointId,
teCLD_IASACE_PanelParameterID eParameterId,
uint8 u8ParameterValue);
Description
This function can be used on an IAS ACE cluster server to set the value of a Panel parameter. The Panel parameters are held on the server in a tsCLD_IASACE_PanelParameter structure (see Section 38.7.4) and this function can be used to write a value to one parameter in the structure. The function verifies that the specified parameter identifier is valid before attempting the write.
If this function is used to set the Panel parameter ePanelStatus, an IAS ACE Panel Status Changed command is automatically sent to all bound clients.
Parameters
u8SourceEndPointId: Number of the endpoint on which the IAS ACE cluster resides
eParameterId: Enumeration identifying the Panel parameter to be set, one of:
E_CLD_IASACE_PANEL_PARAMETER_PANEL_STATUS
E_CLD_IASACE_PANEL_PARAMETER_SECONDS_REMAINING
E_CLD_IASACE_PANEL_PARAMETER_AUDIBLE_NOTIFICATION
E_CLD_IASACE_PANEL_PARAMETER_ALARM_STATUS
u8ParameterValue: Value to be written to the parameter
Returns
E_ZCL_SUCCESS (Panel parameter successfully set)
E_ZCL_ERR_CLUSTER_NOT_FOUND (cluster instance not found)
E_ZCL_ERR_ATTRIBUTE_NOT_FOUND (Panel parameter identifier invalid)
Parent topic:Functions