|
Kangaroo Library for Arduino
Use reliable Packet Serial to communicate with your Kangaroo.
|
Stores the response to a status request. More...
Public Member Functions | |
| char | channel () const |
| KangarooStatusFlags | flags () const |
| KangarooGetType | type () const |
| int32_t | value () const |
| boolean | busy () const |
| KangarooError | error () const |
| boolean | done () const |
| boolean | ok () const |
| boolean | timedOut () const |
Stores the response to a status request.
Returned by KangarooChannel::getP(), KangarooMonitor::status(), and others.
|
inline |
Gets whether a recently-requested command is still executing. For example, KangarooChannel::p() is busy while the channel is getting into position, and KangarooChannel::home() is busy while the channel is homing.
|
inline |
Gets the channel name.
|
inline |
Gets whether a recently-requested command has completed execution. For example, KangarooChannel::p() is done when the channel is in position.
|
inline |
If the response is an error, gets the error.
|
inline |
Gets the status flags associated with this response.
|
inline |
Gets whether the response is not an error and KangarooStatus::value() is the requested value.
|
inline |
Gets whether a timeout has occurred.
|
inline |
Gets the type of the request.
|
inline |
Gets the value associated with this response.