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.

ZStack1.0.2版本SAMPLELIGHT_ENDPOINT2有什么作用



附件是在ZStack1.0.2版本zll_samplelight.h中的程序片段截图,此版本与1.0.1版本对比增加了SAMPLELIGHT_ENDPOINT2定义,这样设备入网时就要发送两条数据,不知道这个变量有什么作用,是不是专为ZLLRC遥控器设计的,用来区别Beabone网关?

  • Teddy,

    你好!

    支持SAMPLELIGHT_ENDPOINT2,主要为了能够兼容ZLL bridge的ZLL simple descriptor request!

    在zllSampleLight_SimpleDesc2里面的Device ID是ZLL中Light  所要求的device id。

    Light在ZLL profile对应的device id是0x0200,但是这个id在HA profile中对应的设备是窗帘。