Part Number: LP-CC2652RB
Other Parts Discussed in Thread: SYSCONFIG, Z-STACK
Hello,
my device is supposed to periodically report measurements, just like the temperature sensor. I have configured the cluster in Z-Stack sysconfig, and I have a routine that periodically takes correct measurements. In this routine I have copied the report code that is used in the temperature example. However there are no ZCL report packets coming from the device.
This is the code I use for reporting:
// Read Temperature sensor_TemperatureMeasurement_MeasuredValue = Temperature_getTemperature() * 100; // report temperature zstack_bdbRepChangedAttrValueReq_t tempReq; tempReq.attrID = ATTRID_TEMPERATURE_MEASUREMENT_MEASURED_VALUE; tempReq.cluster = ZCL_CLUSTER_ID_MS_TEMPERATURE_MEASUREMENT; tempReq.endpoint = SENSOR_ENDPOINT; Zstackapi_bdbRepChangedAttrValueReq(sensor_serviceTaskId,&tempReq);
I am quite sure there is something simple I am missing ... thank you!