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.

zcl_SendReportCmd()函数的响应函数

SendReport的响应的函数有没有例子,case ZCL_CMD_REPORT:要执行的函数

zcl_SendReportCmd()函数的响应

  • HA里面的sampleTemperatureSensor 到sampleThermostat再到SampleHearting CoolingUnit,之间都是用的report,怎么会没有例子呢?

    sampleTemperatureSensor 里按键会调用zclSampleTemperatureSensor_SendTemp() 发送report,

    sampleThermostat里在如下函数处理:

    case ZCL_CMD_REPORT:
    zclSampleThermostat_ProcessInReportCmd( pInMsg );
    break;