<?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のトピックprogramming mc13213 with beestack doubt</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/programming-mc13213-with-beestack-doubt/m-p/271810#M20171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's me again, Tommaso from italy, triyng to program mc13213 boards with beestack..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal it's to make 2 devices (a coordinator and an end device) to communicate with each other, then i want the end device to send messages to the coordinator every 3 seconds (for example):&lt;/P&gt;&lt;P&gt;I started with an example code found in beekit: the code allows to send accelerometer data from a device to an other.&lt;/P&gt;&lt;P&gt;I have two questions:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; which is the sequence of actions (functions) that the master and slave should do to communicate with each other?? i have read the freescale beestack software reference manual and i found that i should register the endpoints with AF_registerEndPoints(...) and i did it, but it's not enought, i start the network with ZDO_start(..) than i can use AF_sendMessage(..).&lt;/P&gt;&lt;P&gt;Is it correct? Is there something else i should do?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) i tried using a timer and then to send a message but i can't use low power mode weather any timer are on (low power function acts this way, the function was already there and i didn't modify it), so i decided to usa the state machine "mode" that is using TS_sendEvent() and BeeAppTask() functions to simulate the operation of a state machine.. the problem is that again i can't use low power mode because the low power functions checks weather there are pending events or active timers.&lt;/P&gt;&lt;P&gt;What i have to do to use low power mode on the end device??&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know i probably have omitted something, please let me know if i was'n clear.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Tommaso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 15:16:16 GMT</pubDate>
    <dc:creator>tommasosinico</dc:creator>
    <dc:date>2013-12-19T15:16:16Z</dc:date>
    <item>
      <title>programming mc13213 with beestack doubt</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/programming-mc13213-with-beestack-doubt/m-p/271810#M20171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's me again, Tommaso from italy, triyng to program mc13213 boards with beestack..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal it's to make 2 devices (a coordinator and an end device) to communicate with each other, then i want the end device to send messages to the coordinator every 3 seconds (for example):&lt;/P&gt;&lt;P&gt;I started with an example code found in beekit: the code allows to send accelerometer data from a device to an other.&lt;/P&gt;&lt;P&gt;I have two questions:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; which is the sequence of actions (functions) that the master and slave should do to communicate with each other?? i have read the freescale beestack software reference manual and i found that i should register the endpoints with AF_registerEndPoints(...) and i did it, but it's not enought, i start the network with ZDO_start(..) than i can use AF_sendMessage(..).&lt;/P&gt;&lt;P&gt;Is it correct? Is there something else i should do?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) i tried using a timer and then to send a message but i can't use low power mode weather any timer are on (low power function acts this way, the function was already there and i didn't modify it), so i decided to usa the state machine "mode" that is using TS_sendEvent() and BeeAppTask() functions to simulate the operation of a state machine.. the problem is that again i can't use low power mode because the low power functions checks weather there are pending events or active timers.&lt;/P&gt;&lt;P&gt;What i have to do to use low power mode on the end device??&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know i probably have omitted something, please let me know if i was'n clear.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Tommaso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 15:16:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/programming-mc13213-with-beestack-doubt/m-p/271810#M20171</guid>
      <dc:creator>tommasosinico</dc:creator>
      <dc:date>2013-12-19T15:16:16Z</dc:date>
    </item>
  </channel>
</rss>

