<?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中的主题 Re: MC13226 Kit - WirelessUART</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/MC13226-Kit-WirelessUART/m-p/422684#M532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #1f497d;"&gt;Hello Cuong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;In order to use direct addressing, you should modify the dstAddrMode from gZbAddrModeIndirect_c to gZbAddrMode16Bit_c (for instance) and specify the destination address (Coordinator is always 0x0000). The other nodes such as the ZR and ZED might get a different network address. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Sending a message to a device whose short address is unknown (like ZR or ZED), you can do several things to achieve it. The easiest one is to use 64 bit addressing. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;In order to transmit data to another node using its 64 bit address (known MAC address) you will have to set the dstAddrMode variable to gZbAddrMode64Bit_c and specify the destination 64 bit address by modifying the dstAddr parameter as addrInfo.dstAddr.aIeeeAddr[]. This will let you send messages to a known MAC address in the network.&amp;nbsp; ZigBee will do the rest for you (search for the corresponding short address and send the message over the air using it). I strongly recommend you to use this solution since you already know the device’s MAC addresses and thus you do not need to add overhead to application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anyway, another option is to use the APS_GetNwkAddress() function, which returns a pointer to the Nwk(16 bit) short address given a Known IEEE (64 bit) long address as a parameter. Notice that this function performs a local search. In other words, it only searches for network addresses contained in the device’s address table; it does NOT send anything over the air. This will help you to know the end device’s short address and specify it on the message parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;AngelC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 01:32:51 GMT</pubDate>
    <dc:creator>AngelC</dc:creator>
    <dc:date>2015-07-02T01:32:51Z</dc:date>
    <item>
      <title>MC13226 Kit - WirelessUART</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MC13226-Kit-WirelessUART/m-p/422683#M531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In "WirelessUart" example, before transmit data between Condinator and&amp;nbsp; Endevice need binding&lt;/P&gt;&lt;P&gt;But I want to transmit data directly (without binding), How can I do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 10:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MC13226-Kit-WirelessUART/m-p/422683#M531</guid>
      <dc:creator>minhcuong</dc:creator>
      <dc:date>2015-06-23T10:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: MC13226 Kit - WirelessUART</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MC13226-Kit-WirelessUART/m-p/422684#M532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #1f497d;"&gt;Hello Cuong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;In order to use direct addressing, you should modify the dstAddrMode from gZbAddrModeIndirect_c to gZbAddrMode16Bit_c (for instance) and specify the destination address (Coordinator is always 0x0000). The other nodes such as the ZR and ZED might get a different network address. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Sending a message to a device whose short address is unknown (like ZR or ZED), you can do several things to achieve it. The easiest one is to use 64 bit addressing. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;In order to transmit data to another node using its 64 bit address (known MAC address) you will have to set the dstAddrMode variable to gZbAddrMode64Bit_c and specify the destination 64 bit address by modifying the dstAddr parameter as addrInfo.dstAddr.aIeeeAddr[]. This will let you send messages to a known MAC address in the network.&amp;nbsp; ZigBee will do the rest for you (search for the corresponding short address and send the message over the air using it). I strongly recommend you to use this solution since you already know the device’s MAC addresses and thus you do not need to add overhead to application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anyway, another option is to use the APS_GetNwkAddress() function, which returns a pointer to the Nwk(16 bit) short address given a Known IEEE (64 bit) long address as a parameter. Notice that this function performs a local search. In other words, it only searches for network addresses contained in the device’s address table; it does NOT send anything over the air. This will help you to know the end device’s short address and specify it on the message parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;AngelC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 01:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MC13226-Kit-WirelessUART/m-p/422684#M532</guid>
      <dc:creator>AngelC</dc:creator>
      <dc:date>2015-07-02T01:32:51Z</dc:date>
    </item>
  </channel>
</rss>

