Other Parts Discussed in Thread: SYSCONFIG, SIMPLELINK-CC13X2-26X2-SDK
Hi,
I am trying to perform a InterPan message between two devices(both routers).
>> Device 1 - Factory New Router - PANID - 0xFFFF, set in SysConfig
I am able to send the InterPan message after performing (INTER_PAN defined)
StubAPS_RegisterApp( &zclLightstesterEpDesc );
StubAPS_SetInterPanChannel(21);
and am sending a broadcast message to PAN_ID 1234. I am able to capture the packet on the sniffer.
>> Device 2 - Factory New Router - PANID - 0x1234, set in SysConfig
Unable to receive the message. Have already registered the app as required and set the channel. ((INTER_PAN defined))
StubAPS_RegisterApp( &zclLightstesterEpDesc );
StubAPS_SetInterPanChannel(21);
The Primary channel is 21 as well and the Symbol INTER_PAN has been defined.
===
Mesasge being sent:
uint8 msgBufLen = 4;
uint msgId = 0;
afAddrType_t dstaddr;
dstaddr.addr.shortAddr = NWK_BROADCAST_SHORTADDR_DEVZCZR;
dstaddr.addrMode = afAddrBroadcast;
dstaddr.endPoint = STUBAPS_INTER_PAN_EP;
dstaddr.panId = 0x1234;
ZStatus_t status = zcl_SendCommand( 8, &dstaddr, CUSTOM_ZCL_CLUSTER_ID,
CUSTOM_ZCL_COMMAND_APP_MSG, TRUE, ZCL_FRAME_CLIENT_SERVER_DIR,
1, 0, msgId , msgBufLen, msgBuf);
Sent successfully
===
Please could you advise why I am not able to receive the INTER_PAN message. Are there any additional changes that need to be performed ?
Thanks
Akhilesh