Part Number: CC2530
Hello everyone.
I am using zstack3.0.1.
Then I have one question as following.
Is it possible to send data directly from the coordinator to end device with a end device ieee address?
I have tried as following,
static uint8 SendToEndDevice(ZLongAddr_t extAddr)
{
int nRet = RET_FAILED;
//Unicast
EasenLock_Periodic_DstAddr.addrMode = (afAddrMode_t)Addr16Bit;
EasenLock_Periodic_DstAddr.endPoint = EasenLock_ENDPOINT;
osal_memcpy(EasenLock_Periodic_DstAddr.addr.extAddr,extAddr,8);
if ( AF_DataRequest( &EasenLock_Periodic_DstAddr, &EasenLock_epDesc,
EasenLock_PERIODIC_CLUSTERID,
PACKET_SIZE,
(uint8 *)g_bSendDataBuf,
&EasenLock_TransID,
0,
AF_DEFAULT_RADIUS ) == afStatus_SUCCESS )
{
nRet = RET_SUCCESS;
}
return nRet;
}
But my End device can't capture any packet from coordinator.
The transport of the packet was confirmed with a sniffer.
Please help me.
Thanks in advance.
Piao