尊敬的TI工程师,论坛好友们:
大家好!最近在做CC2530的情景控制功能,协议栈用的是HA1.2.2a。在基于zha标准的GROUP和SCENE来实现的情景控制。如何实现情景延时?
具体情况是:某一情景被触发,到实现这个情景控制之间的延时。SCENE的参数里面有Scene transition time和TransitionTime100ms,它们如何实现,是需要用户在应用层编写代码实现这个情景延时功能吗?请指导!谢谢!
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.
尊敬的TI工程师,论坛好友们:
大家好!最近在做CC2530的情景控制功能,协议栈用的是HA1.2.2a。在基于zha标准的GROUP和SCENE来实现的情景控制。如何实现情景延时?
具体情况是:某一情景被触发,到实现这个情景控制之间的延时。SCENE的参数里面有Scene transition time和TransitionTime100ms,它们如何实现,是需要用户在应用层编写代码实现这个情景延时功能吗?请指导!谢谢!
// The format of a Scene Table Entry
typedef struct
{
uint16 groupID; // The group ID for which this scene applies
uint8 ID; // Scene ID
uint16 transTime; // Time to take to transition to this scene
uint16 transTime100ms; // Together with transTime, this allows transition time to be specified in 1/10s
uint8 name[ZCL_GEN_SCENE_NAME_LEN]; // Scene name
uint8 extLen; // Length of extension fields
uint8 extField[ZCL_GEN_SCENE_EXT_LEN]; // Extension fields
} zclGeneral_Scene_t;
格式如上。
TI 诚邀您参加全新设计的产品页面测试,参加测试即可享有 TI 购物 9 折优惠码,点击加入 EP产品页面测试报名,名额有限。感谢您的参与!