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):