Tasmota/lib/IRremoteESP8266-2.7.8/docs/doxygen/html/classIRKelvinatorAC.html

1341 lines
70 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: IRKelvinatorAC 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-attribs">Private Attributes</a> &#124;
<a href="classIRKelvinatorAC-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRKelvinatorAC Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Kelvinator A/C messages.
<a href="classIRKelvinatorAC.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ir__Kelvinator_8h_source.html">ir_Kelvinator.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRKelvinatorAC:</div>
<div class="dyncontent">
<div class="center"><img src="classIRKelvinatorAC__coll__graph.png" border="0" usemap="#IRKelvinatorAC_coll__map" alt="Collaboration graph"/></div>
<map name="IRKelvinatorAC_coll__map" id="IRKelvinatorAC_coll__map">
<area shape="rect" title="Class for handling detailed Kelvinator A/C messages." alt="" coords="5,95,124,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="31,5,98,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:a111dd384b1898a4fb880a19b6d1b1635"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a111dd384b1898a4fb880a19b6d1b1635">IRKelvinatorAC</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a111dd384b1898a4fb880a19b6d1b1635"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor. <a href="classIRKelvinatorAC.html#a111dd384b1898a4fb880a19b6d1b1635">More...</a><br /></td></tr>
<tr class="separator:a111dd384b1898a4fb880a19b6d1b1635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6fefe85023c3fc318b0e45924874f9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#ad6fefe85023c3fc318b0e45924874f9f">stateReset</a> (void)</td></tr>
<tr class="memdesc:ad6fefe85023c3fc318b0e45924874f9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internals of the object to a known good state. <a href="classIRKelvinatorAC.html#ad6fefe85023c3fc318b0e45924874f9f">More...</a><br /></td></tr>
<tr class="separator:ad6fefe85023c3fc318b0e45924874f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa55fbfefbaca1acf5bc9ba796bea8464"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#aa55fbfefbaca1acf5bc9ba796bea8464">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a94c968c5cc929f189b8e578d2f55b132">kKelvinatorDefaultRepeat</a>)</td></tr>
<tr class="memdesc:aa55fbfefbaca1acf5bc9ba796bea8464"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRKelvinatorAC.html#aa55fbfefbaca1acf5bc9ba796bea8464">More...</a><br /></td></tr>
<tr class="separator:aa55fbfefbaca1acf5bc9ba796bea8464"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee8863c1678b09432618bb4ca734db95"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#aee8863c1678b09432618bb4ca734db95">calibrate</a> (void)</td></tr>
<tr class="memdesc:aee8863c1678b09432618bb4ca734db95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRKelvinatorAC.html#aee8863c1678b09432618bb4ca734db95">More...</a><br /></td></tr>
<tr class="separator:aee8863c1678b09432618bb4ca734db95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4591bf4e8131aa2a228cbc611156e7f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a4591bf4e8131aa2a228cbc611156e7f4">begin</a> (void)</td></tr>
<tr class="memdesc:a4591bf4e8131aa2a228cbc611156e7f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRKelvinatorAC.html#a4591bf4e8131aa2a228cbc611156e7f4">More...</a><br /></td></tr>
<tr class="separator:a4591bf4e8131aa2a228cbc611156e7f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714d0e70f2996694e2c46afdd9996341"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a> (void)</td></tr>
<tr class="memdesc:a714d0e70f2996694e2c46afdd9996341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the power on. <a href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">More...</a><br /></td></tr>
<tr class="separator:a714d0e70f2996694e2c46afdd9996341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a759df902d1465c9520da7c7c595abc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a4a759df902d1465c9520da7c7c595abc">off</a> (void)</td></tr>
<tr class="memdesc:a4a759df902d1465c9520da7c7c595abc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the power off. <a href="classIRKelvinatorAC.html#a4a759df902d1465c9520da7c7c595abc">More...</a><br /></td></tr>
<tr class="separator:a4a759df902d1465c9520da7c7c595abc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a517a0193a9236a28a20d1760d7401efd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a517a0193a9236a28a20d1760d7401efd">setPower</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:a517a0193a9236a28a20d1760d7401efd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the desired power. <a href="classIRKelvinatorAC.html#a517a0193a9236a28a20d1760d7401efd">More...</a><br /></td></tr>
<tr class="separator:a517a0193a9236a28a20d1760d7401efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dc660afab763c9a4b0cfc5d8e14d220"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a3dc660afab763c9a4b0cfc5d8e14d220">getPower</a> (void)</td></tr>
<tr class="memdesc:a3dc660afab763c9a4b0cfc5d8e14d220"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the power setting from the internal state. <a href="classIRKelvinatorAC.html#a3dc660afab763c9a4b0cfc5d8e14d220">More...</a><br /></td></tr>
<tr class="separator:a3dc660afab763c9a4b0cfc5d8e14d220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab098a376c7393d377abcc6c1f504d372"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#ab098a376c7393d377abcc6c1f504d372">setTemp</a> (const uint8_t degrees)</td></tr>
<tr class="memdesc:ab098a376c7393d377abcc6c1f504d372"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature setting. <a href="classIRKelvinatorAC.html#ab098a376c7393d377abcc6c1f504d372">More...</a><br /></td></tr>
<tr class="separator:ab098a376c7393d377abcc6c1f504d372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabda77a2381526f4be86f05b311248db"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#aabda77a2381526f4be86f05b311248db">getTemp</a> (void)</td></tr>
<tr class="memdesc:aabda77a2381526f4be86f05b311248db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRKelvinatorAC.html#aabda77a2381526f4be86f05b311248db">More...</a><br /></td></tr>
<tr class="separator:aabda77a2381526f4be86f05b311248db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af08e94be9699983c0087c9b059aad319"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#af08e94be9699983c0087c9b059aad319">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:af08e94be9699983c0087c9b059aad319"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan. <a href="classIRKelvinatorAC.html#af08e94be9699983c0087c9b059aad319">More...</a><br /></td></tr>
<tr class="separator:af08e94be9699983c0087c9b059aad319"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ce2ccf879217410269230218e0c76b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a64ce2ccf879217410269230218e0c76b">getFan</a> (void)</td></tr>
<tr class="memdesc:a64ce2ccf879217410269230218e0c76b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRKelvinatorAC.html#a64ce2ccf879217410269230218e0c76b">More...</a><br /></td></tr>
<tr class="separator:a64ce2ccf879217410269230218e0c76b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af55cc77892bc960587037c337b90d1bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#af55cc77892bc960587037c337b90d1bc">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:af55cc77892bc960587037c337b90d1bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the desired operation mode. <a href="classIRKelvinatorAC.html#af55cc77892bc960587037c337b90d1bc">More...</a><br /></td></tr>
<tr class="separator:af55cc77892bc960587037c337b90d1bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a0f8f587fdda24db12db7aace478fd6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a7a0f8f587fdda24db12db7aace478fd6">getMode</a> (void)</td></tr>
<tr class="memdesc:a7a0f8f587fdda24db12db7aace478fd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current operation mode setting. <a href="classIRKelvinatorAC.html#a7a0f8f587fdda24db12db7aace478fd6">More...</a><br /></td></tr>
<tr class="separator:a7a0f8f587fdda24db12db7aace478fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7334fbf8f2a67b33562ecea6b6e66f0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a7334fbf8f2a67b33562ecea6b6e66f0e">setSwingVertical</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:a7334fbf8f2a67b33562ecea6b6e66f0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the current vertical swing setting. <a href="classIRKelvinatorAC.html#a7334fbf8f2a67b33562ecea6b6e66f0e">More...</a><br /></td></tr>
<tr class="separator:a7334fbf8f2a67b33562ecea6b6e66f0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69aaabc1f34e061272a76e4dc3c98bf1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a69aaabc1f34e061272a76e4dc3c98bf1">getSwingVertical</a> (void)</td></tr>
<tr class="memdesc:a69aaabc1f34e061272a76e4dc3c98bf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the vertical swing setting on? <a href="classIRKelvinatorAC.html#a69aaabc1f34e061272a76e4dc3c98bf1">More...</a><br /></td></tr>
<tr class="separator:a69aaabc1f34e061272a76e4dc3c98bf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f1731f71bc74fb7ad6fec1210ecb1c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a2f1731f71bc74fb7ad6fec1210ecb1c7">setSwingHorizontal</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:a2f1731f71bc74fb7ad6fec1210ecb1c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the current horizontal swing setting. <a href="classIRKelvinatorAC.html#a2f1731f71bc74fb7ad6fec1210ecb1c7">More...</a><br /></td></tr>
<tr class="separator:a2f1731f71bc74fb7ad6fec1210ecb1c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe27eb5ec7eb4c4b766a47b551422af3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#abe27eb5ec7eb4c4b766a47b551422af3">getSwingHorizontal</a> (void)</td></tr>
<tr class="memdesc:abe27eb5ec7eb4c4b766a47b551422af3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the horizontal swing setting on? <a href="classIRKelvinatorAC.html#abe27eb5ec7eb4c4b766a47b551422af3">More...</a><br /></td></tr>
<tr class="separator:abe27eb5ec7eb4c4b766a47b551422af3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a3ca238649c55cd4f6f92f48eddf9ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a2a3ca238649c55cd4f6f92f48eddf9ac">setQuiet</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:a2a3ca238649c55cd4f6f92f48eddf9ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the current Quiet setting. <a href="classIRKelvinatorAC.html#a2a3ca238649c55cd4f6f92f48eddf9ac">More...</a><br /></td></tr>
<tr class="separator:a2a3ca238649c55cd4f6f92f48eddf9ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a467c0d63911a87bed8815a5b636d6d75"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a467c0d63911a87bed8815a5b636d6d75">getQuiet</a> (void)</td></tr>
<tr class="memdesc:a467c0d63911a87bed8815a5b636d6d75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the Quiet setting on? <a href="classIRKelvinatorAC.html#a467c0d63911a87bed8815a5b636d6d75">More...</a><br /></td></tr>
<tr class="separator:a467c0d63911a87bed8815a5b636d6d75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a219c481ddc21d93028f5c799c25883"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a6a219c481ddc21d93028f5c799c25883">setIonFilter</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:a6a219c481ddc21d93028f5c799c25883"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the current Ion Filter setting. <a href="classIRKelvinatorAC.html#a6a219c481ddc21d93028f5c799c25883">More...</a><br /></td></tr>
<tr class="separator:a6a219c481ddc21d93028f5c799c25883"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81127edca40e504c432b2079030f84a5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a81127edca40e504c432b2079030f84a5">getIonFilter</a> (void)</td></tr>
<tr class="memdesc:a81127edca40e504c432b2079030f84a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the Ion Filter setting on? <a href="classIRKelvinatorAC.html#a81127edca40e504c432b2079030f84a5">More...</a><br /></td></tr>
<tr class="separator:a81127edca40e504c432b2079030f84a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a870890c2bc8510f8f7351ca21db8d855"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a870890c2bc8510f8f7351ca21db8d855">setLight</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:a870890c2bc8510f8f7351ca21db8d855"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the current Light setting. i.e. The LED display on the A/C unit that shows the basic settings. <a href="classIRKelvinatorAC.html#a870890c2bc8510f8f7351ca21db8d855">More...</a><br /></td></tr>
<tr class="separator:a870890c2bc8510f8f7351ca21db8d855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e77c7a1b763373b0732d125923f53f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a85e77c7a1b763373b0732d125923f53f">getLight</a> (void)</td></tr>
<tr class="memdesc:a85e77c7a1b763373b0732d125923f53f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the Light (Display) setting on? <a href="classIRKelvinatorAC.html#a85e77c7a1b763373b0732d125923f53f">More...</a><br /></td></tr>
<tr class="separator:a85e77c7a1b763373b0732d125923f53f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af02da81109109cf1cb44057fd1a40164"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#af02da81109109cf1cb44057fd1a40164">setXFan</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:af02da81109109cf1cb44057fd1a40164"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the current XFan setting. This setting will cause the unit blow air after power off to dry out the A/C device. <a href="classIRKelvinatorAC.html#af02da81109109cf1cb44057fd1a40164">More...</a><br /></td></tr>
<tr class="separator:af02da81109109cf1cb44057fd1a40164"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e511ca0a8876928412c2db9214e7fe2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a2e511ca0a8876928412c2db9214e7fe2">getXFan</a> (void)</td></tr>
<tr class="memdesc:a2e511ca0a8876928412c2db9214e7fe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the XFan setting on? <a href="classIRKelvinatorAC.html#a2e511ca0a8876928412c2db9214e7fe2">More...</a><br /></td></tr>
<tr class="separator:a2e511ca0a8876928412c2db9214e7fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d9c44970e85f23c83723f27e96260ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a7d9c44970e85f23c83723f27e96260ee">setTurbo</a> (const bool <a class="el" href="classIRKelvinatorAC.html#a714d0e70f2996694e2c46afdd9996341">on</a>)</td></tr>
<tr class="memdesc:a7d9c44970e85f23c83723f27e96260ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the current Turbo setting. <a href="classIRKelvinatorAC.html#a7d9c44970e85f23c83723f27e96260ee">More...</a><br /></td></tr>
<tr class="separator:a7d9c44970e85f23c83723f27e96260ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff32ab0524f4afeb9b53aa65b8df8e36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#aff32ab0524f4afeb9b53aa65b8df8e36">getTurbo</a> (void)</td></tr>
<tr class="memdesc:aff32ab0524f4afeb9b53aa65b8df8e36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the Turbo setting on? <a href="classIRKelvinatorAC.html#aff32ab0524f4afeb9b53aa65b8df8e36">More...</a><br /></td></tr>
<tr class="separator:aff32ab0524f4afeb9b53aa65b8df8e36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09149dd7bc45ca50b0c490b9c1f1e6f4"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a09149dd7bc45ca50b0c490b9c1f1e6f4">getRaw</a> (void)</td></tr>
<tr class="memdesc:a09149dd7bc45ca50b0c490b9c1f1e6f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the raw state of the object, suitable to be sent with the appropriate <a class="el" href="classIRsend.html" title="Class for sending all basic IR protocols.">IRsend</a> object method. <a href="classIRKelvinatorAC.html#a09149dd7bc45ca50b0c490b9c1f1e6f4">More...</a><br /></td></tr>
<tr class="separator:a09149dd7bc45ca50b0c490b9c1f1e6f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a32bbf1a7ee8a089ea1e4e7c750433b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a4a32bbf1a7ee8a089ea1e4e7c750433b">setRaw</a> (const uint8_t new_code[])</td></tr>
<tr class="memdesc:a4a32bbf1a7ee8a089ea1e4e7c750433b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the raw state of the object. <a href="classIRKelvinatorAC.html#a4a32bbf1a7ee8a089ea1e4e7c750433b">More...</a><br /></td></tr>
<tr class="separator:a4a32bbf1a7ee8a089ea1e4e7c750433b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9d70a94dd3813005ca0381b80a35e4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#acc9d70a94dd3813005ca0381b80a35e4">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:acc9d70a94dd3813005ca0381b80a35e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a standard A/C mode (<a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a>) into it a native mode. <a href="classIRKelvinatorAC.html#acc9d70a94dd3813005ca0381b80a35e4">More...</a><br /></td></tr>
<tr class="separator:acc9d70a94dd3813005ca0381b80a35e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e900aa29dad75f74de2bb797d475b20"><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="classIRKelvinatorAC.html#a1e900aa29dad75f74de2bb797d475b20">toCommon</a> (void)</td></tr>
<tr class="memdesc:a1e900aa29dad75f74de2bb797d475b20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the internal A/C object state to it's <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="classIRKelvinatorAC.html#a1e900aa29dad75f74de2bb797d475b20">More...</a><br /></td></tr>
<tr class="separator:a1e900aa29dad75f74de2bb797d475b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cc438f41b6f4ed2f9df42acc1ffccfe"><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="classIRKelvinatorAC.html#a2cc438f41b6f4ed2f9df42acc1ffccfe">toString</a> (void)</td></tr>
<tr class="memdesc:a2cc438f41b6f4ed2f9df42acc1ffccfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the internal settings into a human readable string. <a href="classIRKelvinatorAC.html#a2cc438f41b6f4ed2f9df42acc1ffccfe">More...</a><br /></td></tr>
<tr class="separator:a2cc438f41b6f4ed2f9df42acc1ffccfe"><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:a22f561397c526ed6cc3f69a5d527d8d6"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a22f561397c526ed6cc3f69a5d527d8d6">calcBlockChecksum</a> (const uint8_t *block, const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a>/2)</td></tr>
<tr class="memdesc:a22f561397c526ed6cc3f69a5d527d8d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for a given block of state. <a href="classIRKelvinatorAC.html#a22f561397c526ed6cc3f69a5d527d8d6">More...</a><br /></td></tr>
<tr class="separator:a22f561397c526ed6cc3f69a5d527d8d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa915fa5eb3f7e5c7a3dc143b6fda826"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#aaa915fa5eb3f7e5c7a3dc143b6fda826">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a>)</td></tr>
<tr class="memdesc:aaa915fa5eb3f7e5c7a3dc143b6fda826"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRKelvinatorAC.html#aaa915fa5eb3f7e5c7a3dc143b6fda826">More...</a><br /></td></tr>
<tr class="separator:aaa915fa5eb3f7e5c7a3dc143b6fda826"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2683d38ae72b99e6843e37d36f96db2"><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="classIRKelvinatorAC.html#ae2683d38ae72b99e6843e37d36f96db2">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:ae2683d38ae72b99e6843e37d36f96db2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode to it's <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> equivalent. <a href="classIRKelvinatorAC.html#ae2683d38ae72b99e6843e37d36f96db2">More...</a><br /></td></tr>
<tr class="separator:ae2683d38ae72b99e6843e37d36f96db2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ebd262c554c5c843bc3f710570e1401"><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="classIRKelvinatorAC.html#a0ebd262c554c5c843bc3f710570e1401">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a0ebd262c554c5c843bc3f710570e1401"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed to it's <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> equivalent. <a href="classIRKelvinatorAC.html#a0ebd262c554c5c843bc3f710570e1401">More...</a><br /></td></tr>
<tr class="separator:a0ebd262c554c5c843bc3f710570e1401"><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:a09acf66b92d3fde6692ec02ff8e62dab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a09acf66b92d3fde6692ec02ff8e62dab">checksum</a> (const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a>)</td></tr>
<tr class="memdesc:a09acf66b92d3fde6692ec02ff8e62dab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for the internal state. <a href="classIRKelvinatorAC.html#a09acf66b92d3fde6692ec02ff8e62dab">More...</a><br /></td></tr>
<tr class="separator:a09acf66b92d3fde6692ec02ff8e62dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a389af589003c39794ae5d4bd572fa485"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a389af589003c39794ae5d4bd572fa485">fixup</a> (void)</td></tr>
<tr class="memdesc:a389af589003c39794ae5d4bd572fa485"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fix up any odd conditions for the current state. <a href="classIRKelvinatorAC.html#a389af589003c39794ae5d4bd572fa485">More...</a><br /></td></tr>
<tr class="separator:a389af589003c39794ae5d4bd572fa485"><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:ae3571bf6de20e47f81ad1da8f1d13118"><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="classIRKelvinatorAC.html#ae3571bf6de20e47f81ad1da8f1d13118">_irsend</a></td></tr>
<tr class="memdesc:ae3571bf6de20e47f81ad1da8f1d13118"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class. <a href="classIRKelvinatorAC.html#ae3571bf6de20e47f81ad1da8f1d13118">More...</a><br /></td></tr>
<tr class="separator:ae3571bf6de20e47f81ad1da8f1d13118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f75821274e53cc5ed64ac53a6e32b4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRKelvinatorAC.html#a70f75821274e53cc5ed64ac53a6e32b4">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a>]</td></tr>
<tr class="memdesc:a70f75821274e53cc5ed64ac53a6e32b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state in IR code form. <a href="classIRKelvinatorAC.html#a70f75821274e53cc5ed64ac53a6e32b4">More...</a><br /></td></tr>
<tr class="separator:a70f75821274e53cc5ed64ac53a6e32b4"><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 Kelvinator A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a111dd384b1898a4fb880a19b6d1b1635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a111dd384b1898a4fb880a19b6d1b1635">&#9670;&nbsp;</a></span>IRKelvinatorAC()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRKelvinatorAC::IRKelvinatorAC </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="a4591bf4e8131aa2a228cbc611156e7f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4591bf4e8131aa2a228cbc611156e7f4">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::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="a22f561397c526ed6cc3f69a5d527d8d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22f561397c526ed6cc3f69a5d527d8d6">&#9670;&nbsp;</a></span>calcBlockChecksum()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRKelvinatorAC::calcBlockChecksum </td>
<td>(</td>
<td class="paramtype">const uint8_t *&#160;</td>
<td class="paramname"><em>block</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a>&#160;/&#160;2</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">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculate the checksum for a given block of state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">block</td><td>A pointer to a block to calc the checksum of. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>Length of the block array to checksum. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calculated checksum value. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Many Bothans died to bring us this information. </dd></dl>
</div>
</div>
<a id="aee8863c1678b09432618bb4ca734db95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee8863c1678b09432618bb4ca734db95">&#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 IRKelvinatorAC::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="a09acf66b92d3fde6692ec02ff8e62dab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09acf66b92d3fde6692ec02ff8e62dab">&#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 IRKelvinatorAC::checksum </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a></code></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 the checksum for the internal state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>Length of the internal state to checksum. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="acc9d70a94dd3813005ca0381b80a35e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc9d70a94dd3813005ca0381b80a35e4">&#9670;&nbsp;</a></span>convertMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRKelvinatorAC::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>
</div><div class="memdoc">
<p>Convert a standard A/C mode (<a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a>) into it a 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>A <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> operation mode. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native mode equivilant. </dd></dl>
</div>
</div>
<a id="a389af589003c39794ae5d4bd572fa485"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a389af589003c39794ae5d4bd572fa485">&#9670;&nbsp;</a></span>fixup()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::fixup </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>Fix up any odd conditions for the current state. </p>
</div>
</div>
<a id="a64ce2ccf879217410269230218e0c76b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64ce2ccf879217410269230218e0c76b">&#9670;&nbsp;</a></span>getFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRKelvinatorAC::getFan </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 the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>
</div>
</div>
<a id="a81127edca40e504c432b2079030f84a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81127edca40e504c432b2079030f84a5">&#9670;&nbsp;</a></span>getIonFilter()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getIonFilter </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the Ion Filter setting on? </p>
<dl class="section return"><dt>Returns</dt><dd>The current value. </dd></dl>
</div>
</div>
<a id="a85e77c7a1b763373b0732d125923f53f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85e77c7a1b763373b0732d125923f53f">&#9670;&nbsp;</a></span>getLight()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getLight </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the Light (Display) setting on? </p>
<dl class="section return"><dt>Returns</dt><dd>The current value. </dd></dl>
</div>
</div>
<a id="a7a0f8f587fdda24db12db7aace478fd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a0f8f587fdda24db12db7aace478fd6">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRKelvinatorAC::getMode </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 the current operation mode setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operation mode. </dd></dl>
</div>
</div>
<a id="a3dc660afab763c9a4b0cfc5d8e14d220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dc660afab763c9a4b0cfc5d8e14d220">&#9670;&nbsp;</a></span>getPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getPower </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 the power setting from the internal state. </p>
<dl class="section return"><dt>Returns</dt><dd>A boolean indicating if the power setting. </dd></dl>
</div>
</div>
<a id="a467c0d63911a87bed8815a5b636d6d75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a467c0d63911a87bed8815a5b636d6d75">&#9670;&nbsp;</a></span>getQuiet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getQuiet </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the Quiet setting on? </p>
<dl class="section return"><dt>Returns</dt><dd>The current value. </dd></dl>
</div>
</div>
<a id="a09149dd7bc45ca50b0c490b9c1f1e6f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09149dd7bc45ca50b0c490b9c1f1e6f4">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t * IRKelvinatorAC::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 the raw state of the object, suitable to be sent with the appropriate <a class="el" href="classIRsend.html" title="Class for sending all basic IR protocols.">IRsend</a> object method. </p>
<dl class="section return"><dt>Returns</dt><dd>A PTR to the internal state. </dd></dl>
</div>
</div>
<a id="abe27eb5ec7eb4c4b766a47b551422af3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe27eb5ec7eb4c4b766a47b551422af3">&#9670;&nbsp;</a></span>getSwingHorizontal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getSwingHorizontal </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the horizontal swing setting on? </p>
<dl class="section return"><dt>Returns</dt><dd>The current value. </dd></dl>
</div>
</div>
<a id="a69aaabc1f34e061272a76e4dc3c98bf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69aaabc1f34e061272a76e4dc3c98bf1">&#9670;&nbsp;</a></span>getSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getSwingVertical </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the vertical swing setting on? </p>
<dl class="section return"><dt>Returns</dt><dd>The current value. </dd></dl>
</div>
</div>
<a id="aabda77a2381526f4be86f05b311248db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabda77a2381526f4be86f05b311248db">&#9670;&nbsp;</a></span>getTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRKelvinatorAC::getTemp </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 the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>Get current setting for temp. in degrees celsius. </dd></dl>
</div>
</div>
<a id="aff32ab0524f4afeb9b53aa65b8df8e36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff32ab0524f4afeb9b53aa65b8df8e36">&#9670;&nbsp;</a></span>getTurbo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getTurbo </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the Turbo setting on? </p>
<dl class="section return"><dt>Returns</dt><dd>The current value. </dd></dl>
</div>
</div>
<a id="a2e511ca0a8876928412c2db9214e7fe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e511ca0a8876928412c2db9214e7fe2">&#9670;&nbsp;</a></span>getXFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRKelvinatorAC::getXFan </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Is the XFan setting on? </p>
<dl class="section return"><dt>Returns</dt><dd>The current value. </dd></dl>
</div>
</div>
<a id="a4a759df902d1465c9520da7c7c595abc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a759df902d1465c9520da7c7c595abc">&#9670;&nbsp;</a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::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 internal state to have the power off. </p>
</div>
</div>
<a id="a714d0e70f2996694e2c46afdd9996341"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a714d0e70f2996694e2c46afdd9996341">&#9670;&nbsp;</a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::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 internal state to have the power on. </p>
</div>
</div>
<a id="aa55fbfefbaca1acf5bc9ba796bea8464"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa55fbfefbaca1acf5bc9ba796bea8464">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::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#a94c968c5cc929f189b8e578d2f55b132">kKelvinatorDefaultRepeat</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="af08e94be9699983c0087c9b059aad319"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af08e94be9699983c0087c9b059aad319">&#9670;&nbsp;</a></span>setFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setFan </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>speed</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">speed</td><td>0 is auto, 1-5 is the speed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a6a219c481ddc21d93028f5c799c25883"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a219c481ddc21d93028f5c799c25883">&#9670;&nbsp;</a></span>setIonFilter()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setIonFilter </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>Control the current Ion Filter setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a870890c2bc8510f8f7351ca21db8d855"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a870890c2bc8510f8f7351ca21db8d855">&#9670;&nbsp;</a></span>setLight()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setLight </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>Control the current Light setting. i.e. The LED display on the A/C unit that shows the basic settings. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="af55cc77892bc960587037c337b90d1bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af55cc77892bc960587037c337b90d1bc">&#9670;&nbsp;</a></span>setMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::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 desired operation 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 desired operation mode. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a517a0193a9236a28a20d1760d7401efd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a517a0193a9236a28a20d1760d7401efd">&#9670;&nbsp;</a></span>setPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::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>Set the internal state to have the desired power. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired power state. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2a3ca238649c55cd4f6f92f48eddf9ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a3ca238649c55cd4f6f92f48eddf9ac">&#9670;&nbsp;</a></span>setQuiet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setQuiet </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>Control the current Quiet setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4a32bbf1a7ee8a089ea1e4e7c750433b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a32bbf1a7ee8a089ea1e4e7c750433b">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setRaw </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>new_code</em>[]</td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the raw state of the object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">new_code</td><td>The raw state from the native IR message. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2f1731f71bc74fb7ad6fec1210ecb1c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f1731f71bc74fb7ad6fec1210ecb1c7">&#9670;&nbsp;</a></span>setSwingHorizontal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setSwingHorizontal </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>Control the current horizontal swing setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7334fbf8f2a67b33562ecea6b6e66f0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7334fbf8f2a67b33562ecea6b6e66f0e">&#9670;&nbsp;</a></span>setSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setSwingVertical </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>Control the current vertical swing setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ab098a376c7393d377abcc6c1f504d372"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab098a376c7393d377abcc6c1f504d372">&#9670;&nbsp;</a></span>setTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setTemp </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>degrees</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the temperature setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">degrees</td><td>The temperature in degrees celsius. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7d9c44970e85f23c83723f27e96260ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d9c44970e85f23c83723f27e96260ee">&#9670;&nbsp;</a></span>setTurbo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setTurbo </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>Control the current Turbo setting. </p>
<dl class="section note"><dt>Note</dt><dd>Turbo mode is turned off if the fan speed is changed. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="af02da81109109cf1cb44057fd1a40164"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af02da81109109cf1cb44057fd1a40164">&#9670;&nbsp;</a></span>setXFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::setXFan </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>Control the current XFan setting. This setting will cause the unit blow air after power off to dry out the A/C device. </p>
<dl class="section note"><dt>Note</dt><dd>XFan mode is only valid in Cool or Dry mode. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad6fefe85023c3fc318b0e45924874f9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6fefe85023c3fc318b0e45924874f9f">&#9670;&nbsp;</a></span>stateReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRKelvinatorAC::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 internals of the object to a known good state. </p>
</div>
</div>
<a id="a1e900aa29dad75f74de2bb797d475b20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e900aa29dad75f74de2bb797d475b20">&#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> IRKelvinatorAC::toCommon </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 internal A/C object state to it's <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="section return"><dt>Returns</dt><dd>A <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> containing the current settings. </dd></dl>
</div>
</div>
<a id="a0ebd262c554c5c843bc3f710570e1401"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ebd262c554c5c843bc3f710570e1401">&#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> IRKelvinatorAC::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 to it's <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</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>A native fan speed value. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> equivilant. </dd></dl>
</div>
</div>
<a id="ae2683d38ae72b99e6843e37d36f96db2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2683d38ae72b99e6843e37d36f96db2">&#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> IRKelvinatorAC::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 to it's <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</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>A native operating mode value. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> equivilant. </dd></dl>
</div>
</div>
<a id="a2cc438f41b6f4ed2f9df42acc1ffccfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cc438f41b6f4ed2f9df42acc1ffccfe">&#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> IRKelvinatorAC::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 internal settings into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A String. </dd></dl>
</div>
</div>
<a id="aaa915fa5eb3f7e5c7a3dc143b6fda826"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa915fa5eb3f7e5c7a3dc143b6fda826">&#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 IRKelvinatorAC::validChecksum </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>state</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a></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">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 array to verify the checksum of. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The size of the state. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A boolean indicating if it is valid. </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae3571bf6de20e47f81ad1da8f1d13118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3571bf6de20e47f81ad1da8f1d13118">&#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> IRKelvinatorAC::_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="a70f75821274e53cc5ed64ac53a6e32b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70f75821274e53cc5ed64ac53a6e32b4">&#9670;&nbsp;</a></span>remote_state</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRKelvinatorAC::remote_state[<a class="el" href="IRremoteESP8266_8h.html#af68545e8c2fe9af3719fb74c5d21f0c9">kKelvinatorStateLength</a>]</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>The state in IR code form. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Kelvinator_8h_source.html">ir_Kelvinator.h</a></li>
<li>src/<a class="el" href="ir__Kelvinator_8cpp.html">ir_Kelvinator.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>