We have used zigbee sample for coordinator we did many changes in that like subscribing and sending values in UART when any new device gets added.
but noticed ZB_ZDO_SIGNAL_DEVICE_ANNCE also gets called with FF:FF:FF:FF:FF:FF:FF:FF mac address and 0x00 short address?
Is it expected behavior? if yes why its happening what action we should take that time?
zb_zdo_signal_device_annce_params_t *dev_annce_params =
ZB_ZDO_SIGNAL_GET_PARAMS(
sg_p, zb_zdo_signal_device_annce_params_t);
LOG_INF("New device commissioned or rejoined (short_addr: 0x%04hx)",
dev_annce_params->device_short_addr);
char ieee_address_str[24];
snprintf(ieee_address_str, sizeof(ieee_address_str),
"%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
dev_annce_params->ieee_addr[0], dev_annce_params->ieee_addr[1],
dev_annce_params->ieee_addr[2], dev_annce_params->ieee_addr[3],
dev_annce_params->ieee_addr[4], dev_annce_params->ieee_addr[5],
dev_annce_params->ieee_addr[6], dev_annce_params->ieee_addr[7]);
// Log the complete IEEE address
LOG_INF("IEEE Address: %s", ieee_address_str);