<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Broadcast to Zigbee Messaging Cluster</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117542/broadcast-to-zigbee-messaging-cluster</link><description>Hello. Using the Zigbee messaging cluster, we are writing code for data exchange between ZR and ZED. (Based on the Zigbee example light_bulb/light_switch/light_coordinator) 
 I want to send data to all devices within the same network that share the same</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2025 00:05:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117542/broadcast-to-zigbee-messaging-cluster" /><item><title>RE: Broadcast to Zigbee Messaging Cluster</title><link>https://devzone.nordicsemi.com/thread/517570?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 00:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:214fa351-f2eb-42e4-a51d-f4d04dad19eb</guid><dc:creator>kim_mj</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I need a broadcast in the transmission, so I&amp;#39;ll have to figure out another way.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broadcast to Zigbee Messaging Cluster</title><link>https://devzone.nordicsemi.com/thread/517261?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 14:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69f0cca6-0ad9-4bf6-81cf-bead131965aa</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is correct.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broadcast to Zigbee Messaging Cluster</title><link>https://devzone.nordicsemi.com/thread/517102?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 23:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6821687f-e0be-4733-a272-20c7e44adcef</guid><dc:creator>kim_mj</dc:creator><description>&lt;p&gt;In Zigbee Smart Energy Standard,&amp;nbsp; &amp;quot; Messages are expected to be delivered via the ESI and then unicast to all individually registered devices implementing the Messaging Cluster on the ZigBee network, or just made available to all devices for later pickup &amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Should I take it as saying that the messaging cluster cannot transmit data by broadcast according to your words?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broadcast to Zigbee Messaging Cluster</title><link>https://devzone.nordicsemi.com/thread/516796?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 12:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9cf87da-b6dc-4331-8c55-8320109e3299</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems like this is due to how the Messaging cluster is intended to work. Messages are expected to be delivered via the Energy Service Interface (ESI) and then unicast to devices. The ESI will, in this case, be the light bulb sending the Display Message command. This is based on the Zigbee Smart Energy Standard specification.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broadcast to Zigbee Messaging Cluster</title><link>https://devzone.nordicsemi.com/thread/516586?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 01:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6092dccd-1f0c-46c3-91ba-8289cfd3a303</guid><dc:creator>kim_mj</dc:creator><description>&lt;p&gt;Thank you for your answer.&lt;br /&gt;When the ZB_NWK_BROADCAST_RX_ON_WHEN_IDLE described in the light_switch code was modified to ZB_NWK_BROADCAST_ROUTER_COORDINATOR, the sniffer confirmed that it was changed from 0xfffd to 0xfffc.&lt;/p&gt;
&lt;p&gt;But the code I want to implement is to send a broadcast message from light_bulb (ZR) to light_switch (ZED).&lt;/p&gt;
&lt;p&gt;So if you look at light_bulb&amp;#39;s send_display_msg&lt;/p&gt;
&lt;p&gt;static void send_display_msg(zb_bufid_t bufid, zb_uint16_t cmd_id)&lt;br /&gt;{&lt;br /&gt; zb_uint8_t messages[] = &amp;quot;SEND MESSAGE&amp;quot;;&lt;br /&gt; test_disp.extended_message_control = 0x00;&lt;br /&gt; test_disp.message_len = sizeof(messages) -1 ;&lt;br /&gt; test_disp.message = messages;&lt;/p&gt;
&lt;p&gt;zb_addr_u dst_addr; &lt;br /&gt; dst_addr.addr_short = ZB_NWK_BROADCAST_ALL_DEVICES;&lt;/p&gt;
&lt;p&gt;ZB_ZCL_MESSAGING_SEND_DISPLAY_MSG(bufid, &amp;amp;dst_addr , ZB_APS_ADDR_MODE_16_ENDP_PRESENT, &lt;br /&gt; ZB_ZCL_BROADCAST_ENDPOINT, DIMMABLE_LIGHT_ENDPOINT, &amp;amp;test_disp);&lt;/p&gt;
&lt;p&gt;LOG_INF(&amp;quot;send_display_msg 0x%04hx&amp;quot;,dst_addr.addr_short);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Here&lt;br /&gt;When dst_addr.addr_short = 0xABCD; set to (ABCD = ZED address), it was confirmed that the ZR device sends data at 0xABCD. However&lt;br /&gt;If dst_addr.addr_short = ZB_NWK_BROADCAST_ALL_DEVICS; &lt;span&gt;it is confirmed that no data is sent.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1735804808069v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1735804823945v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broadcast to Zigbee Messaging Cluster</title><link>https://devzone.nordicsemi.com/thread/516361?ContentTypeID=1</link><pubDate>Fri, 27 Dec 2024 14:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac845696-df5f-441f-a5b5-53376ca19e52</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/zigbee/light_switch/README.html"&gt;ZigBee Light Switch sample&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;quot;Once the light switch is successfully commissioned, it sends a broadcast message to find devices with the implemented Level Control and On/Off clusters.&amp;quot;&lt;/p&gt;
&lt;p&gt;I see that the sample code uses ZB_NWK_BROADCAST_RX_ON_WHEN_IDLE, defined &lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/main/zboss/production/include/zboss_api_nwk.h#L61"&gt;here&lt;/a&gt;, where I also see some other broadcast values.&lt;/p&gt;
&lt;p&gt;Try to modify this sample to use all devices and check if you can see the broadcast on the sniffer then.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>