« Back to Product

Documentation

PJ_RequestStatus

 boolean PJ_RequestStatus (int $InstanceID) 

Parameters

InstanceID

ID of the device

Returns

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

Description

Queries the current values ​​for the device with the ID InstanceID and writes it to the appropriate state variables.

Warning

This function loads the radio traffic significantly.
It should be used only when the internal timer is not to be used to implement irregular intervals. A constant interrogation of the values can ​​block the radio traffic from other participants.

Example

PJ_RequestStatus(12345); //Query values
Any questions?