« Back to Product

Documentation

MXC_SwitchMode

 boolean MXC_SwitchMode (int $InstanceID, boolean $Status) 

Parameters

InstanceID

ID of the device to be switched

Status

TRUE for On, FALSE for Off

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Switches the device with ID InstanceID to value Status

Example

MXC_SwitchMode(12345, true); //Turn on device
Any questions?