<?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>8-bit MicrocontrollersのトピックRe: Zigbee Coordinator Address Isn't 0</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145490#M7199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;HR /&gt;wareagle wrote:&lt;BR /&gt;&lt;DIV&gt;That makes sense, thanks to all for the explanation.&amp;nbsp; Out of curiousity, can anyone explain why I was able to send a message to the NCB using the address 0x09A6 (using Copy2Bytes)?&amp;nbsp; Does the NCB have TWO NWK addresses?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;Because at the address 0x09A6 and 0x09A7 was 0x00 and 0x00.&amp;nbsp; It was still sending an address of 0.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2008 20:14:51 GMT</pubDate>
    <dc:creator>allawtterb</dc:creator>
    <dc:date>2008-04-14T20:14:51Z</dc:date>
    <item>
      <title>Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145479#M7188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm aware that in a Zigbee network, the coordinator should always have a NWK address of 0x0000.&amp;nbsp; However, when i try to send messages from a router to the coordinator using the address 0x0000, this does not work.&amp;nbsp; Also, I had the NCB diplay the value of gNwkData.aShortAddress on the LCD, and it prints 9A6.&amp;nbsp; Sending a message from the SRB to the NCB using the address 0x09A6 DOES work.&amp;nbsp; So, why is the address 0x09A6 and not 0x0000?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kurt&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. Please do not just tell me to go read the Zigbee specification, I've tried that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 04:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145479#M7188</guid>
      <dc:creator>wareagle</dc:creator>
      <dc:date>2008-04-10T04:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145480#M7189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;wareagle,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;first of all, using a protocol analyzer would be a great help in this case so you can see what is happening "over the air". Any serious development would need a tool like that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But I would asume you are not filling out the address information correctly.&lt;/DIV&gt;&lt;DIV&gt;here is an example function doing what you are trying:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;oid SendIpodRemoteCommandOTA(IpodRemoteCommand_t cmd) {&lt;BR /&gt;&amp;nbsp; afAddrInfo_t&amp;nbsp; addrInfo;&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TransmitBuffer[1];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; TransmitBuffer[0] = cmd;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; /* set up address information */&lt;BR /&gt;&amp;nbsp;addrInfo.dstAddrMode = gZbAddrMode16Bit_c; /*Always send packet to coordinator*/&lt;BR /&gt;&amp;nbsp;addrInfo.dstAddr.aNwkAddr[1] = 0x00;&lt;BR /&gt;&amp;nbsp; addrInfo.dstAddr.aNwkAddr[0] = 0x00;&lt;BR /&gt;&amp;nbsp; addrInfo.dstEndPoint = appEndPoint;&lt;BR /&gt;&amp;nbsp; addrInfo.srcEndPoint = appEndPoint;&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; addrInfo.aClusterId[0] = endPointList[0].pEndpointDesc-&amp;gt;pSimpleDesc-&amp;gt;pAppInClusterList[0];&lt;BR /&gt;&amp;nbsp; addrInfo.aClusterId[1] = endPointList[0].pEndpointDesc-&amp;gt;pSimpleDesc-&amp;gt;pAppInClusterList[1];&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; /* send the data request */&lt;BR /&gt;&amp;nbsp; (void)AF_DataRequest(&amp;amp;addrInfo, sizeof(TransmitBuffer), TransmitBuffer, NULL);&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;/Mads&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Mads on &lt;SPAN class="date_text"&gt;2008-04-09&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:16 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145480#M7189</guid>
      <dc:creator>Mads</dc:creator>
      <dc:date>2008-04-10T05:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145481#M7190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;A protocol analyzer would be nice, but I am just a student working on a senior design project.&lt;BR /&gt;&lt;BR /&gt;From what I can tell, your code looks similar to mine:&lt;BR /&gt;&lt;BR /&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, 0x0000);&lt;BR /&gt;&amp;nbsp; addrInfo.dstEndPoint = 1;&lt;BR /&gt;&amp;nbsp; addrInfo.srcEndPoint = appEndPoint;&lt;BR /&gt;&amp;nbsp; addrInfo.txOptions = gApsTxOptionNone_c;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; addrInfo.radiusCounter = afDefaultRadius_c;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; /* set up cluster */&lt;BR /&gt;&amp;nbsp; Copy2Bytes(addrInfo.aClusterId, appDataCluster);&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; /* send the data request */&lt;BR /&gt;&amp;nbsp; (void)AF_DataRequest(&amp;amp;addrInfo, sizeof(TxOTADataBuffer), TxOTADataBuffer, NULL);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As I said earlier, this does not work. However, if i replace 0x000 with 0x9A6, it does work. So it appears that for some reason the coordinator has NWK address of 0x9A6.&amp;nbsp; How would this happen?&amp;nbsp; This is a project that was created in Beekit (Beestack Codebase) based on the GenericApp.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145481#M7190</guid>
      <dc:creator>wareagle</dc:creator>
      <dc:date>2008-04-10T05:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145482#M7191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Wareagle,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;A coordinator can NOT have another address than 0x0000.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can only recommend that you try and follow the step by step instructions of the Beestack Applications Develoment guide chapter 2, and then add the function i just supplied.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If it is not your transmission function that is "wrong" then you might have introduced a problem elsewere.&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>Thu, 10 Apr 2008 13:56:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145482#M7191</guid>
      <dc:creator>Mads</dc:creator>
      <dc:date>2008-04-10T13:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145483#M7192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi wareagle,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I had a similar problem and the solution was to configure the destination address NOT using the function Copy2Bytes. I really don't know why this function not works sometimes, but I usually avoid using it. Try to write the destination address like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;addrInfo.dstAddr.aNwkAddr[0] = 0x00;&lt;BR /&gt;addrInfo.dstAddr.aNwkAddr[1] = 0x00;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It should work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DedsBee&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 21:57:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145483#M7192</guid>
      <dc:creator>DedsBee</dc:creator>
      <dc:date>2008-04-10T21:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145484#M7193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;DedsBee,&lt;BR /&gt;&lt;BR /&gt;You were right!&amp;nbsp; I have no idea how copy2bytes() is messing things up, but it is.&amp;nbsp; Assigning the address like you said does work.&amp;nbsp; Thank you very much for your help.&lt;BR /&gt;&lt;BR /&gt;Kurt&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 23:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145484#M7193</guid>
      <dc:creator>wareagle</dc:creator>
      <dc:date>2008-04-11T23:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145485#M7194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Wareagle,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Good to know it's working now! Maybe someone from Freescale could tell us why Copy2Bytes doesn't work sometimes. &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;Regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DedsBee&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 03:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145485#M7194</guid>
      <dc:creator>DedsBee</dc:creator>
      <dc:date>2008-04-12T03:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145486#M7195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;It looks like maybe&amp;nbsp;Copy2Bytes is expecting&amp;nbsp;a pointer&amp;nbsp;to be passed to it.&amp;nbsp; When you pass 0x0000 it is trying to copy the bytes located at address 0x0000.&amp;nbsp; The compiler should throw a fit for a type mismatch but try:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;unsigned int *paddress;*paddress = 0x0000;Copy2Bytes(addrInfo.dstAddr.aNwkAddr, paddress);&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;My best guess is that something along these lines is going on.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145486#M7195</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2020-10-29T08:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145487#M7196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;allawtterb is correct. It is because the Copy2bytes() is not used correctly.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note this macro is available for you to inspect in the code, just right click on it and "go to definition":&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;From Embeddedtypes.h&lt;/DIV&gt;&lt;DIV&gt;#define Copy2Bytes(aVal1, aVal2) (*((uint16_t *)(aVal1)) = *((uint16_t *)(aVal2)))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 15:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145487#M7196</guid>
      <dc:creator>Mads</dc:creator>
      <dc:date>2008-04-13T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145488#M7197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;HR /&gt;Mads wrote:&lt;BR /&gt;&lt;DIV&gt;From Embeddedtypes.h&lt;/DIV&gt;&lt;DIV&gt;#define Copy2Bytes(aVal1, aVal2) (*((uint16_t *)(aVal1)) = *((uint16_t *)(aVal2)))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&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;BR /&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;That would explain why the compiler wasn't complaining.&amp;nbsp; Type casting them to pointers then dereferencing them.&amp;nbsp;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 09:46:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145488#M7197</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2008-04-14T09:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145489#M7198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;That makes sense, thanks to all for the explanation.&amp;nbsp; Out of curiousity, can anyone explain why I was able to send a message to the NCB using the address 0x09A6 (using Copy2Bytes)?&amp;nbsp; Does the NCB have TWO NWK addresses?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 09:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145489#M7198</guid>
      <dc:creator>wareagle</dc:creator>
      <dc:date>2008-04-14T09:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145490#M7199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;HR /&gt;wareagle wrote:&lt;BR /&gt;&lt;DIV&gt;That makes sense, thanks to all for the explanation.&amp;nbsp; Out of curiousity, can anyone explain why I was able to send a message to the NCB using the address 0x09A6 (using Copy2Bytes)?&amp;nbsp; Does the NCB have TWO NWK addresses?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;Because at the address 0x09A6 and 0x09A7 was 0x00 and 0x00.&amp;nbsp; It was still sending an address of 0.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 20:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145490#M7199</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2008-04-14T20:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145491#M7200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Yes, that is what I thought originally.&amp;nbsp; However, I remembered the test I did where I had the NCB print its NWK address (more specifically, the value of gNwkData.aShortAddr) on the LCD (using LCD_WriteStringValue() ), and it showed 9A6.&amp;nbsp; This is where I got the 9A6 from.&amp;nbsp; I guess there's some simple explanation for this as well?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 00:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145491#M7200</guid>
      <dc:creator>wareagle</dc:creator>
      <dc:date>2008-04-15T00:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zigbee Coordinator Address Isn't 0</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145492#M7201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;DIV&gt;wareagle wrote:&lt;BR /&gt;Yes, that is what I thought originally.&amp;nbsp; However, I remembered the test I did where I had the NCB print its NWK address (more specifically, the value of gNwkData.aShortAddr) on the LCD (using LCD_WriteStringValue() ), and it showed 9A6.&amp;nbsp; This is where I got the 9A6 from.&amp;nbsp; I guess there's some simple explanation for this as well?&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am guessing that you type cast gNwkData.aShortAddr to an unsigned int when you called the function, like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;LCD_WriteStringValue("Network Address: ",(unsigned int)gNwkData.aShortAddr,0,gLCD_HexFormat_c);&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Instead of dereferencing&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;LCD_WriteStringValue("Network Address: ",(*(unsigned int *)gNwkData.aShortAddr),0,gLCD_HexFormat_c);&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;The type casting to a pointer to an unsigned int might not be necessary, you might have just been able to derefence it with *gNwkData.aShortAddr.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Edit: Added source code blocks for better formatting&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by allawtterb on &lt;SPAN class="date_text"&gt;2008-04-14&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:19 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:46:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Zigbee-Coordinator-Address-Isn-t-0/m-p/145492#M7201</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2020-10-29T08:46:48Z</dc:date>
    </item>
  </channel>
</rss>

