User manual

Automation Protocol Extended Status Commands
Miranda Technologies Ltd Page 142
Example:
void SetClockOffset(int Reference,
int ClockOffset)
{
remote_send(“XJ%1x%06x”, Reference,
ClockOffset);
}
The command XJ alternatively responds with the current clock offset related
to the reference mode.
Format Field Description
%c%c Cmd XJ
%x Reference Current reference mode
%06x Clock Offset Current clock offset for the reference
%06x Minimum Minimum accepted reference value
(-1 indicates no minimum)
%06x Maximum Maximum accepted reference value
(-1 indicates no maximum)
Get Serial Number XK
This command returns the eight digit serial number of a unit.
CMD
XK
Example:
void GetSerialNumber()
{
remote_send(“XK”);
}
Then the command will return the serial number as follow:
Format Field Description
%c%c Cmd XK
%08d Serial Number Imagestore Serial Number