关于SIG MESH的场景设置
看了SIG MESH 的关于Model的spec 上关于场景的设置上应用有不少不明白的地方需要请教一下。
关于场景模型(Scene Model) 状态 (status) 是一种复合状态:
- 场景注册 (Scene Register) : 关于场景的注册,第一步是否是将节点设置到你所需要的状态值。例如:改变色温,亮度;
第二步,将当前状态设置为记录到场景Model。
关于Scene Recall operation 不是很理解 Spec 原文中:
Scene Recall is an operation of recalling stored values of states and applying them to the state of an
element. The structure and meaning of the stored state is determined by a model. States to be
recalled are specified by each model. The Scene Recall operation shall recall all values for all states
specified as “Stored with Scene” for all models present on an element.
A scene is recalled from memory by referencing the Scene Number. Values in the Scene Register
state are compared with the Scene Number value that is to be recalled. If a matching Scene Number
is found, the first matching scene is recalled by starting the transition of all models present on an
element to the recalled states, and the operation completes with success. If there is no matching
Scene Number in the Scene Register state, the operation completes with failure.
请问:Scene Recall operation 的作用,是否是将Scene的相关参数从flash重载。
- 当前场景 (Current Scene)
3.目标场景 (Target Scene)
请问如何从当前场景转换到目标场景:我没有在Scene Model 的操作码发现这个相关的操作码