Hi
i’m reading and building ZWave+ device handler, and come into:
0x98 Security
Commands to and from security-sensitive devices can be sent encrypted by wrapping them in SecurityMessageEncapsulation commands.
do you know what is that means? and from a sample code i found things like this:
// Devices that support the Security command class can send messages in an
// encrypted form; they arrive wrapped in a SecurityMessageEncapsulation
// command and must be unencapsulated
def zwaveEvent(physicalgraph.zwave.commands.securityv1.SecurityMessageEncapsulation cmd) {
def encapsulatedCommand = cmd.encapsulatedCommand([0x98: 1, 0x20: 1])
// can specify command class versions here like in zwave.parse
if (encapsulatedCommand) {
return zwaveEvent(encapsulatedCommand)
}
}
do you know how to determine: value of: 98 = 1 and 20 = 1
from code :cmd.encapsulatedCommand([0x98: 1, 0x20: 1])
Thank you in advance!
AnD