Hello everyone,
I'm using GenericApp for this project of mine and I've noticed that in order to bind two devices, we have to use the joystick given on the SmartRF05EB board. I want my network to be such that the coordinator and a router/end point must bind and start sending messages to each other automatically, without even touching the joystick. I tried doing this, by modifying the GenericApp code. I disabled all key interrupts by using HalKeyConfig() regardless of the '#if' statements, under the function InitBoard(). I then commented out RegisterForKeys() under GenericAppInit() to prevent key events from registering.
I then copied the EDP_DeviceBindReq() function call and dstAddr addressing mode statements (Basically, everything under the "if" statement when you move the joystick to the right) under GenericApp_HandleKeys() and pasted it in the "case" statement of ZDO_CB_MSG in GenericAppProcessEvents() function after the message processing function GenericApp_ProcessZDOMsgs. I then removed the "case" of KEY_CHANGE with GenericAppHandleKeys() function under it.
Code is compiling properly. But after I flash the respective Coordinator and Router codes onto the boards, they're not binding. The LCD shows the usual "ZigBee Coord Network ID: xxxx" on the Coordinator and Router is fine too. But they're not binding and exchanging information.
I'm using the CC2530. How do I proceed from here? Thanks in advance.