<?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中的主题 Do different shared device structures for Home Automation require to be on different endpoints on a node?</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Do-different-shared-device-structures-for-Home-Automation/m-p/608684#M1780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am modifying Zigbee HA Demo EK004 (JN-AN-1221) to have the 'LED' as well as 'light sensor' on the same node. So will these two different shared device structures (tsHA_DimmableLightDevice and&amp;nbsp;tsHA_LightSensorDevice) require to be on &lt;STRONG&gt;two separate endpoints&lt;/STRONG&gt; on the same node or can they be on the &lt;STRONG&gt;same endpoint?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If they are on the same endpoint then how will the BASIC (and IDENTIFY) cluster be shared among them? I mean, which shared structure's properties will the BASIC cluster show?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 19:46:18 GMT</pubDate>
    <dc:creator>navdeepsinghgil</dc:creator>
    <dc:date>2016-10-27T19:46:18Z</dc:date>
    <item>
      <title>Do different shared device structures for Home Automation require to be on different endpoints on a node?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Do-different-shared-device-structures-for-Home-Automation/m-p/608684#M1780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am modifying Zigbee HA Demo EK004 (JN-AN-1221) to have the 'LED' as well as 'light sensor' on the same node. So will these two different shared device structures (tsHA_DimmableLightDevice and&amp;nbsp;tsHA_LightSensorDevice) require to be on &lt;STRONG&gt;two separate endpoints&lt;/STRONG&gt; on the same node or can they be on the &lt;STRONG&gt;same endpoint?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If they are on the same endpoint then how will the BASIC (and IDENTIFY) cluster be shared among them? I mean, which shared structure's properties will the BASIC cluster show?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Do-different-shared-device-structures-for-Home-Automation/m-p/608684#M1780</guid>
      <dc:creator>navdeepsinghgil</dc:creator>
      <dc:date>2016-10-27T19:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Do different shared device structures for Home Automation require to be on different endpoints on a node?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Do-different-shared-device-structures-for-Home-Automation/m-p/608685#M1781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Navdeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to add a new cluster to a device, you do not need to add an extra endpoint. In ZigBee, all clusters can be added as optional supported clusters. This means it will be the same device but with support for additional clusters. Doing this saves RAM because there are less endpoints. Also, by having two endpoints, it requires to certify both endpoints separately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do this, you will need to go into the SDK (for example a DimmableLight) and modify the following file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\NXP\bstudio_nxp\sdk\JN-SW-4168\Components\ZCL\Profiles\HA\Lighting\Source\dimmable_light.c&lt;/P&gt;&lt;P&gt;C:\NXP\bstudio_nxp\sdk\JN-SW-4168\Components\ZCL\Profiles\HA\Lighting\Include\dimmable_light.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the other clusters as reference to add additional clusters. The cluster that needs to be added should be add to the following:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 36pt;"&gt;&lt;SPAN style="color: #005032; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;tsHA_DimmableLightDeviceClusterInstances&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 36pt;"&gt;&lt;SPAN style="color: #005032; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;tsHA_DimmableLightDevice&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 36pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;STRONG style="border: 0px; color: black; font-weight: inherit; font-size: 10pt;"&gt;eHA_RegisterDimmableLightEndPoint&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to add illuminance sensing to the device, look at the following file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\NXP\bstudio_nxp\sdk\JN-SW-4168\Components\ZCL\Profiles\HA\Lighting\Source\light_sensor.c&lt;/P&gt;&lt;P&gt;C:\NXP\bstudio_nxp\sdk\JN-SW-4168\Components\ZCL\Profiles\HA\Lighting\Include\light_sensor.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should see the following define in light_sensor.c, register light sensor:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; color: #7f0055; background: white; font-weight: inherit; font-size: 10pt;"&gt;#if&lt;/STRONG&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt; (defined CLD_ILLUMINANCE_MEASUREMENT) &amp;amp;&amp;amp; (defined ILLUMINANCE_MEASUREMENT_SERVER)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;/* Create an instance of an &lt;SPAN style="border: 0px; font-weight: inherit; text-decoration: underline; font-size: 13.3333px;"&gt;Illuminance&lt;/SPAN&gt; Measurement cluster as a server */&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;eCLD_IlluminanceMeasurementCreateIlluminanceMeasurement&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;amp;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;psDeviceInfo&lt;/SPAN&gt;-&amp;gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;sClusterInstance.sIlluminanceMeasurementServer&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;TRUE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;amp;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;sCLD_IlluminanceMeasurement&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;amp;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;psDeviceInfo&lt;/SPAN&gt;-&amp;gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;sIlluminanceMeasurementServerCluster&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;amp;au8IlluminanceMeasurementServerAttributeControlBits[0]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; color: #7f0055; background: white; font-weight: inherit; font-size: 10pt;"&gt;#&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;endif&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;And the following define in light_sensor.h, structure &lt;SPAN style="color: #005032; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;tsHA_LightSensorDeviceClusterInstances&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; color: #7f0055; background: white; font-weight: inherit; font-size: 10pt;"&gt;#if&lt;/STRONG&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt; (defined CLD_ILLUMINANCE_MEASUREMENT) &amp;amp;&amp;amp; (defined ILLUMINANCE_MEASUREMENT_SERVER)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;tsZCL_ClusterInstance&lt;/SPAN&gt; &lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;sIlluminanceMeasurementServer&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; color: #7f0055; background: white; font-weight: inherit; font-size: 10pt;"&gt;#&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;endif&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;And finally the following define in light_sensor.h, structure &lt;SPAN style="color: black; border: 0px; font-weight: inherit; text-decoration: underline; font-size: 10pt;"&gt;tsHA_LightSensorDevice&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; color: #7f0055; background: white; font-weight: inherit; font-size: 10pt;"&gt;#if&lt;/STRONG&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt; (defined CLD_ILLUMINANCE_MEASUREMENT) &amp;amp;&amp;amp; (defined ILLUMINANCE_MEASUREMENT_SERVER)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;/* &lt;SPAN style="border: 0px; font-weight: inherit; text-decoration: underline; font-size: 13.3333px;"&gt;Illuminance&lt;/SPAN&gt; Measurement Cluster - Server */&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 10pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;tsCLD_IlluminanceMeasurement&lt;/SPAN&gt; &lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;sIlluminanceMeasurementServerCluster&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; color: #7f0055; background: white; font-weight: inherit; font-size: 10pt;"&gt;#&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;endif&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 16:30:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Do-different-shared-device-structures-for-Home-Automation/m-p/608685#M1781</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-11-23T16:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Do different shared device structures for Home Automation require to be on different endpoints on a node?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Do-different-shared-device-structures-for-Home-Automation/m-p/608686#M1782</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks for the detailed reply. This is exactly the kind of information I was looking for. This will enable me to use less number of endpoints on a node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Navdeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 20:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Do-different-shared-device-structures-for-Home-Automation/m-p/608686#M1782</guid>
      <dc:creator>navdeepsinghgil</dc:creator>
      <dc:date>2016-11-28T20:31:57Z</dc:date>
    </item>
  </channel>
</rss>

