Documentation
ZW_ProtectionSet
boolean ZW_ProtectionSet (int $InstanceID, int $Mode)
Parameters
| InstanceID | Device ID |
| Mode | 0..255 |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sets the Protection and its Mode Mode from the specified device with InstanceID InstanceID
| Mode | Integer-Value |
|---|---|
| Off | 0 |
| Limited | 1 |
| On | 2 |
Example
ZW_ProtectionSet(12345, 1);