Hello All,
I am using CC2530 ZNP kit.Now i want to transmit data from one node to another node in a Zigbee network.For that i need to know the Network address of the destination device.i have used the API as below.
unsigned char* nwk =zdoNetworkAddressRequest(R_MAC_ADDR,SINGLE_DEVICE_RESPONSE,0); printZdoNetworkAddressResponse(nwk);
and i have stored the MAC Addressin an array lik this
unsigned char R_MAC_ADDR[] = { 0x5D,0x81,0xCA,0x01,0x00,0x4B,0x12,0x00 };
but while the network is running i can't able to get the correct NWk Address...why?
Please help me....
thanks in advance..
Sathyaraj.
Hello,
I have exactly the same problem, I have stored the MAC address like you .
But i use printZdoNetworkAddressResponse(&nwk);
In result, I can see the mac address but shifted :
00 00 12 4B 00 01 CA 8A instead of 00 12 4B 00 01 CA 8A 5D
and in place of the short address, i have the end of the MAC address ...
Did you solve the problem ?
thank,
Antoine