 |
| Author |
Message |
|
|
Posted: May 01, 2012 - 06:56 AM |
|

Joined: Dec 10, 2010
Posts: 70
|
|
I'm using a ATMEGA128RFA1 for a two semester design project at my university (EE major obviously). I have lots of experience with normal AVR MCUs, never done anything with wireless or zigbee before so this is all new to me.
Anyways I have been reading through a lot of the documentation about how the stack works but am kind of confused about how to actually build a new application using the stack from scratch. The dev guide says how every application must contain this function and that function and I get that part. The part I don't understand is which files do I need to include to implement the stack? Bare bones here, no HAL, just enough that a simple bare bones zigbee program would use. I looked at the demo applications and the "blink" one seems to only include ZDO.h, and when I opened that I noticed that the included files in that file include other parts of the stack. So is this the key? None of the guides included in the documentation really say where to start. They list the major components of the stack, but which files do I actually need to include to start?
Also suppose I wanted to place all the files used from the stack in a single directory (like for giving to somebody later if they want to compile it through AVR studio), if I knew which core files are needed I could make a more "lightweight" program directory as the bitcloud file structure seems to be quite complicated since it contains numerous files for different configurations. Not sure if this can be done, but just wondering.
Hope these questions make sense. Thanks. |
|
|
| |
|
|
|
|
|
Posted: May 04, 2012 - 10:40 PM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
You need all of the files there (at least all includes, you may pick and choose library binaries, of course).
The way you start development is by cloning any sample application and modifying it. It is very hard to create your own application from the ground up. |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: May 11, 2012 - 02:58 AM |
|

Joined: Dec 10, 2010
Posts: 70
|
|
| Ok thanks, that's what I was going to do if I couldn't do what I was asking. Thanks for the advice. |
|
|
| |
|
|
|
|
|
|
|