Hi guy,
I trying to write function that control off alarm of siren on Heiman smoke sensor and I use function below but it not active. I have used command Start warning on Zigbee Cluster (IASWD). Please help me
case (E_SL_MSG_WRITE_ATTRIBUTE_REQUEST_IAS_WD):
{
uint16 u16WarningDuration;
u16WarningDuration = ZNC_RTN_U16 ( au8LinkRxBuffer, 10 );
tsZCL_TxPayloadItem asPayloadDefinition[] = {
{1, E_ZCL_ENUM8, (void *)&au8LinkRxBuffer [ 9] },
{1, E_ZCL_UINT16, (void *)&u16WarningDuration},
{1, E_ZCL_UINT8, (void *)&au8LinkRxBuffer [ 12]},
{1, E_ZCL_ENUM8, (void *)&au8LinkRxBuffer [13]}
};
u8Status = eZCL_CustomCommandSend(au8LinkRxBuffer [ 3 ],
au8LinkRxBuffer [ 4 ],
&sAddress,
SECURITY_AND_SAFETY_CLUSTER_ID_IASWD,
FALSE,
E_CLD_IASWD_CMD_START_WARNING,
&u8SeqNum,
asPayloadDefinition,
FALSE,
0,
sizeof(asPayloadDefinition) / sizeof(tsZCL_TxPayloadItem));
Hi Nguyen,
Are you referring to any NXP component? If yes, please provide the full part number.
With Best Regards,
Jozef
Hi,
I use Photoelectric Smoke Alarm (HS1SA) and cluster 0x0502 (IAS WD )that control .
I have used command 0x00: Start warning . I read it on ZigBee Cluster Library Specification document
Hi Nguyen,
unfortunately NXP hasn't any smoke sensor in its portfolio. I don't know the HS1SA component and I am not able to comment on your issue. Please contact a company support of the components you are using. They will be able to help you, because they know their products.
I apologize for inconvenience.
With Best Regards,
Jozef