User guide

External control user guide
March 27, 2015 Version 1.7.2.0 55
char data = cEOM;
};
//---- Messages
/* mNak: Negative Acknowledge. Response sent to client upon receipt of
unintelligible data. This could be due to a communications error or to
data out of order. An mNak is not necessarily sent for every byte of bad
data. */
struct mNak {
fType = cNAK;
};
/* mSetValue: Set Control Value. Request sent by a client to set the value
of a control identified by a control alias. */
struct mSetValue {
fType type = cSETVALUE;
fUid id;
fVal val;
fEom eom;
};
/* mGetValue: Get Control Value. Request sent by a client requesting the
value of a control identified by a control alias. */
struct mGetValue {
fType type = cGETVALUE;
fUid id;
fEom eom;
}};
/* mValue: Control Value. Response sent to the client acknowledging an
mGetValue or mSetValue. Note that it is possible, and normal in some
cases, that the val field will not match the val that was sent in the
mSetValue. */
struct mValue {
fType type = cVALUE;
fUid id;
fVal val;
fEom eom;
};