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.

我想问一下在Zstack 中怎么实现按键的长短判别?不是ZHA和ZLL

目前ztack 只有在按键触发操作,不能识别按键时间长短,我想问一下怎么识别,我想尽量在Zigbee协议栈上,利用原有的API函数

  • 请下载Z-Stack Lighting 1.0.2 安装到默认路径下

    C:\Texas Instruments\Z-Stack Lighting 1.0.2\Projects\zstack\ZLL\SampleApp\Source\Light下

    参考  zll_samplelight.c 文件中的static void zllSampleLight_HandleKeys( byte shift, byte keys )

    另外网络上也有一些教程 http://blog.csdn.net/caiyunfreedom/article/details/6543253