Because of the Fourth of July holiday, TI E2E design support forum responses may be delayed from July 3 through July 4. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Modifying exiting ZigBee sample application

Other Parts Discussed in Thread: Z-STACK

Hi,

I am trying to adapt the location engine source code example for my project, "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Samples\Location".

In the app note "Create New Application For The CC2430DB" F8W-2005-0033. It says you have to copy that folder and rename some files and the content of some of them, but once done I don´t know how to start codding:

- which part of the code should be kept?? 

- which part of the code should be deleted??

-where have I got to write my new code??

I wonder if anyone knows about any tutorial or similar document.

Thanks,

Javier.

  • same question on how to program use of those variables, why no one follow up

  • JAVIER said:

    Hi,

    I am trying to adapt the location engine source code example for my project, "C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Samples\Location".

    In the app note "Create New Application For The CC2430DB" F8W-2005-0033. It says you have to copy that folder and rename some files and the content of some of them, but once done I don´t know how to start codding:

    - which part of the code should be kept?? 

    - which part of the code should be deleted??

    -where have I got to write my new code??

    I wonder if anyone knows about any tutorial or similar document.

    Thanks,

    Javier.

    i have the same questions but no luck so far

     

  • Firstly, it is helpful to open the project in IAR Embedded Workbench to identify which files are pulled in to build the application.  Some of the directories have a handful of files that are used by different sample application examples.

    If you use the Create New Application For The CC2430DB document as a guide, the files inside the GenericApp are really where you start your application development.  You will not find main().  The Z-Stack acts as an operating system and has a set of call back functions which you start to implement in the files provided.  You can define, specify and register tasks, etc. to the Z-Stack for event handling and the like.