Hello everyone,
I hope you are all
doing great. I would really appreciate your help in solving a problem I
have been facing for more than 2 weeks now. I am a new programmer using
the Z-stack (v1.4.3-1.2.1). I am currently working with the Zigbee
Simple Api and using the application SimpleApp (with CC2430).
Conceptually
my project consists of a wireless sensor network, formed using the
Zigbee standard and a Finite State Machine (which beings operation
right after the Zigbee network is formed). I have found the SimpleApp
project and wanted to build on it and extend its functionality by
adding my FSM.
I have NOT been able to determine where in the
code of SimpleApp can I add my own code to call the FSM. I tried a
simpler operation (writing an message to the LCD) but still have not
been able to do that.
What I want to know specifically (and I am
happy to provide more details if someone needs it) is where in the
SimpleApp code (which file or files) can I add my own code so I can add
extra functions (like writing a simple message to LCD and calling my
FSM to start working) to SimpleApp.
I have looked at some files
already in SimpleApp (including ZDApp.c and thought and added extra
code, after line 436 (if you are using IAR EW8051 IDE) but it does not
seem to have worked at all). I would really appreciate any help from
more experienced developers.
Thank you very much
Hazem Awad