<?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: Problem when creating custom devices based on JN-AN-1189 in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021340#M8714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I could.&lt;BR /&gt;But as i will need to create several variant for several custom devices, i would prefer to understand where is my issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2020 19:27:11 GMT</pubDate>
    <dc:creator>timothee_gros</dc:creator>
    <dc:date>2020-01-30T19:27:11Z</dc:date>
    <item>
      <title>Problem when creating custom devices based on JN-AN-1189</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021338#M8712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;BR /&gt;I guess the problem is me and i have missed something obvious, but i am stuck with this one for afew days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create custom devices firmware based on JN-AN-1189&lt;/P&gt;&lt;P&gt;I can build successfully each of the&amp;nbsp;build configuration&amp;nbsp;of the App Note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i want to create variants from the orginal examples provided in the appnote, i have created a copy of the example i want to use as a basis and i tried to build it after renaming it.&lt;/P&gt;&lt;P&gt;For instance, i have made a copy of MainsPowerSwitch directory, i renamed it 'MyMainsPowerSwitch' and after creating a new build configuration and adjusting a few settings (PWD, CWD, etc..) i have been able to build it succesfully.&amp;nbsp;&lt;BR /&gt;I can now modify it as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the same for a custom DimmerSwitch. So i have made a copy of &lt;SPAN&gt;made a copy of the DimmerSwitch directory, i renamed it 'MyDimmerSwitch' and after&amp;nbsp;creating a ne build configuration "make SWITCH=myDimmerSwitch etc..." I am facing an error during compiling:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/c/NXP/bstudio_nxp/sdk/Tools/ba-elf-ba2-r36379/bin/ba-elf-gcc -c -o /c/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/MyDimmerSwitch/Build/app_start_switch.o -DCONFIG_MANUFACTURER_CODE=0x1037 -DCONFIG_APP_SW_VERSION=7 -DCONFIG_HW_VERSION=1 -DCONFIG_MANUFACTURER_NAME=\""PimpMyBee"\" -DCONFIG_MODEL_ID=\""&lt;SPAN style="background-color: #f6f6f6;"&gt;MyDimmerSwitch&lt;/SPAN&gt;"\" -DCONFIG_DATE_CODE=\"22-01-2020\" -DKEEP_ALIVETIME=6 -DSLEEP_ENABLE -DDEEP_SLEEP_ENABLE -D&lt;SPAN style="background-color: #f6f6f6;"&gt;MyDimmerSwitch&lt;/SPAN&gt; -D&lt;SPAN style="background-color: #f6f6f6;"&gt;MyDimmerSwitch&lt;/SPAN&gt; -DBUTTON_MAP_&lt;SPAN style="background-color: #f6f6f6;"&gt;MyDimmerSwitch&lt;/SPAN&gt; -DEZ_MODE_INITIATOR -DEZ_ENABLE_GROUP -DDBG_ENABLE -D&lt;SPAN style="background-color: #f6f6f6;"&gt;MyDimmerSwitch&lt;/SPAN&gt; -DPDM_USER_SUPPLIED_ID -DOTA_DEMO_BUILD=TRUE -DJN516x=5160 -DJN5169=5169 -DJENNIC_CHIP_NAME=_JN5169 -DJENNIC_CHIP_FAMILY_NAME=_JN516x -march=ba2 -mcpu=jn51xx -mredzone-size=4 -mbranch-cost=3 -fomit-frame-pointer -Os -fshort-enums -Wall -Wpacked -Wcast-align -fdata-sections -ffunction-sections -flto -DWATCHDOG_ENABLED -DJENNIC_HW_BBC_RXINCCA=1 -DJENNIC_HW_BBC_DMA=1 -DJENNIC_HW_BBC_ISA=0 -DJENNIC_SW_EXTERNAL_FLASH=0 -DJN516X_DMA_UART_BACKWARDS_COMPATIBLE_API=1 -DUART_BACKWARDS_COMPATIBLE_API=1 -DRXPOWERADJUST_SUPPORT -DJENNIC_CHIP=JN5169 -DJENNIC_CHIP_JN5169 -DJENNIC_CHIP_FAMILY=JN516x -DJENNIC_CHIP_FAMILY_JN516x -DJENNIC_STACK_ZLLHA -DJENNIC_MAC_MiniMacShim -Wall -Wunreachable-code -DEMBEDDED -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Platform/Common/Include -DJENNIC_PCB=DEVKIT4 -DJENNIC_PCB_DEVKIT4 -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Platform/DK4/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/Common/Include -DPDM_USER_SUPPLIED_ID -DPDM_EEPROM -DDBG_ENABLE -DZPS_APL_OPT_SINGLE_INSTANCE -DOTA_NO_CERTIFICATE -DPLME_SAP -I/c/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source -I/c/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source/.. -I/c/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/&lt;SPAN style="background-color: #f6f6f6;"&gt;MyDimmerSwitch&lt;/SPAN&gt;/Source -I/c/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common/Source -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/Utilities/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/Xcv/Include/ -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/Recal/Include/ -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MicroSpecific/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/HardwareApi/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/AppApi/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MAC/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MiniMac/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MMAC/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/HardwareApi/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/Aes/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/DBG/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MAC/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MicroSpecific/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MiniMAC/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/MMAC/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/TimerServer/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/Random/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZPSMAC_Mini/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/OS/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/PWRM/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZPSTSV/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/AES_SW/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/PDUM/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZPSAPL/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/Random/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/PDM_EEPROM/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/DBG/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZPSNWK_ZED/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/PDM/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZPSMAC/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZPSNWK/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Source -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/General/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/General/Source -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/Lighting/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/MeasurementAndSensing/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/EnergyAtHome/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/SE/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/GreenPower/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/HVAC/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/OTA/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/SmartEnergy/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Clusters/IAS/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Profiles/HA/Common/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Profiles/HA/Generic/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Profiles/HA/Lighting/Include -I/c/NXP/bstudio_nxp/sdk/JN-SW-4168/Components/ZCL/Profiles/GP/Include /c/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source/app_start_switch.c -MD -MF /c/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/&lt;SPAN style="background-color: #f6f6f6;"&gt;MyDimmerSwitch&lt;/SPAN&gt;/Build/app_start_switch.d -MP&lt;BR /&gt;In file included from c:/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source/app_start_switch.c:52:0:&lt;BR /&gt;c:/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source/zha_switch_node.h:88:23: error: unknown type name 'teCLD_OnOff_Command'&lt;BR /&gt;c:/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source/zha_switch_node.h:89:31: error: unknown type name 'teCLD_LevelControl_MoveMode'&lt;BR /&gt;c:/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source/zha_switch_node.h:90:27: error: unknown type name 'teCLD_LevelControl_MoveMode'&lt;BR /&gt;c:/NXP/bstudio_nxp/workspace/JN-AN-1189-ZigBee-HA-Demo/Common_Switch/Source/zha_switch_node.h:94:32: error: unknown type name 'teCLD_Identify_EffectId'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I suspect i have missed a step in my build configuration.&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 13:43:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021338#M8712</guid>
      <dc:creator>timothee_gros</dc:creator>
      <dc:date>2020-01-30T13:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating custom devices based on JN-AN-1189</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021339#M8713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could import the same project to the Beyond Studio, but change the name in the .project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 18:07:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021339#M8713</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-01-30T18:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating custom devices based on JN-AN-1189</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021340#M8714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I could.&lt;BR /&gt;But as i will need to create several variant for several custom devices, i would prefer to understand where is my issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 19:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021340#M8714</guid>
      <dc:creator>timothee_gros</dc:creator>
      <dc:date>2020-01-30T19:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating custom devices based on JN-AN-1189</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021341#M8715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where should be declared&amp;nbsp;teCLD_OnOff_Command,&amp;nbsp;teCLD_LevelControl_MoveMode&amp;nbsp;and&amp;nbsp;teCLD_Identify_EffectId ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 19:28:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021341#M8715</guid>
      <dc:creator>timothee_gros</dc:creator>
      <dc:date>2020-01-30T19:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating custom devices based on JN-AN-1189</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021342#M8716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you add the Level Control and On Off headers files in your application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 02:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Problem-when-creating-custom-devices-based-on-JN-AN-1189/m-p/1021342#M8716</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-02-04T02:49:33Z</dc:date>
    </item>
  </channel>
</rss>

