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

984 lines
50 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRDaikin160 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="classIRDaikin160-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRDaikin160 Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Daikin 160-bit A/C messages.
<a href="classIRDaikin160.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 IRDaikin160:</div>
<div class="dyncontent">
<div class="center"><img src="classIRDaikin160__coll__graph.png" border="0" usemap="#IRDaikin160_coll__map" alt="Collaboration graph"/></div>
<map name="IRDaikin160_coll__map" id="IRDaikin160_coll__map">
<area shape="rect" title="Class for handling detailed Daikin 160&#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:a76fb744b041c38abb730bce0538a497a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a76fb744b041c38abb730bce0538a497a">IRDaikin160</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a76fb744b041c38abb730bce0538a497a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor. <a href="classIRDaikin160.html#a76fb744b041c38abb730bce0538a497a">More...</a><br /></td></tr>
<tr class="separator:a76fb744b041c38abb730bce0538a497a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e1c74070c03be02e40fdd05ed56465c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a0e1c74070c03be02e40fdd05ed56465c">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a82f4f1d8fae51c7e2f1f6753ca6e6053">kDaikin160DefaultRepeat</a>)</td></tr>
<tr class="memdesc:a0e1c74070c03be02e40fdd05ed56465c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRDaikin160.html#a0e1c74070c03be02e40fdd05ed56465c">More...</a><br /></td></tr>
<tr class="separator:a0e1c74070c03be02e40fdd05ed56465c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a608b5556f316c31e3a8aa73684e4e10d"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a608b5556f316c31e3a8aa73684e4e10d">calibrate</a> (void)</td></tr>
<tr class="memdesc:a608b5556f316c31e3a8aa73684e4e10d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRDaikin160.html#a608b5556f316c31e3a8aa73684e4e10d">More...</a><br /></td></tr>
<tr class="separator:a608b5556f316c31e3a8aa73684e4e10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62bb5f66cd99711e388eaa1be9faf617"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a62bb5f66cd99711e388eaa1be9faf617">begin</a> ()</td></tr>
<tr class="memdesc:a62bb5f66cd99711e388eaa1be9faf617"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRDaikin160.html#a62bb5f66cd99711e388eaa1be9faf617">More...</a><br /></td></tr>
<tr class="separator:a62bb5f66cd99711e388eaa1be9faf617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb68f80476362b0581fcb273b13cdf1e"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#aeb68f80476362b0581fcb273b13cdf1e">getRaw</a> ()</td></tr>
<tr class="memdesc:aeb68f80476362b0581fcb273b13cdf1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRDaikin160.html#aeb68f80476362b0581fcb273b13cdf1e">More...</a><br /></td></tr>
<tr class="separator:aeb68f80476362b0581fcb273b13cdf1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22e8a1600f612dd4326b2f9722d3a269"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a22e8a1600f612dd4326b2f9722d3a269">setRaw</a> (const uint8_t new_code[])</td></tr>
<tr class="memdesc:a22e8a1600f612dd4326b2f9722d3a269"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRDaikin160.html#a22e8a1600f612dd4326b2f9722d3a269">More...</a><br /></td></tr>
<tr class="separator:a22e8a1600f612dd4326b2f9722d3a269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b6c282ad5cb2a702857532ab020110b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a2b6c282ad5cb2a702857532ab020110b">on</a> (void)</td></tr>
<tr class="memdesc:a2b6c282ad5cb2a702857532ab020110b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On. <a href="classIRDaikin160.html#a2b6c282ad5cb2a702857532ab020110b">More...</a><br /></td></tr>
<tr class="separator:a2b6c282ad5cb2a702857532ab020110b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95f8c71bbf861d3c884656364e04b02a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a95f8c71bbf861d3c884656364e04b02a">off</a> (void)</td></tr>
<tr class="memdesc:a95f8c71bbf861d3c884656364e04b02a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off. <a href="classIRDaikin160.html#a95f8c71bbf861d3c884656364e04b02a">More...</a><br /></td></tr>
<tr class="separator:a95f8c71bbf861d3c884656364e04b02a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1a800ef7494c49a868d01039f5c37e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#af1a800ef7494c49a868d01039f5c37e4">setPower</a> (const bool <a class="el" href="classIRDaikin160.html#a2b6c282ad5cb2a702857532ab020110b">on</a>)</td></tr>
<tr class="memdesc:af1a800ef7494c49a868d01039f5c37e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting. <a href="classIRDaikin160.html#af1a800ef7494c49a868d01039f5c37e4">More...</a><br /></td></tr>
<tr class="separator:af1a800ef7494c49a868d01039f5c37e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad472f0d0680da6ab83a1b636bc00e271"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#ad472f0d0680da6ab83a1b636bc00e271">getPower</a> (void)</td></tr>
<tr class="memdesc:ad472f0d0680da6ab83a1b636bc00e271"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting. <a href="classIRDaikin160.html#ad472f0d0680da6ab83a1b636bc00e271">More...</a><br /></td></tr>
<tr class="separator:ad472f0d0680da6ab83a1b636bc00e271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abedd99ed838478a7ef856537c6fabb82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#abedd99ed838478a7ef856537c6fabb82">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:abedd99ed838478a7ef856537c6fabb82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature. <a href="classIRDaikin160.html#abedd99ed838478a7ef856537c6fabb82">More...</a><br /></td></tr>
<tr class="separator:abedd99ed838478a7ef856537c6fabb82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9cee15343fce5b0f32a4f2ff13a9dbe"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#ae9cee15343fce5b0f32a4f2ff13a9dbe">getTemp</a> ()</td></tr>
<tr class="memdesc:ae9cee15343fce5b0f32a4f2ff13a9dbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRDaikin160.html#ae9cee15343fce5b0f32a4f2ff13a9dbe">More...</a><br /></td></tr>
<tr class="separator:ae9cee15343fce5b0f32a4f2ff13a9dbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48e6fff63fd8b894c649fb495a467faa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a48e6fff63fd8b894c649fb495a467faa">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a48e6fff63fd8b894c649fb495a467faa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRDaikin160.html#a48e6fff63fd8b894c649fb495a467faa">More...</a><br /></td></tr>
<tr class="separator:a48e6fff63fd8b894c649fb495a467faa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b890fe446db67acd828fefd4afef84f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a2b890fe446db67acd828fefd4afef84f">getMode</a> (void)</td></tr>
<tr class="memdesc:a2b890fe446db67acd828fefd4afef84f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRDaikin160.html#a2b890fe446db67acd828fefd4afef84f">More...</a><br /></td></tr>
<tr class="separator:a2b890fe446db67acd828fefd4afef84f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f507c64dc7a9fa1e9391e9e8473af1b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a7f507c64dc7a9fa1e9391e9e8473af1b">setFan</a> (const uint8_t fan)</td></tr>
<tr class="memdesc:a7f507c64dc7a9fa1e9391e9e8473af1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan. <a href="classIRDaikin160.html#a7f507c64dc7a9fa1e9391e9e8473af1b">More...</a><br /></td></tr>
<tr class="separator:a7f507c64dc7a9fa1e9391e9e8473af1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eb3987f87d19e1ab01dac111ae2d16b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a2eb3987f87d19e1ab01dac111ae2d16b">getFan</a> (void)</td></tr>
<tr class="memdesc:a2eb3987f87d19e1ab01dac111ae2d16b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRDaikin160.html#a2eb3987f87d19e1ab01dac111ae2d16b">More...</a><br /></td></tr>
<tr class="separator:a2eb3987f87d19e1ab01dac111ae2d16b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1683a255393f233d3e5b46d186d62881"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a1683a255393f233d3e5b46d186d62881">setSwingVertical</a> (const uint8_t position)</td></tr>
<tr class="memdesc:a1683a255393f233d3e5b46d186d62881"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing mode of the A/C. <a href="classIRDaikin160.html#a1683a255393f233d3e5b46d186d62881">More...</a><br /></td></tr>
<tr class="separator:a1683a255393f233d3e5b46d186d62881"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ed62940052f79587c92eaf92e30cf53"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a5ed62940052f79587c92eaf92e30cf53">getSwingVertical</a> (void)</td></tr>
<tr class="memdesc:a5ed62940052f79587c92eaf92e30cf53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing mode of the A/C. <a href="classIRDaikin160.html#a5ed62940052f79587c92eaf92e30cf53">More...</a><br /></td></tr>
<tr class="separator:a5ed62940052f79587c92eaf92e30cf53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0641f2e7f86412a36dcbe98b9049d322"><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="classIRDaikin160.html#a0641f2e7f86412a36dcbe98b9049d322">toCommon</a> (void)</td></tr>
<tr class="memdesc:a0641f2e7f86412a36dcbe98b9049d322"><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="classIRDaikin160.html#a0641f2e7f86412a36dcbe98b9049d322">More...</a><br /></td></tr>
<tr class="separator:a0641f2e7f86412a36dcbe98b9049d322"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d9ff2f09b95023c595e9c4794cb29b8"><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="classIRDaikin160.html#a5d9ff2f09b95023c595e9c4794cb29b8">toString</a> (void)</td></tr>
<tr class="memdesc:a5d9ff2f09b95023c595e9c4794cb29b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRDaikin160.html#a5d9ff2f09b95023c595e9c4794cb29b8">More...</a><br /></td></tr>
<tr class="separator:a5d9ff2f09b95023c595e9c4794cb29b8"><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:a0d9f3af404e3b6c116e8c27e938f8479"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a0d9f3af404e3b6c116e8c27e938f8479">validChecksum</a> (uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a09f022a12a40a8fae09bfbddfbee6d62">kDaikin160StateLength</a>)</td></tr>
<tr class="memdesc:a0d9f3af404e3b6c116e8c27e938f8479"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRDaikin160.html#a0d9f3af404e3b6c116e8c27e938f8479">More...</a><br /></td></tr>
<tr class="separator:a0d9f3af404e3b6c116e8c27e938f8479"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac69861fdbde341fc75d90a5e4918aa56"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#ac69861fdbde341fc75d90a5e4918aa56">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:ac69861fdbde341fc75d90a5e4918aa56"><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="classIRDaikin160.html#ac69861fdbde341fc75d90a5e4918aa56">More...</a><br /></td></tr>
<tr class="separator:ac69861fdbde341fc75d90a5e4918aa56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32658c0f24d0b0c398d54ef648d717a9"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a32658c0f24d0b0c398d54ef648d717a9">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a32658c0f24d0b0c398d54ef648d717a9"><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="classIRDaikin160.html#a32658c0f24d0b0c398d54ef648d717a9">More...</a><br /></td></tr>
<tr class="separator:a32658c0f24d0b0c398d54ef648d717a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a615f599f3bc3e8dec5e5ef92512a2301"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a615f599f3bc3e8dec5e5ef92512a2301">convertSwingV</a> (const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> position)</td></tr>
<tr class="memdesc:a615f599f3bc3e8dec5e5ef92512a2301"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. <a href="classIRDaikin160.html#a615f599f3bc3e8dec5e5ef92512a2301">More...</a><br /></td></tr>
<tr class="separator:a615f599f3bc3e8dec5e5ef92512a2301"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae9b50e59c0efa46b96eef9f05a95b7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#afae9b50e59c0efa46b96eef9f05a95b7">toCommonSwingV</a> (const uint8_t setting)</td></tr>
<tr class="memdesc:afae9b50e59c0efa46b96eef9f05a95b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native vertical swing postion to it's common equivalent. <a href="classIRDaikin160.html#afae9b50e59c0efa46b96eef9f05a95b7">More...</a><br /></td></tr>
<tr class="separator:afae9b50e59c0efa46b96eef9f05a95b7"><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:ade56e55c8a0c81f0803dec2cda4625b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#ade56e55c8a0c81f0803dec2cda4625b0">stateReset</a> ()</td></tr>
<tr class="memdesc:ade56e55c8a0c81f0803dec2cda4625b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRDaikin160.html#ade56e55c8a0c81f0803dec2cda4625b0">More...</a><br /></td></tr>
<tr class="separator:ade56e55c8a0c81f0803dec2cda4625b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34090a598e2b25ee4688c8fbac933638"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a34090a598e2b25ee4688c8fbac933638">checksum</a> ()</td></tr>
<tr class="memdesc:a34090a598e2b25ee4688c8fbac933638"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRDaikin160.html#a34090a598e2b25ee4688c8fbac933638">More...</a><br /></td></tr>
<tr class="separator:a34090a598e2b25ee4688c8fbac933638"><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:a3094f35b359d8774a95dd3896c0e45e4"><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="classIRDaikin160.html#a3094f35b359d8774a95dd3896c0e45e4">_irsend</a></td></tr>
<tr class="memdesc:a3094f35b359d8774a95dd3896c0e45e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">instance of the IR send class <a href="classIRDaikin160.html#a3094f35b359d8774a95dd3896c0e45e4">More...</a><br /></td></tr>
<tr class="separator:a3094f35b359d8774a95dd3896c0e45e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17fb5726060e8872735559654a72cb22"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin160.html#a17fb5726060e8872735559654a72cb22">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#a09f022a12a40a8fae09bfbddfbee6d62">kDaikin160StateLength</a>]</td></tr>
<tr class="memdesc:a17fb5726060e8872735559654a72cb22"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state of the IR remote. <a href="classIRDaikin160.html#a17fb5726060e8872735559654a72cb22">More...</a><br /></td></tr>
<tr class="separator:a17fb5726060e8872735559654a72cb22"><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 160-bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a76fb744b041c38abb730bce0538a497a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76fb744b041c38abb730bce0538a497a">&#9670;&nbsp;</a></span>IRDaikin160()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRDaikin160::IRDaikin160 </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="a62bb5f66cd99711e388eaa1be9faf617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62bb5f66cd99711e388eaa1be9faf617">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="a608b5556f316c31e3a8aa73684e4e10d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a608b5556f316c31e3a8aa73684e4e10d">&#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 IRDaikin160::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="a34090a598e2b25ee4688c8fbac933638"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34090a598e2b25ee4688c8fbac933638">&#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 IRDaikin160::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="a32658c0f24d0b0c398d54ef648d717a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32658c0f24d0b0c398d54ef648d717a9">&#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 IRDaikin160::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="ac69861fdbde341fc75d90a5e4918aa56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac69861fdbde341fc75d90a5e4918aa56">&#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 IRDaikin160::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="a615f599f3bc3e8dec5e5ef92512a2301"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a615f599f3bc3e8dec5e5ef92512a2301">&#9670;&nbsp;</a></span>convertSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin160::convertSwingV </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td>
<td class="paramname"><em>position</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#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</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="a2eb3987f87d19e1ab01dac111ae2d16b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2eb3987f87d19e1ab01dac111ae2d16b">&#9670;&nbsp;</a></span>getFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin160::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="a2b890fe446db67acd828fefd4afef84f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b890fe446db67acd828fefd4afef84f">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin160::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="ad472f0d0680da6ab83a1b636bc00e271"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad472f0d0680da6ab83a1b636bc00e271">&#9670;&nbsp;</a></span>getPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRDaikin160::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="aeb68f80476362b0581fcb273b13cdf1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb68f80476362b0581fcb273b13cdf1e">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t * IRDaikin160::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="a5ed62940052f79587c92eaf92e30cf53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ed62940052f79587c92eaf92e30cf53">&#9670;&nbsp;</a></span>getSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin160::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>The native position/mode setting. </dd></dl>
</div>
</div>
<a id="ae9cee15343fce5b0f32a4f2ff13a9dbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9cee15343fce5b0f32a4f2ff13a9dbe">&#9670;&nbsp;</a></span>getTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRDaikin160::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="a95f8c71bbf861d3c884656364e04b02a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95f8c71bbf861d3c884656364e04b02a">&#9670;&nbsp;</a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="a2b6c282ad5cb2a702857532ab020110b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b6c282ad5cb2a702857532ab020110b">&#9670;&nbsp;</a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="a0e1c74070c03be02e40fdd05ed56465c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e1c74070c03be02e40fdd05ed56465c">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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#a82f4f1d8fae51c7e2f1f6753ca6e6053">kDaikin160DefaultRepeat</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="a7f507c64dc7a9fa1e9391e9e8473af1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f507c64dc7a9fa1e9391e9e8473af1b">&#9670;&nbsp;</a></span>setFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="a48e6fff63fd8b894c649fb495a467faa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48e6fff63fd8b894c649fb495a467faa">&#9670;&nbsp;</a></span>setMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="af1a800ef7494c49a868d01039f5c37e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1a800ef7494c49a868d01039f5c37e4">&#9670;&nbsp;</a></span>setPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="a22e8a1600f612dd4326b2f9722d3a269"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22e8a1600f612dd4326b2f9722d3a269">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="a1683a255393f233d3e5b46d186d62881"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1683a255393f233d3e5b46d186d62881">&#9670;&nbsp;</a></span>setSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::setSwingVertical </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>position</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">position</td><td>The position/mode to set the swing to. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="abedd99ed838478a7ef856537c6fabb82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abedd99ed838478a7ef856537c6fabb82">&#9670;&nbsp;</a></span>setTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRDaikin160::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="ade56e55c8a0c81f0803dec2cda4625b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade56e55c8a0c81f0803dec2cda4625b0">&#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 IRDaikin160::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="a0641f2e7f86412a36dcbe98b9049d322"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0641f2e7f86412a36dcbe98b9049d322">&#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> IRDaikin160::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="afae9b50e59c0efa46b96eef9f05a95b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afae9b50e59c0efa46b96eef9f05a95b7">&#9670;&nbsp;</a></span>toCommonSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> IRDaikin160::toCommonSwingV </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>setting</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a native vertical swing postion to it's common equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">setting</td><td>A native position to convert. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The common vertical swing position. </dd></dl>
</div>
</div>
<a id="a5d9ff2f09b95023c595e9c4794cb29b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d9ff2f09b95023c595e9c4794cb29b8">&#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> IRDaikin160::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="a0d9f3af404e3b6c116e8c27e938f8479"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d9f3af404e3b6c116e8c27e938f8479">&#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 IRDaikin160::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#a09f022a12a40a8fae09bfbddfbee6d62">kDaikin160StateLength</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="a3094f35b359d8774a95dd3896c0e45e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3094f35b359d8774a95dd3896c0e45e4">&#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> IRDaikin160::_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="a17fb5726060e8872735559654a72cb22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17fb5726060e8872735559654a72cb22">&#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 IRDaikin160::remote_state[<a class="el" href="IRremoteESP8266_8h.html#a09f022a12a40a8fae09bfbddfbee6d62">kDaikin160StateLength</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>