Multi Instance Cmd Encap
- class st.zwave.CommandClass.MultiChannel.MultiInstanceCmdEncap
Dynamically versioned MULTI_INSTANCE_CMD_ENCAP
Supported versions: 1,2,3,4; unique base versions: 1,2
- cmd_class: number
0x60
- cmd_id: number
0x06
- version: number
1,2
- args: st.zwave.CommandClass.MultiInstance.MultiInstanceCmdEncapV1Args or st.zwave.CommandClass.MultiChannel.MultiInstanceCmdEncapV2Args
- construct(module, args)
Construct a MULTI_INSTANCE_CMD_ENCAP object at the module instance serialization version.
- Parameters
module (
st.zwave.CommandClass.MultiChannel
) – command class module instanceargs (
st.zwave.CommandClass.MultiInstance.MultiInstanceCmdEncapV1Args or st.zwave.CommandClass.MultiChannel.MultiInstanceCmdEncapV2Args
) – command-specific arguments
- Return type
- class st.zwave.CommandClass.MultiChannel.MultiInstanceCmdEncapV2: st.zwave.Command
v2 and forward-compatible v3,v4 MULTI_INSTANCE_CMD_ENCAP
- cmd_class: number
0x60
- cmd_id: number
0x06
- version: number
2
- args: st.zwave.CommandClass.MultiChannel.MultiInstanceCmdEncapV2Args
command-specific arguments
- init(module, args)
Initialize a v2 and forward-compatible v3,v4 MULTI_INSTANCE_CMD_ENCAP object.
- Parameters
module (
st.zwave.CommandClass.MultiChannel
) – command class module instanceargs (
st.zwave.CommandClass.MultiChannel.MultiInstanceCmdEncapV2Args
) – command-specific arguments
- serialize()
Serialize v2 or forward-compatible v3,v4 MULTI_INSTANCE_CMD_ENCAP arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v2 or forward-compatible v3,v4 MULTI_INSTANCE_CMD_ENCAP payload.
- Returns
deserialized arguments
- Return type
st.zwave.CommandClass.MultiChannel.MultiInstanceCmdEncapV2Args