<?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のトピックKW41Z ZigBee Questions/msg transfer/code analysis</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089855#M9937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am studying KW41Z control bridge code.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;I understand how the 'control bridge' receives and parses serial data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;but, I can't understand how the 'control bridge' sends and receives data using ZigBee.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;What I want to know,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;First, how to transfer message. For example, A board is control bridge, B board is end device.(network joined)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;If I send "hello world" from host to A board using UART, A board send&amp;nbsp;"hello world" from A to B using ZigBee. and B board send "hello world" from B to host using UART.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #f8f9fa; color: #222222; "&gt;Are there any i&lt;SPAN&gt;ntuitive&amp;nbsp;&lt;/SPAN&gt;example code like this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;Second, I'm analyzing 'ZigBee Control Bridge Code'. but I'm beginner about firmware and rtos. I can't understand ZigBee operation. So how should I study? and What should I look?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2020 09:49:16 GMT</pubDate>
    <dc:creator>gustcool2</dc:creator>
    <dc:date>2020-04-28T09:49:16Z</dc:date>
    <item>
      <title>KW41Z ZigBee Questions/msg transfer/code analysis</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089855#M9937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am studying KW41Z control bridge code.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;I understand how the 'control bridge' receives and parses serial data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;but, I can't understand how the 'control bridge' sends and receives data using ZigBee.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;What I want to know,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;First, how to transfer message. For example, A board is control bridge, B board is end device.(network joined)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;If I send "hello world" from host to A board using UART, A board send&amp;nbsp;"hello world" from A to B using ZigBee. and B board send "hello world" from B to host using UART.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #f8f9fa; color: #222222; "&gt;Are there any i&lt;SPAN&gt;ntuitive&amp;nbsp;&lt;/SPAN&gt;example code like this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;Second, I'm analyzing 'ZigBee Control Bridge Code'. but I'm beginner about firmware and rtos. I can't understand ZigBee operation. So how should I study? and What should I look?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 09:49:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089855#M9937</guid>
      <dc:creator>gustcool2</dc:creator>
      <dc:date>2020-04-28T09:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z ZigBee Questions/msg transfer/code analysis</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089856#M9938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JunTae Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are doing great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sending the hello world like this will not works, the Zigbee protocol works as endpoints and clusters. I recommend to look at the &lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3113.pdf"&gt;ZigBee 3.0 Stack User Guide&lt;/A&gt;&amp;nbsp;Part I: Concept and Operational Information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to send the hello world like this, you have to create or send this data using a custom cluster.&lt;/P&gt;&lt;P&gt;Look at the General options in the&amp;nbsp;ZGWUI, the raw data option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 23:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089856#M9938</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-04-28T23:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z ZigBee Questions/msg transfer/code analysis</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089857#M9939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario.&lt;/P&gt;&lt;P&gt;Thanks for the useful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look at ZigBee 3.0 Stack.&lt;/P&gt;&lt;P&gt;and looking at &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;the General options in the&amp;nbsp;ZGWUI, the raw data option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;I have a few questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;the raw data option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case (E_SL_MSG_SEND_RAW_APS_DATA_PACKET):&lt;BR /&gt; {&lt;BR /&gt; ZPS_tsAfProfileDataReq sAfProfileDataReq;&lt;BR /&gt; uint8 u8DataLength;&lt;BR /&gt; &lt;BR /&gt; sAfProfileDataReq.uDstAddr.u16Addr = ZNC_RTN_U16 ( au8LinkRxBuffer, 1 );&lt;BR /&gt; sAfProfileDataReq.u16ClusterId = ZNC_RTN_U16 ( au8LinkRxBuffer, 5 );&lt;BR /&gt; sAfProfileDataReq.u16ProfileId = ZNC_RTN_U16 ( au8LinkRxBuffer, 7 );&lt;BR /&gt; sAfProfileDataReq.eDstAddrMode = au8LinkRxBuffer[0];&lt;BR /&gt; sAfProfileDataReq.u8SrcEp = au8LinkRxBuffer[3];&lt;BR /&gt; sAfProfileDataReq.u8DstEp = au8LinkRxBuffer[4];&lt;BR /&gt; sAfProfileDataReq.eSecurityMode = au8LinkRxBuffer[9];&lt;BR /&gt; sAfProfileDataReq.u8Radius = au8LinkRxBuffer[10];&lt;BR /&gt; u8DataLength = au8LinkRxBuffer[11];&lt;BR /&gt; &lt;BR /&gt; u8Status = APP_eApsProfileDataRequest ( &amp;amp;sAfProfileDataReq,&lt;BR /&gt; &amp;amp;au8LinkRxBuffer[12],&lt;BR /&gt; u8DataLength,&lt;BR /&gt; &amp;amp;u8SeqNum );&lt;BR /&gt; }&lt;BR /&gt; break;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;First, Should&lt;SPAN style="color: #222222; background-color: #f8f9fa;"&gt;&amp;nbsp;I define and use a cluster ID?(&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6;"&gt;sAfProfileDataReq.u16ClusterId)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #3d3d3d;"&gt;and a profile ID either?(&lt;SPAN&gt;sAfProfileDataReq.u16ProfileId)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #3d3d3d;"&gt;&lt;SPAN&gt;Second, I can't understand how this function works(&lt;SPAN style="background-color: #f6f6f6;"&gt;APP_eApsProfileDataRequest). could you please explain brief?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #3d3d3d; "&gt;and onoff cluster and level cluster use 'eZCL_CustomCommandSend' function. why the raw data option does not use this function(eZCL_CustomCommandSend)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #3d3d3d; "&gt;Finally, I used raw data option using ZGWUI and checked packet receive in child device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #3d3d3d; "&gt;but It was a simple packet receive debug message. I want to see the Message I send.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #3d3d3d; "&gt;Are there other end device example?(I'm using extended light end device example) if not, what should I do?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #3d3d3d; "&gt;Thank you again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;and have a nice day.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 05:34:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089857#M9939</guid>
      <dc:creator>gustcool2</dc:creator>
      <dc:date>2020-04-29T05:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z ZigBee Questions/msg transfer/code analysis</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089858#M9940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JunTae Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to confirm, did you run the JN-AN-1216 example?&lt;/P&gt;&lt;P&gt;Do you have a sniffer to capture the packets in the air?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;First, Should&lt;SPAN style="color: #222222; background-color: #f8f9fa; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;I define and use a cluster ID?(&lt;SPAN style="background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;sAfProfileDataReq.u16ClusterId)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM style="background-color: #f6f6f6; border: 0px; font-weight: inherit; "&gt;and a profile ID either?(&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;sAfProfileDataReq.u16ProfileId)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Using the ZWGUI you could use a custom cluster.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;EM style="border: 0px; : ; color: #3d3d3d; font-weight: inherit; "&gt;Second, I can't understand how this function works(APP_eApsProfileDataRequest). could you please explain brief?&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;EM style="border: 0px; color: #3d3d3d; font-weight: inherit; "&gt;and onoff cluster and level cluster use 'eZCL_CustomCommandSend' function. why the raw data option does not use this function(eZCL_CustomCommandSend)?&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;The on-off cluster has defined the commands and the structures by the ZigBee Spec. Please look at the ZigBee Cluster Library.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM style="background-color: #f6f6f6; border: 0px; font-weight: inherit; "&gt;Finally, I used raw data option using ZGWUI and checked packet receive in child device.&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM style="background-color: #f6f6f6; border: 0px; font-weight: inherit; "&gt;but It was a simple packet receive debug message. I want to see the Message I send.&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM style="background-color: #f6f6f6; border: 0px; font-weight: inherit; "&gt;Are there other end device example?(I'm using extended light end device example) if not, what should I do?&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I recommend using a sniffer for a better debug purpose. Do you have a KW41 dongle?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Mario&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 20:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-ZigBee-Questions-msg-transfer-code-analysis/m-p/1089858#M9940</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-04-29T20:15:47Z</dc:date>
    </item>
  </channel>
</rss>

