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.

CC2652P: collecter Demo Can't Associate other collecter

Part Number: CC2652P
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK

Hi, TI team

I use 15.4 stack .SDK simplelink_cc13x2_26x2_sdk_4_20_00_35

I want use Collecter Demo associate other collector.But I found that the Collecter Demo call ApiMac_mlmeAssociateReq(&assocReq) Can't successful.

The Sensor Demo can associate success.

my collecter code :

void wpan_mlme_associate_req(uint8_t LogicalChannel,
                             uint8_t ChannelPage,
                             ApiMac_sAddr_t *CoordAddrSpec,
                             bool CapabilityInformation,
                             uint16_t PANID)
{
    ApiMac_mlmeAssociateReq_t associate_req;

    associate_req.sec.securityLevel = ApiMac_secLevel_none;
    associate_req.logicalChannel = 11/*LogicalChannel*/;
    associate_req.channelPage = 0/*ChannelPage*/;
    associate_req.phyID = CONFIG_PHY_ID;

    associate_req.coordAddress.addrMode = ApiMac_addrType_short/*CoordAddrSpec->addrMode*/;
    associate_req.coordAddress.addr.shortAddr = 12/*CoordAddrSpec->addr.shortAddr*/;
    //memcpy(associate_req.coordAddress.addr.extAddr, &CoordAddrSpec->addr.extAddr, APIMAC_SADDR_EXT_LEN);
    associate_req.coordPanId = 1/*PANID*/;
    associate_req.capabilityInformation.allocAddr = true/*CapabilityInformation*/;
    associate_req.capabilityInformation.ffd = false;
    associate_req.capabilityInformation.mainsPower = false;
    associate_req.capabilityInformation.panCoord = false;
    associate_req.capabilityInformation.rxOnWhenIdle = true;
    associate_req.capabilityInformation.security = false;
    ApiMac_mlmeAssociateReq(&associate_req);
}

the Associate Confirmation callback status 0x18, I can't know the error code.

Is collector project can't use ApiMac_mlmeAssociateReq()?

The Sensor Demo call  ApiMac_mlmeAssociateReq(&associate_req):

the collector call ApiMac_mlmeAssociateReq(&associate_req):

  • Hi liu,

    15.4-Stack only operates in a star network, where multiple end nodes (i.e. sensors) only connect to a central node (i.e. collector).  Hence there cannot be multiple collectors connected to each other in a single network.  Collectors cannot request association and this is why the ApiMac_status_unsupported (0x18) status is returned on ApiMac_mlmeAssociateReq.  If you require a 2.4 GHz mesh network (using multiple interconnected routing devices) then Zigbee or Thread stacks are better alternatives.  You can browse the SIMPLELINK-CC13X2-26X2-SDK TIREx documentation for more information

    Regards,
    Ryan