MCU Information
The MCU Information query, whose code is iMCU
, can be used by the client to retrieve the latest mcu data stored at the server.
The client → server query takes the form:
While the server response, instead of using a standard control query, it mirrors the structure of the additional information from the SmartMCU login query:
Where the variableSERVO_COUNT
is a single uint8_t
binary value representing the number of servos the selected mcu has, and each SERVOPOS(i)
variable is a single uint8_t
binary value in the range [1→180], for the current position of the servo with ID=i.
In the event an error occurs, the server response will use an error control query, with the following possible error codes:
_NACK_InvalidQuery
(uint8_t c=255
) → If the query format is invalid: contains null-bytes, invalid header or tail sequences, or the query function code is not recognized._NACK_NoActiveMCU
(uint8_t c=254
) → If client has not selected a mcu before issuing the MCU Information command.
The possible communication schemas for this query take the following form:

