<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wireless MCUのトピックKW21 - Zigbee Receive Broadcast Message Callback</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW21-Zigbee-Receive-Broadcast-Message-Callback/m-p/433735#M578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We are trying to validate our system’s ability to handle broadcast messages in ZigBee.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We believe we have the stack configured properly and are looking at the proper callback for where we expect a broadcast message to be received from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;The question is how do we receive broadcast messages in the application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We are using the KW21 with Beestack 4.0.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Here are more details :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;When testing the OTA Notify Image cluster command message, we run into an issue when receiving a command that has been broadcast to all networks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We will receive the message and echo it across the network, but it is not sending the message to the application layer to be checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;The router device does receive the message because it is echoing said message over the air.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Testing Message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;OTA Image Notify, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Destination address = 0xFFFF,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Destination endpoint = 0xFF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2015 16:09:00 GMT</pubDate>
    <dc:creator>cguarneri</dc:creator>
    <dc:date>2015-10-27T16:09:00Z</dc:date>
    <item>
      <title>KW21 - Zigbee Receive Broadcast Message Callback</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW21-Zigbee-Receive-Broadcast-Message-Callback/m-p/433735#M578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We are trying to validate our system’s ability to handle broadcast messages in ZigBee.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We believe we have the stack configured properly and are looking at the proper callback for where we expect a broadcast message to be received from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;The question is how do we receive broadcast messages in the application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We are using the KW21 with Beestack 4.0.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Here are more details :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;When testing the OTA Notify Image cluster command message, we run into an issue when receiving a command that has been broadcast to all networks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We will receive the message and echo it across the network, but it is not sending the message to the application layer to be checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;The router device does receive the message because it is echoing said message over the air.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Testing Message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;OTA Image Notify, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Destination address = 0xFFFF,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Destination endpoint = 0xFF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 16:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW21-Zigbee-Receive-Broadcast-Message-Callback/m-p/433735#M578</guid>
      <dc:creator>cguarneri</dc:creator>
      <dc:date>2015-10-27T16:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: KW21 - Zigbee Receive Broadcast Message Callback</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW21-Zigbee-Receive-Broadcast-Message-Callback/m-p/433736#M579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christopher, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the best way to handle a broadcast message is in the Data Indication Callback where you should have a pointer to an structure of the type &lt;STRONG&gt;zbApsdeDataIndication_t&lt;/STRONG&gt; which has a field with a flag to indicate if the received message was broadcast or not (&lt;STRONG&gt;fWasBroadcast&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if you run a beekit example application you'll find the function &lt;STRONG&gt;BeeAppDataIndication&lt;/STRONG&gt; in &lt;STRONG&gt;BeeApp.c&lt;/STRONG&gt; and the function &lt;STRONG&gt;AppBroadcastMsgCallBack&lt;/STRONG&gt; in the file &lt;STRONG&gt;BeeAppInit.c&lt;/STRONG&gt; where you can intercept those messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 16:53:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW21-Zigbee-Receive-Broadcast-Message-Callback/m-p/433736#M579</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-11-16T16:53:18Z</dc:date>
    </item>
  </channel>
</rss>

