HI,
I did a test with Generic App so I change the sending sequence to send directly to coordinator without binding as
char theMessageData[] = "Hello World";
GenericApp_DstAddr.addrMode = (afAddrMode_t)Addr16Bit;
GenericApp_DstAddr.addr.shortAddr = 0x0000;
GenericApp_DstAddr.endPoint = GENERICAPP_ENDPOINT;
if ( AF_DataRequest( &GenericApp_DstAddr, &GenericApp_epDesc,
GENERICAPP_CLUSTERID,
(byte)osal_strlen( theMessageData ) + 1,
(byte *)&theMessageData,
&GenericApp_TransID,
AF_ACK_REQUEST | AF_DISCV_ROUTE, AF_DEFAULT_RADIUS ) == afStatus_SUCCESS )
So my questions are:
1- normaly if the flag -DZDAPP_CONFIG_PAN_ID=0xFFFF is set the PAN_ID should be the last (Last 2 Bytes) of the IEEE Adress (Unique) why the PAN-ID change if coordinator restartet?
2- I switch off coordinator and the End device still on. I restart Coordinator and the Enddevice rejoin the network but not send any Packet to ccordinator? why? is it while the Coord. change the PAN_ID (as in question 1)?
3- how can I do changes that enddevice rejoin neu formed Network if Coordinator restart?