Hi all...
I´m using cc2531emk as a coordinator on ZigBee HomeAutomation network.
The cc2531emk interact with pc by Usb class cdc library, (http://processors.wiki.ti.com/index.php/CC253x_Serial_Boot_Loader)
Now I want to save on cc2531, and later send to pc by usb, the address of new devices that join the network.
To get the address os new devices i'm use ZDO_RegisterForZDOMsg( GenericApp_TaskID, Device_annce ); (http://processors.wiki.ti.com/index.php/Z-Stack_FAQ#How_to_get_the_address_of_new_devices_joining_the_network )
But " ZDO_ParseDeviceAnnce( inMsg, &msg); " give me the pointer for:
- msg.capabilities
- msg.extAddr
- msg.nwkAddr
How do I get the msg.capabilities / msg.extAddr / msg.nwkAddr and put them on a normal variable like char, or uint?