« Back to Product

Documentation

PJ_RequestStatus

 boolean PJ_RequestStatus (int $InstanceID) 

Parameters

InstanceID

Device ID

Returns

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

Description

Queries the current values for the device with the ID InstanceID and writes them to the corresponding status variables.

Warning

This function places a significant load on radio traffic.
It should only be used if the internal timer is not to be used to implement uneven intervals. A constant query of the values may block the radio traffic of other participants.

Example

//Queries the current values of instance 12345.
PJ_RequestStatus(12345);
Any questions?