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

1072 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="89,95,191,121"/>
<area shape="rect" href="unionDaikin216Protocol.html" title="Native representation of a Daikin216 A/C message." alt="" coords="5,5,147,32"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="171,5,237,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:ab78433160895dd26cabf4fd2c4b7515d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#ab78433160895dd26cabf4fd2c4b7515d">begin</a> (void)</td></tr>
<tr class="memdesc:ab78433160895dd26cabf4fd2c4b7515d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRDaikin216.html#ab78433160895dd26cabf4fd2c4b7515d">More...</a><br /></td></tr>
<tr class="separator:ab78433160895dd26cabf4fd2c4b7515d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a178e2dd3578a53356e1cebdbac6024a7"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a178e2dd3578a53356e1cebdbac6024a7">getRaw</a> (void)</td></tr>
<tr class="memdesc:a178e2dd3578a53356e1cebdbac6024a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRDaikin216.html#a178e2dd3578a53356e1cebdbac6024a7">More...</a><br /></td></tr>
<tr class="separator:a178e2dd3578a53356e1cebdbac6024a7"><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:aaafa8df6d9e1c74fcc94de4630746642"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#aaafa8df6d9e1c74fcc94de4630746642">getPower</a> (void) const</td></tr>
<tr class="memdesc:aaafa8df6d9e1c74fcc94de4630746642"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting. <a href="classIRDaikin216.html#aaafa8df6d9e1c74fcc94de4630746642">More...</a><br /></td></tr>
<tr class="separator:aaafa8df6d9e1c74fcc94de4630746642"><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:ac6413e168b366658396b4c90ecd0d243"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#ac6413e168b366658396b4c90ecd0d243">getTemp</a> (void) const</td></tr>
<tr class="memdesc:ac6413e168b366658396b4c90ecd0d243"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRDaikin216.html#ac6413e168b366658396b4c90ecd0d243">More...</a><br /></td></tr>
<tr class="separator:ac6413e168b366658396b4c90ecd0d243"><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:a4ec4d63df2c3536bc9b10c1a883123f2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a4ec4d63df2c3536bc9b10c1a883123f2">getMode</a> (void) const</td></tr>
<tr class="memdesc:a4ec4d63df2c3536bc9b10c1a883123f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRDaikin216.html#a4ec4d63df2c3536bc9b10c1a883123f2">More...</a><br /></td></tr>
<tr class="separator:a4ec4d63df2c3536bc9b10c1a883123f2"><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:abc21da328afcf0831d6cd834c954f7a0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#abc21da328afcf0831d6cd834c954f7a0">getFan</a> (void) const</td></tr>
<tr class="memdesc:abc21da328afcf0831d6cd834c954f7a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRDaikin216.html#abc21da328afcf0831d6cd834c954f7a0">More...</a><br /></td></tr>
<tr class="separator:abc21da328afcf0831d6cd834c954f7a0"><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:af00b48f968c5ab428c36bde8886c9e31"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#af00b48f968c5ab428c36bde8886c9e31">getSwingVertical</a> (void) const</td></tr>
<tr class="memdesc:af00b48f968c5ab428c36bde8886c9e31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing mode of the A/C. <a href="classIRDaikin216.html#af00b48f968c5ab428c36bde8886c9e31">More...</a><br /></td></tr>
<tr class="separator:af00b48f968c5ab428c36bde8886c9e31"><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:afb800780b003ad6b77f310e168ea8024"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#afb800780b003ad6b77f310e168ea8024">getSwingHorizontal</a> (void) const</td></tr>
<tr class="memdesc:afb800780b003ad6b77f310e168ea8024"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Horizontal Swing mode of the A/C. <a href="classIRDaikin216.html#afb800780b003ad6b77f310e168ea8024">More...</a><br /></td></tr>
<tr class="separator:afb800780b003ad6b77f310e168ea8024"><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:adb59e4a7e933c1daa5456b9561710913"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#adb59e4a7e933c1daa5456b9561710913">getQuiet</a> (void) const</td></tr>
<tr class="memdesc:adb59e4a7e933c1daa5456b9561710913"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Quiet mode status of the A/C. <a href="classIRDaikin216.html#adb59e4a7e933c1daa5456b9561710913">More...</a><br /></td></tr>
<tr class="separator:adb59e4a7e933c1daa5456b9561710913"><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:a062077a6948d16de8b5f01522a989b2e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a062077a6948d16de8b5f01522a989b2e">getPowerful</a> (void) const</td></tr>
<tr class="memdesc:a062077a6948d16de8b5f01522a989b2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Powerful (Turbo) mode of the A/C. <a href="classIRDaikin216.html#a062077a6948d16de8b5f01522a989b2e">More...</a><br /></td></tr>
<tr class="separator:a062077a6948d16de8b5f01522a989b2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e1de110bf0c7a50fb8c2243b7f87524"><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#a4e1de110bf0c7a50fb8c2243b7f87524">toCommon</a> (void) const</td></tr>
<tr class="memdesc:a4e1de110bf0c7a50fb8c2243b7f87524"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. <a href="classIRDaikin216.html#a4e1de110bf0c7a50fb8c2243b7f87524">More...</a><br /></td></tr>
<tr class="separator:a4e1de110bf0c7a50fb8c2243b7f87524"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade381807ebfe6c1ac36ff256a28dca16"><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#ade381807ebfe6c1ac36ff256a28dca16">toString</a> (void) const</td></tr>
<tr class="memdesc:ade381807ebfe6c1ac36ff256a28dca16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRDaikin216.html#ade381807ebfe6c1ac36ff256a28dca16">More...</a><br /></td></tr>
<tr class="separator:ade381807ebfe6c1ac36ff256a28dca16"><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:a8456bd9981063019d48c59e5050680ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a8456bd9981063019d48c59e5050680ed">stateReset</a> (void)</td></tr>
<tr class="memdesc:a8456bd9981063019d48c59e5050680ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRDaikin216.html#a8456bd9981063019d48c59e5050680ed">More...</a><br /></td></tr>
<tr class="separator:a8456bd9981063019d48c59e5050680ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9d7d1ed13a6f32e5a30975f72554fba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#ae9d7d1ed13a6f32e5a30975f72554fba">checksum</a> (void)</td></tr>
<tr class="memdesc:ae9d7d1ed13a6f32e5a30975f72554fba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRDaikin216.html#ae9d7d1ed13a6f32e5a30975f72554fba">More...</a><br /></td></tr>
<tr class="separator:ae9d7d1ed13a6f32e5a30975f72554fba"><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:a41e9c282f84a853782dae90736d29b4b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionDaikin216Protocol.html">Daikin216Protocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin216.html#a41e9c282f84a853782dae90736d29b4b">_</a></td></tr>
<tr class="separator:a41e9c282f84a853782dae90736d29b4b"><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="ab78433160895dd26cabf4fd2c4b7515d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab78433160895dd26cabf4fd2c4b7515d">&#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="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="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="ae9d7d1ed13a6f32e5a30975f72554fba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9d7d1ed13a6f32e5a30975f72554fba">&#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="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculate 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 equivalent 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 equivalent of the enum. </dd></dl>
</div>
</div>
<a id="abc21da328afcf0831d6cd834c954f7a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc21da328afcf0831d6cd834c954f7a0">&#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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>
</div>
</div>
<a id="a4ec4d63df2c3536bc9b10c1a883123f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ec4d63df2c3536bc9b10c1a883123f2">&#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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>
</div>
</div>
<a id="aaafa8df6d9e1c74fcc94de4630746642"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaafa8df6d9e1c74fcc94de4630746642">&#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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="a062077a6948d16de8b5f01522a989b2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a062077a6948d16de8b5f01522a989b2e">&#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> const</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="adb59e4a7e933c1daa5456b9561710913"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb59e4a7e933c1daa5456b9561710913">&#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> const</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="a178e2dd3578a53356e1cebdbac6024a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a178e2dd3578a53356e1cebdbac6024a7">&#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="paramtype">void&#160;</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="afb800780b003ad6b77f310e168ea8024"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb800780b003ad6b77f310e168ea8024">&#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> const</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="af00b48f968c5ab428c36bde8886c9e31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af00b48f968c5ab428c36bde8886c9e31">&#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> const</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="ac6413e168b366658396b4c90ecd0d243"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6413e168b366658396b4c90ecd0d243">&#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="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</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="a8456bd9981063019d48c59e5050680ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8456bd9981063019d48c59e5050680ed">&#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="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>Reset the internal state to a fixed known good state. </p>
</div>
</div>
<a id="a4e1de110bf0c7a50fb8c2243b7f87524"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e1de110bf0c7a50fb8c2243b7f87524">&#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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>
</div>
</div>
<a id="ade381807ebfe6c1ac36ff256a28dca16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade381807ebfe6c1ac36ff256a28dca16">&#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> const</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="a41e9c282f84a853782dae90736d29b4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41e9c282f84a853782dae90736d29b4b">&#9670;&nbsp;</a></span>_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="unionDaikin216Protocol.html">Daikin216Protocol</a> IRDaikin216::_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="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>
<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>