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: how to send data between end device and coordinator in Z-Stack

Part Number: CC2652P

Hi,

In the zc_temperaturesensor and zed_temperaturesensor example projects, the following code is used to send data between coordiantor and end devices:

Req.attrID = ATTRID_TEMPERATURE_MEASUREMENT_MEASURED_VALUE;
Req.cluster = ZCL_CLUSTER_ID_MS_TEMPERATURE_MEASUREMENT;
Req.endpoint = SAMPLETEMPERATURESENSOR_ENDPOINT;
Zstackapi_bdbRepChangedAttrValueReq(appServiceTaskId,&Req);

Is there any other API that be called to directly send data between coordinator and end devices without using ZCL? Such as addressing devices with their short addresses, e.g. 0x0000 for coordinator, and 0x0032 for an end device?

The closest ones that I can find are:

extern zstack_ZStatusValues Zstackapi_AfDataReq(uint8_t appEntity,
                                                zstack_afDataReq_t *pReq);
                                                

afStatus_t AF_DataRequest( afAddrType_t *dstAddr, endPointDesc_t *srcEP,
                             uint16_t cID, uint16_t len, uint8_t *buf, uint8_t *transID,
                             uint8_t options, uint8_t radius );

But both functions still require clusterID and endpointID in their parameer lists. 

Thanks in advance,

ZL