IRremoteESP8266
|
Common functions for use with all A/Cs supported by the IRac class. More...
Functions | |
String | resultAcToString (const decode_results *const result) |
Display the human readable state of an A/C message if we can. More... | |
bool | decodeToState (const decode_results *decode, stdAc::state_t *result, const stdAc::state_t *prev) |
Convert a valid IR A/C remote message that we understand enough into a Common A/C state. More... | |
Common functions for use with all A/Cs supported by the IRac class.
bool IRAcUtils::decodeToState | ( | const decode_results * | decode, |
stdAc::state_t * | result, | ||
const stdAc::state_t * | prev | ||
) |
Convert a valid IR A/C remote message that we understand enough into a Common A/C state.
[in] | decode | A PTR to a successful raw IR decode object. |
[in] | result | A PTR to a state structure to store the result in. |
[in] | prev | A PTR to a state structure which has the prev. state. |
String IRAcUtils::resultAcToString | ( | const decode_results *const | result | ) |
Display the human readable state of an A/C message if we can.
[in] | result | A Ptr to the captured decode_results that contains an A/C mesg. |