Tasmota/lib/lib_basic/IRremoteESP8266-2.7.15/docs/doxygen/html/classIRMideaAC.html

1928 lines
98 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRMideaAC Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">IRremoteESP8266
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRMideaAC-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRMideaAC Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Midea A/C messages.
<a href="classIRMideaAC.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ir__Midea_8h_source.html">ir_Midea.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRMideaAC:</div>
<div class="dyncontent">
<div class="center"><img src="classIRMideaAC__coll__graph.png" border="0" usemap="#IRMideaAC_coll__map" alt="Collaboration graph"/></div>
<map name="IRMideaAC_coll__map" id="IRMideaAC_coll__map">
<area shape="rect" title="Class for handling detailed Midea A/C messages." alt="" coords="49,95,143,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionMideaProtocol.html" title="Native representation of a Midea A/C message." alt="" coords="96,5,211,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1ef2f532a1e6c6bfe89617d3fd0d9082"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a1ef2f532a1e6c6bfe89617d3fd0d9082">IRMideaAC</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a1ef2f532a1e6c6bfe89617d3fd0d9082"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor. <a href="classIRMideaAC.html#a1ef2f532a1e6c6bfe89617d3fd0d9082">More...</a><br /></td></tr>
<tr class="separator:a1ef2f532a1e6c6bfe89617d3fd0d9082"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc584e07406e1811acfb26f6cd5383cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#acc584e07406e1811acfb26f6cd5383cd">stateReset</a> (void)</td></tr>
<tr class="memdesc:acc584e07406e1811acfb26f6cd5383cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the state of the remote to a known good state/sequence. <a href="classIRMideaAC.html#acc584e07406e1811acfb26f6cd5383cd">More...</a><br /></td></tr>
<tr class="separator:acc584e07406e1811acfb26f6cd5383cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af66b9f76ad794450a0a7eace4bb59300"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#af66b9f76ad794450a0a7eace4bb59300">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#aa8876e8e177b8e71154f8cfb42b19160">kMideaMinRepeat</a>)</td></tr>
<tr class="memdesc:af66b9f76ad794450a0a7eace4bb59300"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRMideaAC.html#af66b9f76ad794450a0a7eace4bb59300">More...</a><br /></td></tr>
<tr class="separator:af66b9f76ad794450a0a7eace4bb59300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4077604c2af56783f95a0a64eda7148b"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a4077604c2af56783f95a0a64eda7148b">calibrate</a> (void)</td></tr>
<tr class="memdesc:a4077604c2af56783f95a0a64eda7148b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRMideaAC.html#a4077604c2af56783f95a0a64eda7148b">More...</a><br /></td></tr>
<tr class="separator:a4077604c2af56783f95a0a64eda7148b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac36b6aa76b6b98ab186cd1d5ad9246b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ac36b6aa76b6b98ab186cd1d5ad9246b4">begin</a> (void)</td></tr>
<tr class="memdesc:ac36b6aa76b6b98ab186cd1d5ad9246b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRMideaAC.html#ac36b6aa76b6b98ab186cd1d5ad9246b4">More...</a><br /></td></tr>
<tr class="separator:ac36b6aa76b6b98ab186cd1d5ad9246b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8dde03cb641a5af4f2ef0dcf70f1ca0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a> (void)</td></tr>
<tr class="memdesc:af8dde03cb641a5af4f2ef0dcf70f1ca0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to on. <a href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">More...</a><br /></td></tr>
<tr class="separator:af8dde03cb641a5af4f2ef0dcf70f1ca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29fbafcf47dc41475d009c4c92b2917b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a29fbafcf47dc41475d009c4c92b2917b">off</a> (void)</td></tr>
<tr class="memdesc:a29fbafcf47dc41475d009c4c92b2917b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to off. <a href="classIRMideaAC.html#a29fbafcf47dc41475d009c4c92b2917b">More...</a><br /></td></tr>
<tr class="separator:a29fbafcf47dc41475d009c4c92b2917b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8341f8d3d553d8b0ed9270cc15fc8ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ab8341f8d3d553d8b0ed9270cc15fc8ec">setPower</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:ab8341f8d3d553d8b0ed9270cc15fc8ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting. <a href="classIRMideaAC.html#ab8341f8d3d553d8b0ed9270cc15fc8ec">More...</a><br /></td></tr>
<tr class="separator:ab8341f8d3d553d8b0ed9270cc15fc8ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4dd8a532419cd2d8f5656df3e5a23e2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ad4dd8a532419cd2d8f5656df3e5a23e2">getPower</a> (void) const</td></tr>
<tr class="memdesc:ad4dd8a532419cd2d8f5656df3e5a23e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting. <a href="classIRMideaAC.html#ad4dd8a532419cd2d8f5656df3e5a23e2">More...</a><br /></td></tr>
<tr class="separator:ad4dd8a532419cd2d8f5656df3e5a23e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7904de4572d80c0eafe4975682b3ea29"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a7904de4572d80c0eafe4975682b3ea29">getUseCelsius</a> (void) const</td></tr>
<tr class="memdesc:a7904de4572d80c0eafe4975682b3ea29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the device currently using Celsius or the Fahrenheit temp scale? <a href="classIRMideaAC.html#a7904de4572d80c0eafe4975682b3ea29">More...</a><br /></td></tr>
<tr class="separator:a7904de4572d80c0eafe4975682b3ea29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eeb72ddd2b9867c2f9c392080b9c1ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a1eeb72ddd2b9867c2f9c392080b9c1ed">setUseCelsius</a> (const bool celsius)</td></tr>
<tr class="memdesc:a1eeb72ddd2b9867c2f9c392080b9c1ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the A/C unit to use Celsius natively. <a href="classIRMideaAC.html#a1eeb72ddd2b9867c2f9c392080b9c1ed">More...</a><br /></td></tr>
<tr class="separator:a1eeb72ddd2b9867c2f9c392080b9c1ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42f79e73f418d5267eed7ba5b0e266f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a42f79e73f418d5267eed7ba5b0e266f5">setTemp</a> (const uint8_t temp, const bool useCelsius=false)</td></tr>
<tr class="memdesc:a42f79e73f418d5267eed7ba5b0e266f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature. <a href="classIRMideaAC.html#a42f79e73f418d5267eed7ba5b0e266f5">More...</a><br /></td></tr>
<tr class="separator:a42f79e73f418d5267eed7ba5b0e266f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a319f5ca24e977a6b7f0df93324dab63e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a319f5ca24e977a6b7f0df93324dab63e">getTemp</a> (const bool useCelsius=false) const</td></tr>
<tr class="memdesc:a319f5ca24e977a6b7f0df93324dab63e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRMideaAC.html#a319f5ca24e977a6b7f0df93324dab63e">More...</a><br /></td></tr>
<tr class="separator:a319f5ca24e977a6b7f0df93324dab63e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99270b5f488ebcf3b0ef73d9697399a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a99270b5f488ebcf3b0ef73d9697399a0">setSensorTemp</a> (const uint8_t temp, const bool useCelsius=false)</td></tr>
<tr class="memdesc:a99270b5f488ebcf3b0ef73d9697399a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sensor temperature. <a href="classIRMideaAC.html#a99270b5f488ebcf3b0ef73d9697399a0">More...</a><br /></td></tr>
<tr class="separator:a99270b5f488ebcf3b0ef73d9697399a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed0a7ef0acb6e7b7c83ed6722a80a7f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a3ed0a7ef0acb6e7b7c83ed6722a80a7f">getSensorTemp</a> (const bool useCelsius=false) const</td></tr>
<tr class="memdesc:a3ed0a7ef0acb6e7b7c83ed6722a80a7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current Sensor temperature setting. <a href="classIRMideaAC.html#a3ed0a7ef0acb6e7b7c83ed6722a80a7f">More...</a><br /></td></tr>
<tr class="separator:a3ed0a7ef0acb6e7b7c83ed6722a80a7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89eede8ecf61bc05a7c53e49706361a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a89eede8ecf61bc05a7c53e49706361a2">setEnableSensorTemp</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:a89eede8ecf61bc05a7c53e49706361a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the remote's Sensor temperature. <a href="classIRMideaAC.html#a89eede8ecf61bc05a7c53e49706361a2">More...</a><br /></td></tr>
<tr class="separator:a89eede8ecf61bc05a7c53e49706361a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a313effc2012af55df719edff56c9ccea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a313effc2012af55df719edff56c9ccea">getEnableSensorTemp</a> (void) const</td></tr>
<tr class="memdesc:a313effc2012af55df719edff56c9ccea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the remote temperature sensor enabled? <a href="classIRMideaAC.html#a313effc2012af55df719edff56c9ccea">More...</a><br /></td></tr>
<tr class="separator:a313effc2012af55df719edff56c9ccea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a546eeca4eea015899a5ad9f5d1c6fafb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a546eeca4eea015899a5ad9f5d1c6fafb">setFan</a> (const uint8_t fan)</td></tr>
<tr class="memdesc:a546eeca4eea015899a5ad9f5d1c6fafb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan. <a href="classIRMideaAC.html#a546eeca4eea015899a5ad9f5d1c6fafb">More...</a><br /></td></tr>
<tr class="separator:a546eeca4eea015899a5ad9f5d1c6fafb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38a0c175fead133026a0079c36e3e8ce"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a38a0c175fead133026a0079c36e3e8ce">getFan</a> (void) const</td></tr>
<tr class="memdesc:a38a0c175fead133026a0079c36e3e8ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRMideaAC.html#a38a0c175fead133026a0079c36e3e8ce">More...</a><br /></td></tr>
<tr class="separator:a38a0c175fead133026a0079c36e3e8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b92f25a82741ae404e8f9af8dbca3a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a3b92f25a82741ae404e8f9af8dbca3a8">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a3b92f25a82741ae404e8f9af8dbca3a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRMideaAC.html#a3b92f25a82741ae404e8f9af8dbca3a8">More...</a><br /></td></tr>
<tr class="separator:a3b92f25a82741ae404e8f9af8dbca3a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa024806cd5fce842e031f130d1f70ec6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#aa024806cd5fce842e031f130d1f70ec6">getMode</a> (void) const</td></tr>
<tr class="memdesc:aa024806cd5fce842e031f130d1f70ec6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRMideaAC.html#aa024806cd5fce842e031f130d1f70ec6">More...</a><br /></td></tr>
<tr class="separator:aa024806cd5fce842e031f130d1f70ec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab24da22531f5b2823551501642ec1b94"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ab24da22531f5b2823551501642ec1b94">setRaw</a> (const uint64_t newState)</td></tr>
<tr class="memdesc:ab24da22531f5b2823551501642ec1b94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRMideaAC.html#ab24da22531f5b2823551501642ec1b94">More...</a><br /></td></tr>
<tr class="separator:ab24da22531f5b2823551501642ec1b94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0b2c3a5a0a1d84eaeb462bbbe944d97"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ae0b2c3a5a0a1d84eaeb462bbbe944d97">getRaw</a> (void)</td></tr>
<tr class="memdesc:ae0b2c3a5a0a1d84eaeb462bbbe944d97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a copy of the internal state/code for this protocol. <a href="classIRMideaAC.html#ae0b2c3a5a0a1d84eaeb462bbbe944d97">More...</a><br /></td></tr>
<tr class="separator:ae0b2c3a5a0a1d84eaeb462bbbe944d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e008ff673450060bf39a65f1cb926e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a1e008ff673450060bf39a65f1cb926e6">setSleep</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:a1e008ff673450060bf39a65f1cb926e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sleep setting of the A/C. <a href="classIRMideaAC.html#a1e008ff673450060bf39a65f1cb926e6">More...</a><br /></td></tr>
<tr class="separator:a1e008ff673450060bf39a65f1cb926e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cef1181e13416425edb1bac972c4adf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a2cef1181e13416425edb1bac972c4adf">getSleep</a> (void) const</td></tr>
<tr class="memdesc:a2cef1181e13416425edb1bac972c4adf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Sleep setting of the A/C. <a href="classIRMideaAC.html#a2cef1181e13416425edb1bac972c4adf">More...</a><br /></td></tr>
<tr class="separator:a2cef1181e13416425edb1bac972c4adf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5277fa1d077650be0edcf284db50d38b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a5277fa1d077650be0edcf284db50d38b">isSwingVToggle</a> (void) const</td></tr>
<tr class="memdesc:a5277fa1d077650be0edcf284db50d38b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the current state a vertical swing toggle message? <a href="classIRMideaAC.html#a5277fa1d077650be0edcf284db50d38b">More...</a><br /></td></tr>
<tr class="separator:a5277fa1d077650be0edcf284db50d38b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fce182bff4f5bc2c6679b20f344837b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a7fce182bff4f5bc2c6679b20f344837b">setSwingVToggle</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:a7fce182bff4f5bc2c6679b20f344837b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the A/C to toggle the vertical swing toggle for the next send. <a href="classIRMideaAC.html#a7fce182bff4f5bc2c6679b20f344837b">More...</a><br /></td></tr>
<tr class="separator:a7fce182bff4f5bc2c6679b20f344837b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50b260d69bc0df8851bfccb003971dfe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a50b260d69bc0df8851bfccb003971dfe">getSwingVToggle</a> (void)</td></tr>
<tr class="separator:a50b260d69bc0df8851bfccb003971dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a360aa29e0f6817709644f6b36abce754"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a360aa29e0f6817709644f6b36abce754">isSwingVStep</a> (void) const</td></tr>
<tr class="memdesc:a360aa29e0f6817709644f6b36abce754"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the current state a step vertical swing message? <a href="classIRMideaAC.html#a360aa29e0f6817709644f6b36abce754">More...</a><br /></td></tr>
<tr class="separator:a360aa29e0f6817709644f6b36abce754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dc0122ffcc2fccba4f044fbf755b924"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a0dc0122ffcc2fccba4f044fbf755b924">setSwingVStep</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:a0dc0122ffcc2fccba4f044fbf755b924"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the A/C to step the vertical swing for the next send. <a href="classIRMideaAC.html#a0dc0122ffcc2fccba4f044fbf755b924">More...</a><br /></td></tr>
<tr class="separator:a0dc0122ffcc2fccba4f044fbf755b924"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab963d4e492689a669cd97345859f7d41"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ab963d4e492689a669cd97345859f7d41">getSwingVStep</a> (void)</td></tr>
<tr class="separator:ab963d4e492689a669cd97345859f7d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a227aeed678af6da49b510cb67b02991e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a227aeed678af6da49b510cb67b02991e">isEconoToggle</a> (void) const</td></tr>
<tr class="memdesc:a227aeed678af6da49b510cb67b02991e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the current state an Econo (energy saver) toggle message? <a href="classIRMideaAC.html#a227aeed678af6da49b510cb67b02991e">More...</a><br /></td></tr>
<tr class="separator:a227aeed678af6da49b510cb67b02991e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef83db5c3d13273541039d9e03e3230e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#aef83db5c3d13273541039d9e03e3230e">setEconoToggle</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:aef83db5c3d13273541039d9e03e3230e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the A/C to toggle the Econo (energy saver) mode for the next send. <a href="classIRMideaAC.html#aef83db5c3d13273541039d9e03e3230e">More...</a><br /></td></tr>
<tr class="separator:aef83db5c3d13273541039d9e03e3230e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69839c88534920e667e56750c83f926f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a69839c88534920e667e56750c83f926f">getEconoToggle</a> (void)</td></tr>
<tr class="separator:a69839c88534920e667e56750c83f926f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae40e95fbee35ecc00ebff23c0b64e56d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ae40e95fbee35ecc00ebff23c0b64e56d">isTurboToggle</a> (void) const</td></tr>
<tr class="memdesc:ae40e95fbee35ecc00ebff23c0b64e56d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the current state a Turbo toggle message? <a href="classIRMideaAC.html#ae40e95fbee35ecc00ebff23c0b64e56d">More...</a><br /></td></tr>
<tr class="separator:ae40e95fbee35ecc00ebff23c0b64e56d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05b58666391bb204cef6fff288ed7660"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a05b58666391bb204cef6fff288ed7660">setTurboToggle</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:a05b58666391bb204cef6fff288ed7660"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the A/C to toggle the Turbo mode for the next send. <a href="classIRMideaAC.html#a05b58666391bb204cef6fff288ed7660">More...</a><br /></td></tr>
<tr class="separator:a05b58666391bb204cef6fff288ed7660"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33cf363d9dd94f46005a0be40bd224ff"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a33cf363d9dd94f46005a0be40bd224ff">getTurboToggle</a> (void)</td></tr>
<tr class="separator:a33cf363d9dd94f46005a0be40bd224ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0f321a8a38bd2cecf453c6aff9020e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ac0f321a8a38bd2cecf453c6aff9020e6">isLightToggle</a> (void) const</td></tr>
<tr class="memdesc:ac0f321a8a38bd2cecf453c6aff9020e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the current state a Light (LED) toggle message? <a href="classIRMideaAC.html#ac0f321a8a38bd2cecf453c6aff9020e6">More...</a><br /></td></tr>
<tr class="separator:ac0f321a8a38bd2cecf453c6aff9020e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84daaa272cedd6f5e74b03a9f3962cba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a84daaa272cedd6f5e74b03a9f3962cba">setLightToggle</a> (const bool <a class="el" href="classIRMideaAC.html#af8dde03cb641a5af4f2ef0dcf70f1ca0">on</a>)</td></tr>
<tr class="memdesc:a84daaa272cedd6f5e74b03a9f3962cba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the A/C to toggle the Light (LED) mode for the next send. <a href="classIRMideaAC.html#a84daaa272cedd6f5e74b03a9f3962cba">More...</a><br /></td></tr>
<tr class="separator:a84daaa272cedd6f5e74b03a9f3962cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a770500c76c09ea7a7a7f6d0967c5f348"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a770500c76c09ea7a7a7f6d0967c5f348">getLightToggle</a> (void)</td></tr>
<tr class="separator:a770500c76c09ea7a7a7f6d0967c5f348"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b1c0afbb0b9d7ba93e61df2b339cd14"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a1b1c0afbb0b9d7ba93e61df2b339cd14">getType</a> (void) const</td></tr>
<tr class="memdesc:a1b1c0afbb0b9d7ba93e61df2b339cd14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the message type setting of the A/C message. <a href="classIRMideaAC.html#a1b1c0afbb0b9d7ba93e61df2b339cd14">More...</a><br /></td></tr>
<tr class="separator:a1b1c0afbb0b9d7ba93e61df2b339cd14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61f53e462caa1bc8329a6ebadbe47f93"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a61f53e462caa1bc8329a6ebadbe47f93">isOnTimerEnabled</a> (void) const</td></tr>
<tr class="memdesc:a61f53e462caa1bc8329a6ebadbe47f93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the OnTimer enabled? <a href="classIRMideaAC.html#a61f53e462caa1bc8329a6ebadbe47f93">More...</a><br /></td></tr>
<tr class="separator:a61f53e462caa1bc8329a6ebadbe47f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8c1124bde8fab95f82ea57c0a77c39"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a4b8c1124bde8fab95f82ea57c0a77c39">getOnTimer</a> (void) const</td></tr>
<tr class="memdesc:a4b8c1124bde8fab95f82ea57c0a77c39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the OnTimer is currently set to. <a href="classIRMideaAC.html#a4b8c1124bde8fab95f82ea57c0a77c39">More...</a><br /></td></tr>
<tr class="separator:a4b8c1124bde8fab95f82ea57c0a77c39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99ae120368751b88b73d3b0fe9b426ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a99ae120368751b88b73d3b0fe9b426ce">setOnTimer</a> (const uint16_t mins)</td></tr>
<tr class="memdesc:a99ae120368751b88b73d3b0fe9b426ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of the On Timer. <a href="classIRMideaAC.html#a99ae120368751b88b73d3b0fe9b426ce">More...</a><br /></td></tr>
<tr class="separator:a99ae120368751b88b73d3b0fe9b426ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10aa3386a15b46c62083baaca3bcf699"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a10aa3386a15b46c62083baaca3bcf699">isOffTimerEnabled</a> (void) const</td></tr>
<tr class="memdesc:a10aa3386a15b46c62083baaca3bcf699"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the OffTimer enabled? <a href="classIRMideaAC.html#a10aa3386a15b46c62083baaca3bcf699">More...</a><br /></td></tr>
<tr class="separator:a10aa3386a15b46c62083baaca3bcf699"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a280b85deb97232f03d6d9953f309926f"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a280b85deb97232f03d6d9953f309926f">getOffTimer</a> (void) const</td></tr>
<tr class="memdesc:a280b85deb97232f03d6d9953f309926f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the OffTimer is currently set to. <a href="classIRMideaAC.html#a280b85deb97232f03d6d9953f309926f">More...</a><br /></td></tr>
<tr class="separator:a280b85deb97232f03d6d9953f309926f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f5e4e75987a11300f29355bae12d9e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a1f5e4e75987a11300f29355bae12d9e5">setOffTimer</a> (const uint16_t mins)</td></tr>
<tr class="memdesc:a1f5e4e75987a11300f29355bae12d9e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of the Off Timer. <a href="classIRMideaAC.html#a1f5e4e75987a11300f29355bae12d9e5">More...</a><br /></td></tr>
<tr class="separator:a1f5e4e75987a11300f29355bae12d9e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62086b58f71908b75e28a61bd4f6bf15"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a62086b58f71908b75e28a61bd4f6bf15">toCommon</a> (const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> *prev=NULL)</td></tr>
<tr class="memdesc:a62086b58f71908b75e28a61bd4f6bf15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. <a href="classIRMideaAC.html#a62086b58f71908b75e28a61bd4f6bf15">More...</a><br /></td></tr>
<tr class="separator:a62086b58f71908b75e28a61bd4f6bf15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4980fbb52145e1d12a6fa5601f75018a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a4980fbb52145e1d12a6fa5601f75018a">toString</a> (void)</td></tr>
<tr class="memdesc:a4980fbb52145e1d12a6fa5601f75018a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRMideaAC.html#a4980fbb52145e1d12a6fa5601f75018a">More...</a><br /></td></tr>
<tr class="separator:a4980fbb52145e1d12a6fa5601f75018a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a971ab4af0267bb732834e7e1f7b8e354"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a971ab4af0267bb732834e7e1f7b8e354">validChecksum</a> (const uint64_t state)</td></tr>
<tr class="memdesc:a971ab4af0267bb732834e7e1f7b8e354"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRMideaAC.html#a971ab4af0267bb732834e7e1f7b8e354">More...</a><br /></td></tr>
<tr class="separator:a971ab4af0267bb732834e7e1f7b8e354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ca16c8bc2232be467baba8ea69b40d4"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a0ca16c8bc2232be467baba8ea69b40d4">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a0ca16c8bc2232be467baba8ea69b40d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. <a href="classIRMideaAC.html#a0ca16c8bc2232be467baba8ea69b40d4">More...</a><br /></td></tr>
<tr class="separator:a0ca16c8bc2232be467baba8ea69b40d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08a8e49986ce808fd7edd8aee7399a64"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a08a8e49986ce808fd7edd8aee7399a64">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a08a8e49986ce808fd7edd8aee7399a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. <a href="classIRMideaAC.html#a08a8e49986ce808fd7edd8aee7399a64">More...</a><br /></td></tr>
<tr class="separator:a08a8e49986ce808fd7edd8aee7399a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2e0ff374678aadd7fea80194aef8bca"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ac2e0ff374678aadd7fea80194aef8bca">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:ac2e0ff374678aadd7fea80194aef8bca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. <a href="classIRMideaAC.html#ac2e0ff374678aadd7fea80194aef8bca">More...</a><br /></td></tr>
<tr class="separator:ac2e0ff374678aadd7fea80194aef8bca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd89d4864a46b146ac4f648c4406ded5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#acd89d4864a46b146ac4f648c4406ded5">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:acd89d4864a46b146ac4f648c4406ded5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. <a href="classIRMideaAC.html#acd89d4864a46b146ac4f648c4406ded5">More...</a><br /></td></tr>
<tr class="separator:acd89d4864a46b146ac4f648c4406ded5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a418b7cbb4b388dba732176d891bb499d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a418b7cbb4b388dba732176d891bb499d">checksum</a> (void)</td></tr>
<tr class="memdesc:a418b7cbb4b388dba732176d891bb499d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate &amp; set the checksum for the current internal state of the remote. <a href="classIRMideaAC.html#a418b7cbb4b388dba732176d891bb499d">More...</a><br /></td></tr>
<tr class="separator:a418b7cbb4b388dba732176d891bb499d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89a6990ce864d111ccb97a1d37acc379"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a89a6990ce864d111ccb97a1d37acc379">setType</a> (const uint8_t type)</td></tr>
<tr class="memdesc:a89a6990ce864d111ccb97a1d37acc379"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the message type setting of the A/C message. <a href="classIRMideaAC.html#a89a6990ce864d111ccb97a1d37acc379">More...</a><br /></td></tr>
<tr class="separator:a89a6990ce864d111ccb97a1d37acc379"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:ac8733348b311ecf8eed87021cdf4ee31"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ac8733348b311ecf8eed87021cdf4ee31">calcChecksum</a> (const uint64_t state)</td></tr>
<tr class="memdesc:ac8733348b311ecf8eed87021cdf4ee31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for a given state. <a href="classIRMideaAC.html#ac8733348b311ecf8eed87021cdf4ee31">More...</a><br /></td></tr>
<tr class="separator:ac8733348b311ecf8eed87021cdf4ee31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae2b6068355ecdc360c4c2ca2fd8d921b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ae2b6068355ecdc360c4c2ca2fd8d921b">_irsend</a></td></tr>
<tr class="memdesc:ae2b6068355ecdc360c4c2ca2fd8d921b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class. <a href="classIRMideaAC.html#ae2b6068355ecdc360c4c2ca2fd8d921b">More...</a><br /></td></tr>
<tr class="separator:ae2b6068355ecdc360c4c2ca2fd8d921b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43e44a594e00ed14c9b6aca4a862ea9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionMideaProtocol.html">MideaProtocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a43e44a594e00ed14c9b6aca4a862ea9e">_</a></td></tr>
<tr class="separator:a43e44a594e00ed14c9b6aca4a862ea9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4318940487aea09116fe6b9f061470"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#adb4318940487aea09116fe6b9f061470">_SwingVToggle</a></td></tr>
<tr class="separator:adb4318940487aea09116fe6b9f061470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a1c79c8a4b61075790faef879928c4b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a8a1c79c8a4b61075790faef879928c4b">_SwingVStep</a></td></tr>
<tr class="separator:a8a1c79c8a4b61075790faef879928c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30f184751948b4412da46577578b625a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a30f184751948b4412da46577578b625a">_EconoToggle</a></td></tr>
<tr class="separator:a30f184751948b4412da46577578b625a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86ee53513a7f47556f9cfe44d060e94c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#a86ee53513a7f47556f9cfe44d060e94c">_TurboToggle</a></td></tr>
<tr class="separator:a86ee53513a7f47556f9cfe44d060e94c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab466b5939e796f818203220e0ca6896d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMideaAC.html#ab466b5939e796f818203220e0ca6896d">_LightToggle</a></td></tr>
<tr class="separator:ab466b5939e796f818203220e0ca6896d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Midea A/C messages. </p>
<dl class="section warning"><dt>Warning</dt><dd>Consider this very alpha code. </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1ef2f532a1e6c6bfe89617d3fd0d9082"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ef2f532a1e6c6bfe89617d3fd0d9082">&#9670;&nbsp;</a></span>IRMideaAC()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRMideaAC::IRMideaAC </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>pin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>inverted</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac36b6aa76b6b98ab186cd1d5ad9246b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac36b6aa76b6b98ab186cd1d5ad9246b4">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::begin </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set up hardware to be able to send a message. </p>
</div>
</div>
<a id="ac8733348b311ecf8eed87021cdf4ee31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8733348b311ecf8eed87021cdf4ee31">&#9670;&nbsp;</a></span>calcChecksum()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::calcChecksum </td>
<td>(</td>
<td class="paramtype">const uint64_t&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculate the checksum for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The value to calc the checksum of. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calculated checksum value. </dd></dl>
</div>
</div>
<a id="a4077604c2af56783f95a0a64eda7148b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4077604c2af56783f95a0a64eda7148b">&#9670;&nbsp;</a></span>calibrate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int8_t IRMideaAC::calibrate </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>
</div>
</div>
<a id="a418b7cbb4b388dba732176d891bb499d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a418b7cbb4b388dba732176d891bb499d">&#9670;&nbsp;</a></span>checksum()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::checksum </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculate &amp; set the checksum for the current internal state of the remote. </p>
</div>
</div>
<a id="a08a8e49986ce808fd7edd8aee7399a64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08a8e49986ce808fd7edd8aee7399a64">&#9670;&nbsp;</a></span>convertFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::convertFan </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
<td class="paramname"><em>speed</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>
</div>
</div>
<a id="a0ca16c8bc2232be467baba8ea69b40d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ca16c8bc2232be467baba8ea69b40d4">&#9670;&nbsp;</a></span>convertMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::convertMode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>
</div>
</div>
<a id="a69839c88534920e667e56750c83f926f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69839c88534920e667e56750c83f926f">&#9670;&nbsp;</a></span>getEconoToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getEconoToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="a313effc2012af55df719edff56c9ccea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a313effc2012af55df719edff56c9ccea">&#9670;&nbsp;</a></span>getEnableSensorTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getEnableSensorTemp </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the remote temperature sensor enabled? </p>
<dl class="section return"><dt>Returns</dt><dd>A boolean indicating if it is enabled or not. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Also known as FollowMe </dd></dl>
</div>
</div>
<a id="a38a0c175fead133026a0079c36e3e8ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38a0c175fead133026a0079c36e3e8ce">&#9670;&nbsp;</a></span>getFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::getFan </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>
</div>
</div>
<a id="a770500c76c09ea7a7a7f6d0967c5f348"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a770500c76c09ea7a7a7f6d0967c5f348">&#9670;&nbsp;</a></span>getLightToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getLightToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="aa024806cd5fce842e031f130d1f70ec6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa024806cd5fce842e031f130d1f70ec6">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::getMode </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>
</div>
</div>
<a id="a280b85deb97232f03d6d9953f309926f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a280b85deb97232f03d6d9953f309926f">&#9670;&nbsp;</a></span>getOffTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t IRMideaAC::getOffTimer </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the OffTimer is currently set to. </p>
<dl class="section return"><dt>Returns</dt><dd>The number of minutes. </dd></dl>
</div>
</div>
<a id="a4b8c1124bde8fab95f82ea57c0a77c39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b8c1124bde8fab95f82ea57c0a77c39">&#9670;&nbsp;</a></span>getOnTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t IRMideaAC::getOnTimer </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the OnTimer is currently set to. </p>
<dl class="section return"><dt>Returns</dt><dd>The number of minutes. </dd></dl>
</div>
</div>
<a id="ad4dd8a532419cd2d8f5656df3e5a23e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4dd8a532419cd2d8f5656df3e5a23e2">&#9670;&nbsp;</a></span>getPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getPower </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="ae0b2c3a5a0a1d84eaeb462bbbe944d97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0b2c3a5a0a1d84eaeb462bbbe944d97">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t IRMideaAC::getRaw </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get a copy of the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>The code for this protocol based on the current internal state. </dd></dl>
</div>
</div>
<a id="a3ed0a7ef0acb6e7b7c83ed6722a80a7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ed0a7ef0acb6e7b7c83ed6722a80a7f">&#9670;&nbsp;</a></span>getSensorTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::getSensorTemp </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>celsius</em> = <code>false</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current Sensor temperature setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">celsius</td><td>true, the results are in Celsius. false, in Fahrenheit. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in the requested units/scale. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Also known as FollowMe </dd></dl>
</div>
</div>
<a id="a2cef1181e13416425edb1bac972c4adf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cef1181e13416425edb1bac972c4adf">&#9670;&nbsp;</a></span>getSleep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getSleep </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Sleep setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="ab963d4e492689a669cd97345859f7d41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab963d4e492689a669cd97345859f7d41">&#9670;&nbsp;</a></span>getSwingVStep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getSwingVStep </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="a50b260d69bc0df8851bfccb003971dfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50b260d69bc0df8851bfccb003971dfe">&#9670;&nbsp;</a></span>getSwingVToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getSwingVToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section note"><dt>Note</dt><dd>On Danby A/C units, this is associated with the Ion Filter instead. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="a319f5ca24e977a6b7f0df93324dab63e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a319f5ca24e977a6b7f0df93324dab63e">&#9670;&nbsp;</a></span>getTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::getTemp </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>celsius</em> = <code>false</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current temperature setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">celsius</td><td>true, the results are in Celsius. false, in Fahrenheit. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in the requested units/scale. </dd></dl>
</div>
</div>
<a id="a33cf363d9dd94f46005a0be40bd224ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33cf363d9dd94f46005a0be40bd224ff">&#9670;&nbsp;</a></span>getTurboToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getTurboToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="a1b1c0afbb0b9d7ba93e61df2b339cd14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b1c0afbb0b9d7ba93e61df2b339cd14">&#9670;&nbsp;</a></span>getType()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMideaAC::getType </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the message type setting of the A/C message. </p>
<dl class="section return"><dt>Returns</dt><dd>The message type setting. </dd></dl>
</div>
</div>
<a id="a7904de4572d80c0eafe4975682b3ea29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7904de4572d80c0eafe4975682b3ea29">&#9670;&nbsp;</a></span>getUseCelsius()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::getUseCelsius </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the device currently using Celsius or the Fahrenheit temp scale? </p>
<dl class="section return"><dt>Returns</dt><dd>true, the A/C unit uses Celsius natively, false, is Fahrenheit. </dd></dl>
</div>
</div>
<a id="a227aeed678af6da49b510cb67b02991e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a227aeed678af6da49b510cb67b02991e">&#9670;&nbsp;</a></span>isEconoToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::isEconoToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the current state an Econo (energy saver) toggle message? </p>
<dl class="section return"><dt>Returns</dt><dd>true, it is. false, it isn't. </dd></dl>
</div>
</div>
<a id="ac0f321a8a38bd2cecf453c6aff9020e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0f321a8a38bd2cecf453c6aff9020e6">&#9670;&nbsp;</a></span>isLightToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::isLightToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the current state a Light (LED) toggle message? </p>
<dl class="section return"><dt>Returns</dt><dd>true, it is. false, it isn't. </dd></dl>
</div>
</div>
<a id="a10aa3386a15b46c62083baaca3bcf699"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10aa3386a15b46c62083baaca3bcf699">&#9670;&nbsp;</a></span>isOffTimerEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::isOffTimerEnabled </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the OffTimer enabled? </p>
<dl class="section return"><dt>Returns</dt><dd>true for yes, false for no. </dd></dl>
</div>
</div>
<a id="a61f53e462caa1bc8329a6ebadbe47f93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61f53e462caa1bc8329a6ebadbe47f93">&#9670;&nbsp;</a></span>isOnTimerEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::isOnTimerEnabled </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the OnTimer enabled? </p>
<dl class="section return"><dt>Returns</dt><dd>true for yes, false for no. </dd></dl>
</div>
</div>
<a id="a360aa29e0f6817709644f6b36abce754"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a360aa29e0f6817709644f6b36abce754">&#9670;&nbsp;</a></span>isSwingVStep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::isSwingVStep </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the current state a step vertical swing message? </p>
<dl class="section return"><dt>Returns</dt><dd>true, it is. false, it isn't. </dd></dl>
</div>
</div>
<a id="a5277fa1d077650be0edcf284db50d38b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5277fa1d077650be0edcf284db50d38b">&#9670;&nbsp;</a></span>isSwingVToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::isSwingVToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the current state a vertical swing toggle message? </p>
<dl class="section note"><dt>Note</dt><dd>On Danby A/C units, this is associated with the Ion Filter instead. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>true, it is. false, it isn't. </dd></dl>
</div>
</div>
<a id="ae40e95fbee35ecc00ebff23c0b64e56d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae40e95fbee35ecc00ebff23c0b64e56d">&#9670;&nbsp;</a></span>isTurboToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::isTurboToggle </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the current state a Turbo toggle message? </p>
<dl class="section return"><dt>Returns</dt><dd>true, it is. false, it isn't. </dd></dl>
</div>
</div>
<a id="a29fbafcf47dc41475d009c4c92b2917b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29fbafcf47dc41475d009c4c92b2917b">&#9670;&nbsp;</a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::off </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the requested power state of the A/C to off. </p>
</div>
</div>
<a id="af8dde03cb641a5af4f2ef0dcf70f1ca0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8dde03cb641a5af4f2ef0dcf70f1ca0">&#9670;&nbsp;</a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::on </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the requested power state of the A/C to on. </p>
</div>
</div>
<a id="af66b9f76ad794450a0a7eace4bb59300"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af66b9f76ad794450a0a7eace4bb59300">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::send </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#aa8876e8e177b8e71154f8cfb42b19160">kMideaMinRepeat</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aef83db5c3d13273541039d9e03e3230e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef83db5c3d13273541039d9e03e3230e">&#9670;&nbsp;</a></span>setEconoToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setEconoToggle </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the A/C to toggle the Econo (energy saver) mode for the next send. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a89eede8ecf61bc05a7c53e49706361a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89eede8ecf61bc05a7c53e49706361a2">&#9670;&nbsp;</a></span>setEnableSensorTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setEnableSensorTemp </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enable the remote's Sensor temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Also known as FollowMe </dd></dl>
</div>
</div>
<a id="a546eeca4eea015899a5ad9f5d1c6fafb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a546eeca4eea015899a5ad9f5d1c6fafb">&#9670;&nbsp;</a></span>setFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setFan </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>fan</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">fan</td><td>The desired setting. 1-3 set the speed, 0 for auto. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a84daaa272cedd6f5e74b03a9f3962cba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84daaa272cedd6f5e74b03a9f3962cba">&#9670;&nbsp;</a></span>setLightToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setLightToggle </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the A/C to toggle the Light (LED) mode for the next send. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a3b92f25a82741ae404e8f9af8dbca3a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b92f25a82741ae404e8f9af8dbca3a8">&#9670;&nbsp;</a></span>setMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setMode </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1f5e4e75987a11300f29355bae12d9e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f5e4e75987a11300f29355bae12d9e5">&#9670;&nbsp;</a></span>setOffTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setOffTimer </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>mins</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the value of the Off Timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mins</td><td>The number of minutes for the timer. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Time will be rounded down to nearest 30 min as that is the resolution of the actual device/protocol. </dd>
<dd>
A value of less than 30 will disable the Timer. </dd></dl>
</div>
</div>
<a id="a99ae120368751b88b73d3b0fe9b426ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99ae120368751b88b73d3b0fe9b426ce">&#9670;&nbsp;</a></span>setOnTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setOnTimer </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>mins</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the value of the On Timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mins</td><td>The number of minutes for the timer. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Time will be rounded down to nearest 30 min as that is the resolution of the actual device/protocol. </dd>
<dd>
A value of less than 30 will disable the Timer. </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>On Timer is incompatible with Sensor Temp/Follow Me messages. Setting it will disable that mode/settings. </dd></dl>
</div>
</div>
<a id="ab8341f8d3d553d8b0ed9270cc15fc8ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8341f8d3d553d8b0ed9270cc15fc8ec">&#9670;&nbsp;</a></span>setPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setPower </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ab24da22531f5b2823551501642ec1b94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab24da22531f5b2823551501642ec1b94">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setRaw </td>
<td>(</td>
<td class="paramtype">const uint64_t&#160;</td>
<td class="paramname"><em>newState</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">newState</td><td>A valid code for this protocol. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a99270b5f488ebcf3b0ef73d9697399a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99270b5f488ebcf3b0ef73d9697399a0">&#9670;&nbsp;</a></span>setSensorTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setSensorTemp </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>temp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>useCelsius</em> = <code>false</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the Sensor temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">temp</td><td>The temperature in degrees celsius. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">useCelsius</td><td>true, use the Celsius temp scale. false, is Fahrenheit </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Also known as FollowMe </dd></dl>
</div>
</div>
<a id="a1e008ff673450060bf39a65f1cb926e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e008ff673450060bf39a65f1cb926e6">&#9670;&nbsp;</a></span>setSleep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setSleep </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the Sleep setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0dc0122ffcc2fccba4f044fbf755b924"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0dc0122ffcc2fccba4f044fbf755b924">&#9670;&nbsp;</a></span>setSwingVStep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setSwingVStep </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the A/C to step the vertical swing for the next send. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7fce182bff4f5bc2c6679b20f344837b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fce182bff4f5bc2c6679b20f344837b">&#9670;&nbsp;</a></span>setSwingVToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setSwingVToggle </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the A/C to toggle the vertical swing toggle for the next send. </p>
<dl class="section note"><dt>Note</dt><dd>On Danby A/C units, this is associated with the Ion Filter instead. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a42f79e73f418d5267eed7ba5b0e266f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42f79e73f418d5267eed7ba5b0e266f5">&#9670;&nbsp;</a></span>setTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setTemp </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>temp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>useCelsius</em> = <code>false</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">temp</td><td>The temperature in degrees celsius. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">useCelsius</td><td>true, use the Celsius temp scale. false, is Fahrenheit </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a05b58666391bb204cef6fff288ed7660"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05b58666391bb204cef6fff288ed7660">&#9670;&nbsp;</a></span>setTurboToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setTurboToggle </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the A/C to toggle the Turbo mode for the next send. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a89a6990ce864d111ccb97a1d37acc379"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89a6990ce864d111ccb97a1d37acc379">&#9670;&nbsp;</a></span>setType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setType </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>setting</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the message type setting of the A/C message. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">setting</td><td>The desired message type setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1eeb72ddd2b9867c2f9c392080b9c1ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1eeb72ddd2b9867c2f9c392080b9c1ed">&#9670;&nbsp;</a></span>setUseCelsius()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::setUseCelsius </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the A/C unit to use Celsius natively. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="acc584e07406e1811acfb26f6cd5383cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc584e07406e1811acfb26f6cd5383cd">&#9670;&nbsp;</a></span>stateReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMideaAC::stateReset </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reset the state of the remote to a known good state/sequence. </p>
</div>
</div>
<a id="a62086b58f71908b75e28a61bd4f6bf15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62086b58f71908b75e28a61bd4f6bf15">&#9670;&nbsp;</a></span>toCommon()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRMideaAC::toCommon </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> *&#160;</td>
<td class="paramname"><em>prev</em> = <code>NULL</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">prev</td><td>A Ptr to the previous state. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>
</div>
</div>
<a id="acd89d4864a46b146ac4f648c4406ded5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd89d4864a46b146ac4f648c4406ded5">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRMideaAC::toCommonFanSpeed </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>speed</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>
</div>
</div>
<a id="ac2e0ff374678aadd7fea80194aef8bca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2e0ff374678aadd7fea80194aef8bca">&#9670;&nbsp;</a></span>toCommonMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRMideaAC::toCommonMode </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>
</div>
</div>
<a id="a4980fbb52145e1d12a6fa5601f75018a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4980fbb52145e1d12a6fa5601f75018a">&#9670;&nbsp;</a></span>toString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRMideaAC::toString </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>
</div>
</div>
<a id="a971ab4af0267bb732834e7e1f7b8e354"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a971ab4af0267bb732834e7e1f7b8e354">&#9670;&nbsp;</a></span>validChecksum()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::validChecksum </td>
<td>(</td>
<td class="paramtype">const uint64_t&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The state to verify the checksum of. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, if the state has a valid checksum. Otherwise, false. </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a43e44a594e00ed14c9b6aca4a862ea9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43e44a594e00ed14c9b6aca4a862ea9e">&#9670;&nbsp;</a></span>_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="unionMideaProtocol.html">MideaProtocol</a> IRMideaAC::_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a30f184751948b4412da46577578b625a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30f184751948b4412da46577578b625a">&#9670;&nbsp;</a></span>_EconoToggle</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::_EconoToggle</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ae2b6068355ecdc360c4c2ca2fd8d921b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2b6068355ecdc360c4c2ca2fd8d921b">&#9670;&nbsp;</a></span>_irsend</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRMideaAC::_irsend</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Instance of the IR send class. </p>
</div>
</div>
<a id="ab466b5939e796f818203220e0ca6896d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab466b5939e796f818203220e0ca6896d">&#9670;&nbsp;</a></span>_LightToggle</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::_LightToggle</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a8a1c79c8a4b61075790faef879928c4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a1c79c8a4b61075790faef879928c4b">&#9670;&nbsp;</a></span>_SwingVStep</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::_SwingVStep</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="adb4318940487aea09116fe6b9f061470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb4318940487aea09116fe6b9f061470">&#9670;&nbsp;</a></span>_SwingVToggle</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::_SwingVToggle</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a86ee53513a7f47556f9cfe44d060e94c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86ee53513a7f47556f9cfe44d060e94c">&#9670;&nbsp;</a></span>_TurboToggle</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRMideaAC::_TurboToggle</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Midea_8h_source.html">ir_Midea.h</a></li>
<li>src/<a class="el" href="ir__Midea_8cpp.html">ir_Midea.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>