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.

CC2652R: CC2652R

Part Number: CC2652R
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK, LAUNCHXL-CC26X2R1

>> You only need one ICall_EntityID for your application but you will need to register multiple endpoints, clusters, and attributes. Please refer to the SensorTag application code for an example of how this can be    >> accomplished.

>>Regards,
>>Ryan

I have one question, if the case of there are many endpoints at same ICall_EntityID.

When perform BINDING with Zstackapi_bdbStartCommissioningReq(ICall_EntityID appEntity, zstack_bdbStartCommissioningReq_t *pReq),

Because is called with "ICall_EntityID appEntity" only, so how do I know that which endpoint is binding?

Example with SimpleLink CC26X2 SDK (2.30.00.34) light&switch application

static ICall_EntityID  zclSampleSw_Entity;

.......................................

  //Register Endpoint
  zclSampleSwEpDesc.endPoint = SAMPLESW_ENDPOINT;
  zclSampleSwEpDesc.simpleDesc = &zclSampleSw_SimpleDesc;
  zclport_registerEndpoint(zclSampleSw_Entity, &zclSampleSwEpDesc);

  //Register Endpoint1
  zclSampleSwEpDesc1.endPoint = SAMPLESW_ENDPOINT1;
  zclSampleSwEpDesc1.simpleDesc = &zclSampleSw_SimpleDesc1;
  zclport_registerEndpoint(zclSampleSw_Entity, &zclSampleSwEpDesc1);

.....................................

binding with: Zstackapi_bdbStartCommissioningReq(zclSampleSw_Entity,&zstack_bdbStartCommissioningReq);

so, what endpoint is binding by above function (SAMPLESW_ENDPOINT or SAMPLESW_ENDPOINT1)?