<?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>topic Re: Give an adress mc13213 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Give-an-adress-mc13213/m-p/210313#M18013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Is it possible to send direct data from a coordinator to a&amp;nbsp;router (coordinator --&amp;gt; router) with&amp;nbsp;short adressing&amp;nbsp;mode?&lt;BR /&gt;If yes, how do I configure the end-device?&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2008 21:22:38 GMT</pubDate>
    <dc:creator>Nicolas_martel</dc:creator>
    <dc:date>2008-12-16T21:22:38Z</dc:date>
    <item>
      <title>Give an adress mc13213</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Give-an-adress-mc13213/m-p/210312#M18012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;I try to communicate between 1 ncb(coordinator) and 1 srb(router). I want to use direct adress (16bits) for that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I&amp;nbsp;define that in beekit :&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt; for property: &lt;STRONG&gt;mDefaultNwkShortAddress_c&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; =&amp;gt; 0x1111 for the ncb.&lt;/DIV&gt;&lt;DIV&gt;and that&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt; for property: &lt;STRONG&gt;mDefaultNwkShortAddress_c&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; =&amp;gt;0x2222 for the srb.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I write that in codewarrior&amp;nbsp;(ncb):&lt;/DIV&gt;&lt;DIV&gt;adress[0] = 0x22;&lt;/DIV&gt;&lt;DIV&gt;adress[1] = 0x22;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;/* set up address information */&lt;BR /&gt;&amp;nbsp;addrInfo.dstAddrMode = gZbAddrMode16Bit_c;&lt;BR /&gt;&amp;nbsp; Copy2Bytes(addrInfo.dstAddr.aNwkAddr, adress);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; addrInfo.dstEndPoint = 0x02;&lt;BR /&gt;&amp;nbsp; addrInfo.srcEndPoint = 0x02;&lt;BR /&gt;&amp;nbsp; addrInfo.txOptions = gApsTxOptionNone_c;&lt;BR /&gt;&amp;nbsp; addrInfo.radiusCounter = afDefaultRadius_c;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; /* set up cluster */&lt;BR /&gt;&amp;nbsp; Copy2Bytes(addrInfo.aClusterId, appDataCluster);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Why It don't work, I don't receive data&amp;nbsp;in the srb.&lt;/DIV&gt;&lt;DIV&gt;Do you help me please?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Nicolas&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 20:37:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Give-an-adress-mc13213/m-p/210312#M18012</guid>
      <dc:creator>Nicolas_martel</dc:creator>
      <dc:date>2008-12-16T20:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Give an adress mc13213</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Give-an-adress-mc13213/m-p/210313#M18013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Is it possible to send direct data from a coordinator to a&amp;nbsp;router (coordinator --&amp;gt; router) with&amp;nbsp;short adressing&amp;nbsp;mode?&lt;BR /&gt;If yes, how do I configure the end-device?&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 21:22:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Give-an-adress-mc13213/m-p/210313#M18013</guid>
      <dc:creator>Nicolas_martel</dc:creator>
      <dc:date>2008-12-16T21:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Give an adress mc13213</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Give-an-adress-mc13213/m-p/210314#M18014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi _Nicolas,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There is not really something called a router in 802.15.4. there is coordinators(Full function devices) and end devices(Reduced function devices) So a router is a Coordinator &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So in order to setup two FFD devices you just need to do what the coordinator application examples does, setup the destination address and make sure the Indirect option is not set:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpPacket-&amp;gt;msgData.dataReq.txOptions = gTxOptsAck_c | gTxOptsIndirect_c;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(remove the gTxOptsIndirect_c)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;BR,&lt;/DIV&gt;&lt;DIV&gt;Mads&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 16:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Give-an-adress-mc13213/m-p/210314#M18014</guid>
      <dc:creator>Mads</dc:creator>
      <dc:date>2008-12-17T16:31:49Z</dc:date>
    </item>
  </channel>
</rss>

