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

1069 lines
55 KiB
HTML
Raw Normal View History

<!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: IRDaikin216 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="classIRDaikin216-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRDaikin216 Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Daikin 216-bit A/C messages.
<a href="classIRDaikin216.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ir__Daikin_8h_source.html">ir_Daikin.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRDaikin216:</div>
<div class="dyncontent">
<div class="center"><img src="classIRDaikin216__coll__graph.png" border="0" usemap="#IRDaikin216_coll__map" alt="Collaboration graph"/></div>
<map name="IRDaikin216_coll__map" id="IRDaikin216_coll__map">
<area shape="rect" title="Class for handling detailed Daikin 216&#45;bit A/C messages." alt="" coords="5,95,107,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="23,5,89,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:ad802bde79e5ee2d16e3b09fbc8bbe8df"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#ad802bde79e5ee2d16e3b09fbc8bbe8df">IRDaikin216</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:ad802bde79e5ee2d16e3b09fbc8bbe8df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class Constructor. <a href="classIRDaikin216.html#ad802bde79e5ee2d16e3b09fbc8bbe8df">More...</a><br /></td></tr>
<tr class="separator:ad802bde79e5ee2d16e3b09fbc8bbe8df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1061620f838cf7774c16c593b4ada8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#ab1061620f838cf7774c16c593b4ada8c">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a9d14d424d5a93de62f3e6f453db112db">kDaikin216DefaultRepeat</a>)</td></tr>
<tr class="memdesc:ab1061620f838cf7774c16c593b4ada8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRDaikin216.html#ab1061620f838cf7774c16c593b4ada8c">More...</a><br /></td></tr>
<tr class="separator:ab1061620f838cf7774c16c593b4ada8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d7501966528c0a690cfb505f163e26"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a49d7501966528c0a690cfb505f163e26">calibrate</a> (void)</td></tr>
<tr class="memdesc:a49d7501966528c0a690cfb505f163e26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRDaikin216.html#a49d7501966528c0a690cfb505f163e26">More...</a><br /></td></tr>
<tr class="separator:a49d7501966528c0a690cfb505f163e26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95be01fb6e672ebd12f2ebca0406ba15"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a95be01fb6e672ebd12f2ebca0406ba15">begin</a> ()</td></tr>
<tr class="memdesc:a95be01fb6e672ebd12f2ebca0406ba15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRDaikin216.html#a95be01fb6e672ebd12f2ebca0406ba15">More...</a><br /></td></tr>
<tr class="separator:a95be01fb6e672ebd12f2ebca0406ba15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac41b3de39ffc6ccd097085c727329531"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#ac41b3de39ffc6ccd097085c727329531">getRaw</a> ()</td></tr>
<tr class="memdesc:ac41b3de39ffc6ccd097085c727329531"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRDaikin216.html#ac41b3de39ffc6ccd097085c727329531">More...</a><br /></td></tr>
<tr class="separator:ac41b3de39ffc6ccd097085c727329531"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f6a2ffc2e76ec4ff020e773bd70160"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a49f6a2ffc2e76ec4ff020e773bd70160">setRaw</a> (const uint8_t new_code[])</td></tr>
<tr class="memdesc:a49f6a2ffc2e76ec4ff020e773bd70160"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRDaikin216.html#a49f6a2ffc2e76ec4ff020e773bd70160">More...</a><br /></td></tr>
<tr class="separator:a49f6a2ffc2e76ec4ff020e773bd70160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f54bb4ed1d553b4bbf6ffe6992a755"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a09f54bb4ed1d553b4bbf6ffe6992a755">on</a> (void)</td></tr>
<tr class="memdesc:a09f54bb4ed1d553b4bbf6ffe6992a755"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On. <a href="classIRDaikin216.html#a09f54bb4ed1d553b4bbf6ffe6992a755">More...</a><br /></td></tr>
<tr class="separator:a09f54bb4ed1d553b4bbf6ffe6992a755"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a086d8cea2d6dd0f74c5cbece79d91567"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a086d8cea2d6dd0f74c5cbece79d91567">off</a> (void)</td></tr>
<tr class="memdesc:a086d8cea2d6dd0f74c5cbece79d91567"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off. <a href="classIRDaikin216.html#a086d8cea2d6dd0f74c5cbece79d91567">More...</a><br /></td></tr>
<tr class="separator:a086d8cea2d6dd0f74c5cbece79d91567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a130a98bb2422a228977dea8a4e068ace"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a130a98bb2422a228977dea8a4e068ace">setPower</a> (const bool <a class="el" href="classIRDaikin216.html#a09f54bb4ed1d553b4bbf6ffe6992a755">on</a>)</td></tr>
<tr class="memdesc:a130a98bb2422a228977dea8a4e068ace"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting. <a href="classIRDaikin216.html#a130a98bb2422a228977dea8a4e068ace">More...</a><br /></td></tr>
<tr class="separator:a130a98bb2422a228977dea8a4e068ace"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b1e1dd2a059466ab5e5c8ab7eb4f2b4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a2b1e1dd2a059466ab5e5c8ab7eb4f2b4">getPower</a> (void)</td></tr>
<tr class="memdesc:a2b1e1dd2a059466ab5e5c8ab7eb4f2b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting. <a href="classIRDaikin216.html#a2b1e1dd2a059466ab5e5c8ab7eb4f2b4">More...</a><br /></td></tr>
<tr class="separator:a2b1e1dd2a059466ab5e5c8ab7eb4f2b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8735732d3264eec119127d4353990669"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a8735732d3264eec119127d4353990669">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a8735732d3264eec119127d4353990669"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature. <a href="classIRDaikin216.html#a8735732d3264eec119127d4353990669">More...</a><br /></td></tr>
<tr class="separator:a8735732d3264eec119127d4353990669"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b37310c01075c34cedd5ca1c8a2c37"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a65b37310c01075c34cedd5ca1c8a2c37">getTemp</a> ()</td></tr>
<tr class="memdesc:a65b37310c01075c34cedd5ca1c8a2c37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRDaikin216.html#a65b37310c01075c34cedd5ca1c8a2c37">More...</a><br /></td></tr>
<tr class="separator:a65b37310c01075c34cedd5ca1c8a2c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d0dfce75ac95df9125b2cfe7c955080"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a1d0dfce75ac95df9125b2cfe7c955080">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a1d0dfce75ac95df9125b2cfe7c955080"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRDaikin216.html#a1d0dfce75ac95df9125b2cfe7c955080">More...</a><br /></td></tr>
<tr class="separator:a1d0dfce75ac95df9125b2cfe7c955080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21b3e93f98ac55e743efe38c20617d6a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a21b3e93f98ac55e743efe38c20617d6a">getMode</a> (void)</td></tr>
<tr class="memdesc:a21b3e93f98ac55e743efe38c20617d6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRDaikin216.html#a21b3e93f98ac55e743efe38c20617d6a">More...</a><br /></td></tr>
<tr class="separator:a21b3e93f98ac55e743efe38c20617d6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fadfb1e61deca74a2d1b9c1d5ae62e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a8fadfb1e61deca74a2d1b9c1d5ae62e1">setFan</a> (const uint8_t fan)</td></tr>
<tr class="memdesc:a8fadfb1e61deca74a2d1b9c1d5ae62e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan. <a href="classIRDaikin216.html#a8fadfb1e61deca74a2d1b9c1d5ae62e1">More...</a><br /></td></tr>
<tr class="separator:a8fadfb1e61deca74a2d1b9c1d5ae62e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0905e04fc3d21249b057aa79721c1614"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a0905e04fc3d21249b057aa79721c1614">getFan</a> (void)</td></tr>
<tr class="memdesc:a0905e04fc3d21249b057aa79721c1614"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRDaikin216.html#a0905e04fc3d21249b057aa79721c1614">More...</a><br /></td></tr>
<tr class="separator:a0905e04fc3d21249b057aa79721c1614"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a851484d5a37ceb1b0fc32e2e4bc2bcbb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a851484d5a37ceb1b0fc32e2e4bc2bcbb">setSwingVertical</a> (const bool <a class="el" href="classIRDaikin216.html#a09f54bb4ed1d553b4bbf6ffe6992a755">on</a>)</td></tr>
<tr class="memdesc:a851484d5a37ceb1b0fc32e2e4bc2bcbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing mode of the A/C. <a href="classIRDaikin216.html#a851484d5a37ceb1b0fc32e2e4bc2bcbb">More...</a><br /></td></tr>
<tr class="separator:a851484d5a37ceb1b0fc32e2e4bc2bcbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae72a3858a0023dac48fe755fd1bb1677"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#ae72a3858a0023dac48fe755fd1bb1677">getSwingVertical</a> (void)</td></tr>
<tr class="memdesc:ae72a3858a0023dac48fe755fd1bb1677"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing mode of the A/C. <a href="classIRDaikin216.html#ae72a3858a0023dac48fe755fd1bb1677">More...</a><br /></td></tr>
<tr class="separator:ae72a3858a0023dac48fe755fd1bb1677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8a1525cbe8d813c419d17ee6776a7d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#af8a1525cbe8d813c419d17ee6776a7d9">setSwingHorizontal</a> (const bool <a class="el" href="classIRDaikin216.html#a09f54bb4ed1d553b4bbf6ffe6992a755">on</a>)</td></tr>
<tr class="memdesc:af8a1525cbe8d813c419d17ee6776a7d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Horizontal Swing mode of the A/C. <a href="classIRDaikin216.html#af8a1525cbe8d813c419d17ee6776a7d9">More...</a><br /></td></tr>
<tr class="separator:af8a1525cbe8d813c419d17ee6776a7d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b5c648e6568bf1dd24932e108c560d9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a4b5c648e6568bf1dd24932e108c560d9">getSwingHorizontal</a> (void)</td></tr>
<tr class="memdesc:a4b5c648e6568bf1dd24932e108c560d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Horizontal Swing mode of the A/C. <a href="classIRDaikin216.html#a4b5c648e6568bf1dd24932e108c560d9">More...</a><br /></td></tr>
<tr class="separator:a4b5c648e6568bf1dd24932e108c560d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a062528f54412cd3d2339c7bf82305ebb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a062528f54412cd3d2339c7bf82305ebb">setQuiet</a> (const bool <a class="el" href="classIRDaikin216.html#a09f54bb4ed1d553b4bbf6ffe6992a755">on</a>)</td></tr>
<tr class="memdesc:a062528f54412cd3d2339c7bf82305ebb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Quiet mode of the A/C. <a href="classIRDaikin216.html#a062528f54412cd3d2339c7bf82305ebb">More...</a><br /></td></tr>
<tr class="separator:a062528f54412cd3d2339c7bf82305ebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0f1aa62f8afd3d489a33af1c1067bc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#aaa0f1aa62f8afd3d489a33af1c1067bc">getQuiet</a> (void)</td></tr>
<tr class="memdesc:aaa0f1aa62f8afd3d489a33af1c1067bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Quiet mode status of the A/C. <a href="classIRDaikin216.html#aaa0f1aa62f8afd3d489a33af1c1067bc">More...</a><br /></td></tr>
<tr class="separator:aaa0f1aa62f8afd3d489a33af1c1067bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cb6e958f3b9789828738defe4d12c7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a5cb6e958f3b9789828738defe4d12c7b">setPowerful</a> (const bool <a class="el" href="classIRDaikin216.html#a09f54bb4ed1d553b4bbf6ffe6992a755">on</a>)</td></tr>
<tr class="memdesc:a5cb6e958f3b9789828738defe4d12c7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Powerful (Turbo) mode of the A/C. <a href="classIRDaikin216.html#a5cb6e958f3b9789828738defe4d12c7b">More...</a><br /></td></tr>
<tr class="separator:a5cb6e958f3b9789828738defe4d12c7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf94e292df8f45233e115324a95a5e83"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#acf94e292df8f45233e115324a95a5e83">getPowerful</a> (void)</td></tr>
<tr class="memdesc:acf94e292df8f45233e115324a95a5e83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Powerful (Turbo) mode of the A/C. <a href="classIRDaikin216.html#acf94e292df8f45233e115324a95a5e83">More...</a><br /></td></tr>
<tr class="separator:acf94e292df8f45233e115324a95a5e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac477511261d7f135ee4f909eb5512f9a"><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="classIRDaikin216.html#ac477511261d7f135ee4f909eb5512f9a">toCommon</a> (void)</td></tr>
<tr class="memdesc:ac477511261d7f135ee4f909eb5512f9a"><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> equivilant. <a href="classIRDaikin216.html#ac477511261d7f135ee4f909eb5512f9a">More...</a><br /></td></tr>
<tr class="separator:ac477511261d7f135ee4f909eb5512f9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b9ea30424aa3abd9fdee95c78ba9e40"><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="classIRDaikin216.html#a5b9ea30424aa3abd9fdee95c78ba9e40">toString</a> (void)</td></tr>
<tr class="memdesc:a5b9ea30424aa3abd9fdee95c78ba9e40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRDaikin216.html#a5b9ea30424aa3abd9fdee95c78ba9e40">More...</a><br /></td></tr>
<tr class="separator:a5b9ea30424aa3abd9fdee95c78ba9e40"><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:a663c11977545ba01b34715a61a26ab88"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a663c11977545ba01b34715a61a26ab88">validChecksum</a> (uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a70a1a65c1947b440e4ff27477de5ddc7">kDaikin216StateLength</a>)</td></tr>
<tr class="memdesc:a663c11977545ba01b34715a61a26ab88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRDaikin216.html#a663c11977545ba01b34715a61a26ab88">More...</a><br /></td></tr>
<tr class="separator:a663c11977545ba01b34715a61a26ab88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fa9eca71ee6ad66b3fffd8b779f5fb0"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a4fa9eca71ee6ad66b3fffd8b779f5fb0">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a4fa9eca71ee6ad66b3fffd8b779f5fb0"><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="classIRDaikin216.html#a4fa9eca71ee6ad66b3fffd8b779f5fb0">More...</a><br /></td></tr>
<tr class="separator:a4fa9eca71ee6ad66b3fffd8b779f5fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a520cc65161290f15022b4108f7049a83"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a520cc65161290f15022b4108f7049a83">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a520cc65161290f15022b4108f7049a83"><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="classIRDaikin216.html#a520cc65161290f15022b4108f7049a83">More...</a><br /></td></tr>
<tr class="separator:a520cc65161290f15022b4108f7049a83"><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:adbc856e6531b38963db5680d279a4767"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#adbc856e6531b38963db5680d279a4767">stateReset</a> ()</td></tr>
<tr class="memdesc:adbc856e6531b38963db5680d279a4767"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRDaikin216.html#adbc856e6531b38963db5680d279a4767">More...</a><br /></td></tr>
<tr class="separator:adbc856e6531b38963db5680d279a4767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2c951901b3b9db9f285a4e9b563ea5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#af2c951901b3b9db9f285a4e9b563ea5e">checksum</a> ()</td></tr>
<tr class="memdesc:af2c951901b3b9db9f285a4e9b563ea5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRDaikin216.html#af2c951901b3b9db9f285a4e9b563ea5e">More...</a><br /></td></tr>
<tr class="separator:af2c951901b3b9db9f285a4e9b563ea5e"><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:ac0e88b92a5c75138ce5b3a31f0c09be2"><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="classIRDaikin216.html#ac0e88b92a5c75138ce5b3a31f0c09be2">_irsend</a></td></tr>
<tr class="memdesc:ac0e88b92a5c75138ce5b3a31f0c09be2"><td class="mdescLeft">&#160;</td><td class="mdescRight">instance of the IR send class <a href="classIRDaikin216.html#ac0e88b92a5c75138ce5b3a31f0c09be2">More...</a><br /></td></tr>
<tr class="separator:ac0e88b92a5c75138ce5b3a31f0c09be2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf9bab0a52f9227d54f583488b024a85"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#abf9bab0a52f9227d54f583488b024a85">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#a70a1a65c1947b440e4ff27477de5ddc7">kDaikin216StateLength</a>]</td></tr>
<tr class="memdesc:abf9bab0a52f9227d54f583488b024a85"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state of the IR remote. <a href="classIRDaikin216.html#abf9bab0a52f9227d54f583488b024a85">More...</a><br /></td></tr>
<tr class="separator:abf9bab0a52f9227d54f583488b024a85"><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 Daikin 216-bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad802bde79e5ee2d16e3b09fbc8bbe8df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad802bde79e5ee2d16e3b09fbc8bbe8df">&#9670;&nbsp;</a></span>IRDaikin216()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRDaikin216::IRDaikin216 </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="a95be01fb6e672ebd12f2ebca0406ba15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95be01fb6e672ebd12f2ebca0406ba15">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::begin </td>
<td>(</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="a49d7501966528c0a690cfb505f163e26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d7501966528c0a690cfb505f163e26">&#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 IRDaikin216::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="af2c951901b3b9db9f285a4e9b563ea5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2c951901b3b9db9f285a4e9b563ea5e">&#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 IRDaikin216::checksum </td>
<td>(</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 and set the checksum values for the internal state. </p>
</div>
</div>
<a id="a520cc65161290f15022b4108f7049a83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a520cc65161290f15022b4108f7049a83">&#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 IRDaikin216::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 equivilant of the enum. </dd></dl>
</div>
</div>
<a id="a4fa9eca71ee6ad66b3fffd8b779f5fb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fa9eca71ee6ad66b3fffd8b779f5fb0">&#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 IRDaikin216::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 equivilant of the enum. </dd></dl>
</div>
</div>
<a id="a0905e04fc3d21249b057aa79721c1614"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0905e04fc3d21249b057aa79721c1614">&#9670;&nbsp;</a></span>getFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin216::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="a21b3e93f98ac55e743efe38c20617d6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21b3e93f98ac55e743efe38c20617d6a">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin216::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 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="a2b1e1dd2a059466ab5e5c8ab7eb4f2b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b1e1dd2a059466ab5e5c8ab7eb4f2b4">&#9670;&nbsp;</a></span>getPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRDaikin216::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 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="acf94e292df8f45233e115324a95a5e83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf94e292df8f45233e115324a95a5e83">&#9670;&nbsp;</a></span>getPowerful()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRDaikin216::getPowerful </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 Powerful (Turbo) mode 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="aaa0f1aa62f8afd3d489a33af1c1067bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa0f1aa62f8afd3d489a33af1c1067bc">&#9670;&nbsp;</a></span>getQuiet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRDaikin216::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>Get the Quiet mode status 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>
<dl class="section note"><dt>Note</dt><dd>This is a horrible hack till someone works out the quiet mode bit. </dd></dl>
</div>
</div>
<a id="ac41b3de39ffc6ccd097085c727329531"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac41b3de39ffc6ccd097085c727329531">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t * IRDaikin216::getRaw </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>
</div>
</div>
<a id="a4b5c648e6568bf1dd24932e108c560d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b5c648e6568bf1dd24932e108c560d9">&#9670;&nbsp;</a></span>getSwingHorizontal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRDaikin216::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>Get the Horizontal Swing mode 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="ae72a3858a0023dac48fe755fd1bb1677"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae72a3858a0023dac48fe755fd1bb1677">&#9670;&nbsp;</a></span>getSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRDaikin216::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>Get the Vertical Swing mode 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="a65b37310c01075c34cedd5ca1c8a2c37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65b37310c01075c34cedd5ca1c8a2c37">&#9670;&nbsp;</a></span>getTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin216::getTemp </td>
<td>(</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>The current setting for temp. in degrees celsius. </dd></dl>
</div>
</div>
<a id="a086d8cea2d6dd0f74c5cbece79d91567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a086d8cea2d6dd0f74c5cbece79d91567">&#9670;&nbsp;</a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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>Change the power setting to Off. </p>
</div>
</div>
<a id="a09f54bb4ed1d553b4bbf6ffe6992a755"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09f54bb4ed1d553b4bbf6ffe6992a755">&#9670;&nbsp;</a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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>Change the power setting to On. </p>
</div>
</div>
<a id="ab1061620f838cf7774c16c593b4ada8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1061620f838cf7774c16c593b4ada8c">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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#a9d14d424d5a93de62f3e6f453db112db">kDaikin216DefaultRepeat</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="a8fadfb1e61deca74a2d1b9c1d5ae62e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fadfb1e61deca74a2d1b9c1d5ae62e1">&#9670;&nbsp;</a></span>setFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>1-5 or kDaikinFanAuto or kDaikinFanQuiet </dd></dl>
</div>
</div>
<a id="a1d0dfce75ac95df9125b2cfe7c955080"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d0dfce75ac95df9125b2cfe7c955080">&#9670;&nbsp;</a></span>setMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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="a130a98bb2422a228977dea8a4e068ace"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a130a98bb2422a228977dea8a4e068ace">&#9670;&nbsp;</a></span>setPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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="a5cb6e958f3b9789828738defe4d12c7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cb6e958f3b9789828738defe4d12c7b">&#9670;&nbsp;</a></span>setPowerful()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::setPowerful </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 Powerful (Turbo) 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">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a062528f54412cd3d2339c7bf82305ebb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a062528f54412cd3d2339c7bf82305ebb">&#9670;&nbsp;</a></span>setQuiet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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>Set the Quiet 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">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>This is a horrible hack till someone works out the quiet mode bit. </dd></dl>
</div>
</div>
<a id="a49f6a2ffc2e76ec4ff020e773bd70160"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49f6a2ffc2e76ec4ff020e773bd70160">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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 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">new_code</td><td>A valid code for this protocol. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="af8a1525cbe8d813c419d17ee6776a7d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8a1525cbe8d813c419d17ee6776a7d9">&#9670;&nbsp;</a></span>setSwingHorizontal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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>Set the Horizontal Swing 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">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a851484d5a37ceb1b0fc32e2e4bc2bcbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a851484d5a37ceb1b0fc32e2e4bc2bcbb">&#9670;&nbsp;</a></span>setSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::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>Set the Vertical Swing 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">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a8735732d3264eec119127d4353990669"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8735732d3264eec119127d4353990669">&#9670;&nbsp;</a></span>setTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::setTemp </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>temp</em></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>
</table>
</dd>
</dl>
</div>
</div>
<a id="adbc856e6531b38963db5680d279a4767"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbc856e6531b38963db5680d279a4767">&#9670;&nbsp;</a></span>stateReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IRDaikin216::stateReset </td>
<td>(</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>Reset the internal state to a fixed known good state. </p>
</div>
</div>
<a id="ac477511261d7f135ee4f909eb5512f9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac477511261d7f135ee4f909eb5512f9a">&#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> IRDaikin216::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 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> equivilant. </p>
<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> equivilant of the native settings. </dd></dl>
</div>
</div>
<a id="a5b9ea30424aa3abd9fdee95c78ba9e40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b9ea30424aa3abd9fdee95c78ba9e40">&#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> IRDaikin216::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="a663c11977545ba01b34715a61a26ab88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a663c11977545ba01b34715a61a26ab88">&#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 IRDaikin216::validChecksum </td>
<td>(</td>
<td class="paramtype">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#a70a1a65c1947b440e4ff27477de5ddc7">kDaikin216StateLength</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 length of the state array. </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="ac0e88b92a5c75138ce5b3a31f0c09be2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0e88b92a5c75138ce5b3a31f0c09be2">&#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> IRDaikin216::_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="abf9bab0a52f9227d54f583488b024a85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf9bab0a52f9227d54f583488b024a85">&#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 IRDaikin216::remote_state[<a class="el" href="IRremoteESP8266_8h.html#a70a1a65c1947b440e4ff27477de5ddc7">kDaikin216StateLength</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 of the IR remote. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Daikin_8h_source.html">ir_Daikin.h</a></li>
<li>src/<a class="el" href="ir__Daikin_8cpp.html">ir_Daikin.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>