Other Parts Discussed in Thread: CC2530, Z-STACK
Hi,
I am trying to write a hybrid code for ZNP where it can be used with ZAP as well as standalone it can send/recieve few data without any ZAP for basic applications.
The problem I am facing is that if I use "AF_REGISTER" default in the ZNP code then I can use AF_DATA_REQUEST without any problem but ZB_SEND_DATA_REQUEST command is not working. If I use ZB_APP_REGISTER_REQUEST and then call ZB_SEND_DATA_REQUEST it works fine.
The reason I am using ZB_SEND_DATA_REQUEST is that I am able to use binding by specifying DestAddr : 0xFFFE which is not possible in AF_DATA_REQUEST.
I looked at Zstack SIMPLE API document it has zb_SendDataRequest but nothing as zb_RegisterRequest or something similar which I can call ?
Please let me know how to solve this issue ?
Regards
Bishan Preet Singh