Other Parts Discussed in Thread: Z-STACK
Hi all, I'm using CC2480 to develop a zigbee based device locator. It's my first time working with zigbee devices.
I started studying the ZASA example (with EZ430-RF2480 kit). My objective is to make a low powered device send a broadcast message using the AF layer and read the "Link Quality" byte received by the routers and make that byte part of the already implemented report that is sent to the coordinator by SAPI commands (along with temperature and bus voltage readings) . However, I can't make the AF Data Request arrive at the router at all.
ZASA already makes his register/bind/join using simple api, so i just added along with ZB_APP_REGISTER_REQUEST an AF_REGISTER command (which, i presume, is not part of the simple api) and implemented functions to transmit and receive using AF commands. It didnt work. When using AF to transmit should i have to also bind and join using the z-stack ZDO commands? What commands should i use for that? Simple API is kinda understandable but Z-Stack got me confused. I'm not sure where should i use ZDO_END_DEVICE_BIND_REQ and ZDO_BIND_REQ and which parameters to fill these commands with. also, is it necessary to announce the endpoint if im using SAPI to bind into the network?
If the above explanation is too messed up, does anyone have an example of CC2480 software using Z-stack instead of SAPI?
Hmm lots of questions, bad english, i hope you can understand me.
Thanks,
MrGuga