This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: z-stack inter pan 相关问题

Part Number: CC2530

我用一个协调器向另一个协调器发送INTERPAN 消息,为什么另一个协调器收不到消息?

以下是我的发送代码。

SampleApp_interPan_DstAddr.addrMode = (afAddrMode_t)Addr16Bit;
SampleApp_interPan_DstAddr.panId = 0x000B;
//
SampleApp_epDesc.endPoint = STUBAPS_INTER_PAN_EP;
StubAPS_SetInterPanChannel(0x0B);
StubAPS_RegisterApp(&SampleApp_epDesc);

uint8 byData[10];

byData[0] = ((_NIB.nwkPanId >> 8) & 0xFF);
byData[1] = ((_NIB.nwkPanId ) & 0xFF);


if ( AF_DataRequest( &SampleApp_interPan_DstAddr, &SampleApp_interPan_epDesc,
CID_INTER_C2E_PANID,
10,
&byData[0],
&SampleApp_interPan_TransID,
AF_DISCV_ROUTE,
AF_DEFAULT_RADIUS ) == afStatus_SUCCESS )
{
}
else
{

}