Question
[ZIGBEE] How to using cluster to send unicast/broadcast with custom message payload
Hi Sir:
I try to builld a project with unicast/broadcast function with custom message payload on NVM example.
But, I found that ZbZclMsgClient/ZbZclMsgSever can't use the following code to broadcast message.
Is there any issue to broadcast by ZbZclMsgClient/ZbZclMsgSever?
Best Regards,
Jack Lai
dst.mode = ZB_APSDE_ADDRMODE_GROUP;
dst.endpoint = SW1_ENDPOINT;
dst.nwkAddr = SW1_GROUP_ADDR; /* Coordinator */
APP_DBG("SW2 PUSHED (SENDING GOOD BYE TO CLIENT)");
if (ZbZclMsgServerDisplayMessageReq(zigbee_app_info.messaging_server_1, &dst, &my_second_message, NULL, NULL) != ZCL_STATUS_SUCCESS) {
APP_DBG("Error, ZbZclMsgServerDisplayMessageReq failed (SW1_ENDPOINT)");
}
