mirror of https://github.com/arendst/Tasmota.git
1090 lines
56 KiB
HTML
1090 lines
56 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: IRDaikin176 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&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&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> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classIRDaikin176-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">IRDaikin176 Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Class for handling detailed Daikin 176-bit A/C messages.
|
|
<a href="classIRDaikin176.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="ir__Daikin_8h_source.html">ir_Daikin.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for IRDaikin176:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classIRDaikin176__coll__graph.png" border="0" usemap="#IRDaikin176_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="IRDaikin176_coll__map" id="IRDaikin176_coll__map">
|
|
<area shape="rect" title="Class for handling detailed Daikin 176-bit A/C messages." alt="" coords="89,95,191,121"/>
|
|
<area shape="rect" href="unionDaikin176Protocol.html" title="Native representation of a Daikin176 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:accfe7c3f34351844d12059455f65f312"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#accfe7c3f34351844d12059455f65f312">IRDaikin176</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
|
|
<tr class="memdesc:accfe7c3f34351844d12059455f65f312"><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="classIRDaikin176.html#accfe7c3f34351844d12059455f65f312">More...</a><br /></td></tr>
|
|
<tr class="separator:accfe7c3f34351844d12059455f65f312"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:affd71592fa8ed05816d94edbf94d2c0a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#affd71592fa8ed05816d94edbf94d2c0a">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a0228803e8fff3c73227214d4bb3d8b05">kDaikin176DefaultRepeat</a>)</td></tr>
|
|
<tr class="memdesc:affd71592fa8ed05816d94edbf94d2c0a"><td class="mdescLeft"> </td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRDaikin176.html#affd71592fa8ed05816d94edbf94d2c0a">More...</a><br /></td></tr>
|
|
<tr class="separator:affd71592fa8ed05816d94edbf94d2c0a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f5989110782c18aa18e3757c50f4a31"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a1f5989110782c18aa18e3757c50f4a31">calibrate</a> (void)</td></tr>
|
|
<tr class="memdesc:a1f5989110782c18aa18e3757c50f4a31"><td class="mdescLeft"> </td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRDaikin176.html#a1f5989110782c18aa18e3757c50f4a31">More...</a><br /></td></tr>
|
|
<tr class="separator:a1f5989110782c18aa18e3757c50f4a31"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e41b220033f16e57664f8d59b6e890b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a0e41b220033f16e57664f8d59b6e890b">begin</a> (void)</td></tr>
|
|
<tr class="memdesc:a0e41b220033f16e57664f8d59b6e890b"><td class="mdescLeft"> </td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRDaikin176.html#a0e41b220033f16e57664f8d59b6e890b">More...</a><br /></td></tr>
|
|
<tr class="separator:a0e41b220033f16e57664f8d59b6e890b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd84f4e9f36a91264290a7a0cf0f519e"><td class="memItemLeft" align="right" valign="top">uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#acd84f4e9f36a91264290a7a0cf0f519e">getRaw</a> (void)</td></tr>
|
|
<tr class="memdesc:acd84f4e9f36a91264290a7a0cf0f519e"><td class="mdescLeft"> </td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRDaikin176.html#acd84f4e9f36a91264290a7a0cf0f519e">More...</a><br /></td></tr>
|
|
<tr class="separator:acd84f4e9f36a91264290a7a0cf0f519e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51e5f74b532eca958c09998727064e8d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a51e5f74b532eca958c09998727064e8d">setRaw</a> (const uint8_t new_code[])</td></tr>
|
|
<tr class="memdesc:a51e5f74b532eca958c09998727064e8d"><td class="mdescLeft"> </td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRDaikin176.html#a51e5f74b532eca958c09998727064e8d">More...</a><br /></td></tr>
|
|
<tr class="separator:a51e5f74b532eca958c09998727064e8d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3ca59ccdad4b7958fc4dc1a4b0593f38"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a3ca59ccdad4b7958fc4dc1a4b0593f38">on</a> (void)</td></tr>
|
|
<tr class="memdesc:a3ca59ccdad4b7958fc4dc1a4b0593f38"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to On. <a href="classIRDaikin176.html#a3ca59ccdad4b7958fc4dc1a4b0593f38">More...</a><br /></td></tr>
|
|
<tr class="separator:a3ca59ccdad4b7958fc4dc1a4b0593f38"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4ad81df1fe4921abee3634bf19b0d0f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a4ad81df1fe4921abee3634bf19b0d0f7">off</a> (void)</td></tr>
|
|
<tr class="memdesc:a4ad81df1fe4921abee3634bf19b0d0f7"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to Off.. <a href="classIRDaikin176.html#a4ad81df1fe4921abee3634bf19b0d0f7">More...</a><br /></td></tr>
|
|
<tr class="separator:a4ad81df1fe4921abee3634bf19b0d0f7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a58c755ba53d1f14a51b0c64ff4ef0669"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a58c755ba53d1f14a51b0c64ff4ef0669">setPower</a> (const bool <a class="el" href="classIRDaikin176.html#a3ca59ccdad4b7958fc4dc1a4b0593f38">on</a>)</td></tr>
|
|
<tr class="memdesc:a58c755ba53d1f14a51b0c64ff4ef0669"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting. <a href="classIRDaikin176.html#a58c755ba53d1f14a51b0c64ff4ef0669">More...</a><br /></td></tr>
|
|
<tr class="separator:a58c755ba53d1f14a51b0c64ff4ef0669"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa095669914397f51729b0f6bd8d9c094"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#aa095669914397f51729b0f6bd8d9c094">getPower</a> (void) const</td></tr>
|
|
<tr class="memdesc:aa095669914397f51729b0f6bd8d9c094"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current power setting. <a href="classIRDaikin176.html#aa095669914397f51729b0f6bd8d9c094">More...</a><br /></td></tr>
|
|
<tr class="separator:aa095669914397f51729b0f6bd8d9c094"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acb3b296f4c87a5a37258c666ef886ff3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#acb3b296f4c87a5a37258c666ef886ff3">setTemp</a> (const uint8_t temp)</td></tr>
|
|
<tr class="memdesc:acb3b296f4c87a5a37258c666ef886ff3"><td class="mdescLeft"> </td><td class="mdescRight">Set the temperature. <a href="classIRDaikin176.html#acb3b296f4c87a5a37258c666ef886ff3">More...</a><br /></td></tr>
|
|
<tr class="separator:acb3b296f4c87a5a37258c666ef886ff3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9d1edc9dbb661deec9b6a22e3d3ab307"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a9d1edc9dbb661deec9b6a22e3d3ab307">getTemp</a> (void) const</td></tr>
|
|
<tr class="memdesc:a9d1edc9dbb661deec9b6a22e3d3ab307"><td class="mdescLeft"> </td><td class="mdescRight">Get the current temperature setting. <a href="classIRDaikin176.html#a9d1edc9dbb661deec9b6a22e3d3ab307">More...</a><br /></td></tr>
|
|
<tr class="separator:a9d1edc9dbb661deec9b6a22e3d3ab307"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7ce82479f5ae2721baae8119b711c112"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a7ce82479f5ae2721baae8119b711c112">setMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:a7ce82479f5ae2721baae8119b711c112"><td class="mdescLeft"> </td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRDaikin176.html#a7ce82479f5ae2721baae8119b711c112">More...</a><br /></td></tr>
|
|
<tr class="separator:a7ce82479f5ae2721baae8119b711c112"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a06d4d50b48a3d10c882342c582d46402"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a06d4d50b48a3d10c882342c582d46402">getMode</a> (void) const</td></tr>
|
|
<tr class="memdesc:a06d4d50b48a3d10c882342c582d46402"><td class="mdescLeft"> </td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRDaikin176.html#a06d4d50b48a3d10c882342c582d46402">More...</a><br /></td></tr>
|
|
<tr class="separator:a06d4d50b48a3d10c882342c582d46402"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a050a9943dc7d8289472e6b9dbdcb06c1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a050a9943dc7d8289472e6b9dbdcb06c1">setFan</a> (const uint8_t fan)</td></tr>
|
|
<tr class="memdesc:a050a9943dc7d8289472e6b9dbdcb06c1"><td class="mdescLeft"> </td><td class="mdescRight">Set the speed of the fan. <a href="classIRDaikin176.html#a050a9943dc7d8289472e6b9dbdcb06c1">More...</a><br /></td></tr>
|
|
<tr class="separator:a050a9943dc7d8289472e6b9dbdcb06c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4d75131b7912d499af590fdc2be03d5"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#af4d75131b7912d499af590fdc2be03d5">getFan</a> (void) const</td></tr>
|
|
<tr class="memdesc:af4d75131b7912d499af590fdc2be03d5"><td class="mdescLeft"> </td><td class="mdescRight">Get the current fan speed setting. <a href="classIRDaikin176.html#af4d75131b7912d499af590fdc2be03d5">More...</a><br /></td></tr>
|
|
<tr class="separator:af4d75131b7912d499af590fdc2be03d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9e63cf22410ffad45f6b308674079ee8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a9e63cf22410ffad45f6b308674079ee8">setSwingHorizontal</a> (const uint8_t position)</td></tr>
|
|
<tr class="memdesc:a9e63cf22410ffad45f6b308674079ee8"><td class="mdescLeft"> </td><td class="mdescRight">Set the Horizontal Swing mode of the A/C. <a href="classIRDaikin176.html#a9e63cf22410ffad45f6b308674079ee8">More...</a><br /></td></tr>
|
|
<tr class="separator:a9e63cf22410ffad45f6b308674079ee8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4cf043df8f6f2e5a3554208dff0d963d"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a4cf043df8f6f2e5a3554208dff0d963d">getSwingHorizontal</a> (void) const</td></tr>
|
|
<tr class="memdesc:a4cf043df8f6f2e5a3554208dff0d963d"><td class="mdescLeft"> </td><td class="mdescRight">Get the Horizontal Swing mode of the A/C. <a href="classIRDaikin176.html#a4cf043df8f6f2e5a3554208dff0d963d">More...</a><br /></td></tr>
|
|
<tr class="separator:a4cf043df8f6f2e5a3554208dff0d963d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee7d30b9935881513afafa5291dd8c0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#aee7d30b9935881513afafa5291dd8c0c">toCommon</a> (void) const</td></tr>
|
|
<tr class="memdesc:aee7d30b9935881513afafa5291dd8c0c"><td class="mdescLeft"> </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="classIRDaikin176.html#aee7d30b9935881513afafa5291dd8c0c">More...</a><br /></td></tr>
|
|
<tr class="separator:aee7d30b9935881513afafa5291dd8c0c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f72e3a2d9cbb075956b5cbec4a41412"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a1f72e3a2d9cbb075956b5cbec4a41412">toString</a> (void) const</td></tr>
|
|
<tr class="memdesc:a1f72e3a2d9cbb075956b5cbec4a41412"><td class="mdescLeft"> </td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRDaikin176.html#a1f72e3a2d9cbb075956b5cbec4a41412">More...</a><br /></td></tr>
|
|
<tr class="separator:a1f72e3a2d9cbb075956b5cbec4a41412"><td class="memSeparator" colspan="2"> </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:abc97abc68f535f7ad801b393e0a795d5"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#abc97abc68f535f7ad801b393e0a795d5">validChecksum</a> (uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#aa71fc87dcb6f14b82997e1d2269429d2">kDaikin176StateLength</a>)</td></tr>
|
|
<tr class="memdesc:abc97abc68f535f7ad801b393e0a795d5"><td class="mdescLeft"> </td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRDaikin176.html#abc97abc68f535f7ad801b393e0a795d5">More...</a><br /></td></tr>
|
|
<tr class="separator:abc97abc68f535f7ad801b393e0a795d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab07fd6eab0ac6132625a291dae8cfc78"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#ab07fd6eab0ac6132625a291dae8cfc78">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
|
|
<tr class="memdesc:ab07fd6eab0ac6132625a291dae8cfc78"><td class="mdescLeft"> </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="classIRDaikin176.html#ab07fd6eab0ac6132625a291dae8cfc78">More...</a><br /></td></tr>
|
|
<tr class="separator:ab07fd6eab0ac6132625a291dae8cfc78"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae3dda9a55f851b5253d0677835a2c3dd"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#ae3dda9a55f851b5253d0677835a2c3dd">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
|
|
<tr class="memdesc:ae3dda9a55f851b5253d0677835a2c3dd"><td class="mdescLeft"> </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="classIRDaikin176.html#ae3dda9a55f851b5253d0677835a2c3dd">More...</a><br /></td></tr>
|
|
<tr class="separator:ae3dda9a55f851b5253d0677835a2c3dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2387b8dff2a9c9cd164034977b03f192"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a2387b8dff2a9c9cd164034977b03f192">convertSwingH</a> (const <a class="el" href="namespacestdAc.html#aae50ee315fa9c9ec1a4078da40d6b147">stdAc::swingh_t</a> position)</td></tr>
|
|
<tr class="memdesc:a2387b8dff2a9c9cd164034977b03f192"><td class="mdescLeft"> </td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#aae50ee315fa9c9ec1a4078da40d6b147" title="Common A/C settings for Horizontal Swing.">stdAc::swingh_t</a> enum into it's native setting. <a href="classIRDaikin176.html#a2387b8dff2a9c9cd164034977b03f192">More...</a><br /></td></tr>
|
|
<tr class="separator:a2387b8dff2a9c9cd164034977b03f192"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6f9b7dddcf98c7a42495c900dddf505d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a6f9b7dddcf98c7a42495c900dddf505d">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
|
|
<tr class="memdesc:a6f9b7dddcf98c7a42495c900dddf505d"><td class="mdescLeft"> </td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. <a href="classIRDaikin176.html#a6f9b7dddcf98c7a42495c900dddf505d">More...</a><br /></td></tr>
|
|
<tr class="separator:a6f9b7dddcf98c7a42495c900dddf505d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa0b9c96d3bf08400a5110bcfa9f1ec9d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#aa0b9c96d3bf08400a5110bcfa9f1ec9d">toCommonMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:aa0b9c96d3bf08400a5110bcfa9f1ec9d"><td class="mdescLeft"> </td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. <a href="classIRDaikin176.html#aa0b9c96d3bf08400a5110bcfa9f1ec9d">More...</a><br /></td></tr>
|
|
<tr class="separator:aa0b9c96d3bf08400a5110bcfa9f1ec9d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6a3b66c9777992ed9fcab4e26c1d74dc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#aae50ee315fa9c9ec1a4078da40d6b147">stdAc::swingh_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a6a3b66c9777992ed9fcab4e26c1d74dc">toCommonSwingH</a> (const uint8_t setting)</td></tr>
|
|
<tr class="memdesc:a6a3b66c9777992ed9fcab4e26c1d74dc"><td class="mdescLeft"> </td><td class="mdescRight">Convert a native horizontal swing postion to it's common equivalent. <a href="classIRDaikin176.html#a6a3b66c9777992ed9fcab4e26c1d74dc">More...</a><br /></td></tr>
|
|
<tr class="separator:a6a3b66c9777992ed9fcab4e26c1d74dc"><td class="memSeparator" colspan="2"> </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:a7f0b4b6c0a4a8b0680a8b8cd0eda8127"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a7f0b4b6c0a4a8b0680a8b8cd0eda8127">stateReset</a> (void)</td></tr>
|
|
<tr class="memdesc:a7f0b4b6c0a4a8b0680a8b8cd0eda8127"><td class="mdescLeft"> </td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRDaikin176.html#a7f0b4b6c0a4a8b0680a8b8cd0eda8127">More...</a><br /></td></tr>
|
|
<tr class="separator:a7f0b4b6c0a4a8b0680a8b8cd0eda8127"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a155e0dc2c7fcc334fffdef64c31c33fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a155e0dc2c7fcc334fffdef64c31c33fd">checksum</a> (void)</td></tr>
|
|
<tr class="memdesc:a155e0dc2c7fcc334fffdef64c31c33fd"><td class="mdescLeft"> </td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRDaikin176.html#a155e0dc2c7fcc334fffdef64c31c33fd">More...</a><br /></td></tr>
|
|
<tr class="separator:a155e0dc2c7fcc334fffdef64c31c33fd"><td class="memSeparator" colspan="2"> </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:a24f7022eb1c1936f5ee95ac0d732584c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a24f7022eb1c1936f5ee95ac0d732584c">_irsend</a></td></tr>
|
|
<tr class="memdesc:a24f7022eb1c1936f5ee95ac0d732584c"><td class="mdescLeft"> </td><td class="mdescRight">instance of the IR send class <a href="classIRDaikin176.html#a24f7022eb1c1936f5ee95ac0d732584c">More...</a><br /></td></tr>
|
|
<tr class="separator:a24f7022eb1c1936f5ee95ac0d732584c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a82ad91178ed497d7087c758cd92635c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionDaikin176Protocol.html">Daikin176Protocol</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a82ad91178ed497d7087c758cd92635c5">_</a></td></tr>
|
|
<tr class="separator:a82ad91178ed497d7087c758cd92635c5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8f1d6c765bf09c1a3dc9678c3939a5be"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin176.html#a8f1d6c765bf09c1a3dc9678c3939a5be">_saved_temp</a></td></tr>
|
|
<tr class="memdesc:a8f1d6c765bf09c1a3dc9678c3939a5be"><td class="mdescLeft"> </td><td class="mdescRight">The previously user requested temp value. <a href="classIRDaikin176.html#a8f1d6c765bf09c1a3dc9678c3939a5be">More...</a><br /></td></tr>
|
|
<tr class="separator:a8f1d6c765bf09c1a3dc9678c3939a5be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Class for handling detailed Daikin 176-bit A/C messages. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="accfe7c3f34351844d12059455f65f312"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#accfe7c3f34351844d12059455f65f312">◆ </a></span>IRDaikin176()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">IRDaikin176::IRDaikin176 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t </td>
|
|
<td class="paramname"><em>pin</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const bool </td>
|
|
<td class="paramname"><em>inverted</em> = <code>false</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const bool </td>
|
|
<td class="paramname"><em>use_modulation</em> = <code>true</code> </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="a0e41b220033f16e57664f8d59b6e890b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0e41b220033f16e57664f8d59b6e890b">◆ </a></span>begin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::begin </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="a1f5989110782c18aa18e3757c50f4a31"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1f5989110782c18aa18e3757c50f4a31">◆ </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 IRDaikin176::calibrate </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="a155e0dc2c7fcc334fffdef64c31c33fd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a155e0dc2c7fcc334fffdef64c31c33fd">◆ </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 IRDaikin176::checksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="ae3dda9a55f851b5253d0677835a2c3dd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae3dda9a55f851b5253d0677835a2c3dd">◆ </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 IRDaikin176::convertFan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> </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="ab07fd6eab0ac6132625a291dae8cfc78"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab07fd6eab0ac6132625a291dae8cfc78">◆ </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 IRDaikin176::convertMode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> </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="a2387b8dff2a9c9cd164034977b03f192"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2387b8dff2a9c9cd164034977b03f192">◆ </a></span>convertSwingH()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRDaikin176::convertSwingH </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="namespacestdAc.html#aae50ee315fa9c9ec1a4078da40d6b147">stdAc::swingh_t</a> </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#aae50ee315fa9c9ec1a4078da40d6b147" title="Common A/C settings for Horizontal Swing.">stdAc::swingh_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 equivalent of the enum. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af4d75131b7912d499af590fdc2be03d5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af4d75131b7912d499af590fdc2be03d5">◆ </a></span>getFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRDaikin176::getFan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="a06d4d50b48a3d10c882342c582d46402"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a06d4d50b48a3d10c882342c582d46402">◆ </a></span>getMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRDaikin176::getMode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="aa095669914397f51729b0f6bd8d9c094"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa095669914397f51729b0f6bd8d9c094">◆ </a></span>getPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRDaikin176::getPower </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="acd84f4e9f36a91264290a7a0cf0f519e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acd84f4e9f36a91264290a7a0cf0f519e">◆ </a></span>getRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t * IRDaikin176::getRaw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="a4cf043df8f6f2e5a3554208dff0d963d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4cf043df8f6f2e5a3554208dff0d963d">◆ </a></span>getSwingHorizontal()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRDaikin176::getSwingHorizontal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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>The native position/mode setting. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9d1edc9dbb661deec9b6a22e3d3ab307"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9d1edc9dbb661deec9b6a22e3d3ab307">◆ </a></span>getTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRDaikin176::getTemp </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="a4ad81df1fe4921abee3634bf19b0d0f7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4ad81df1fe4921abee3634bf19b0d0f7">◆ </a></span>off()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::off </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="a3ca59ccdad4b7958fc4dc1a4b0593f38"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3ca59ccdad4b7958fc4dc1a4b0593f38">◆ </a></span>on()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::on </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="affd71592fa8ed05816d94edbf94d2c0a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#affd71592fa8ed05816d94edbf94d2c0a">◆ </a></span>send()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::send </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t </td>
|
|
<td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a0228803e8fff3c73227214d4bb3d8b05">kDaikin176DefaultRepeat</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="a050a9943dc7d8289472e6b9dbdcb06c1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a050a9943dc7d8289472e6b9dbdcb06c1">◆ </a></span>setFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::setFan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </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 for Min or 3 for Max </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7ce82479f5ae2721baae8119b711c112"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7ce82479f5ae2721baae8119b711c112">◆ </a></span>setMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::setMode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </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="a58c755ba53d1f14a51b0c64ff4ef0669"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a58c755ba53d1f14a51b0c64ff4ef0669">◆ </a></span>setPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::setPower </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const bool </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="a51e5f74b532eca958c09998727064e8d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a51e5f74b532eca958c09998727064e8d">◆ </a></span>setRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::setRaw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </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="a9e63cf22410ffad45f6b308674079ee8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9e63cf22410ffad45f6b308674079ee8">◆ </a></span>setSwingHorizontal()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::setSwingHorizontal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </td>
|
|
<td class="paramname"><em>position</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">position</td><td>The position/mode to set the swing to. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acb3b296f4c87a5a37258c666ef886ff3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acb3b296f4c87a5a37258c666ef886ff3">◆ </a></span>setTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRDaikin176::setTemp </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </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="a7f0b4b6c0a4a8b0680a8b8cd0eda8127"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7f0b4b6c0a4a8b0680a8b8cd0eda8127">◆ </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 IRDaikin176::stateReset </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="aee7d30b9935881513afafa5291dd8c0c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee7d30b9935881513afafa5291dd8c0c">◆ </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> IRDaikin176::toCommon </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="a6f9b7dddcf98c7a42495c900dddf505d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6f9b7dddcf98c7a42495c900dddf505d">◆ </a></span>toCommonFanSpeed()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRDaikin176::toCommonFanSpeed </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </td>
|
|
<td class="paramname"><em>speed</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa0b9c96d3bf08400a5110bcfa9f1ec9d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa0b9c96d3bf08400a5110bcfa9f1ec9d">◆ </a></span>toCommonMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRDaikin176::toCommonMode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </td>
|
|
<td class="paramname"><em>mode</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6a3b66c9777992ed9fcab4e26c1d74dc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6a3b66c9777992ed9fcab4e26c1d74dc">◆ </a></span>toCommonSwingH()</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#aae50ee315fa9c9ec1a4078da40d6b147">stdAc::swingh_t</a> IRDaikin176::toCommonSwingH </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </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 horizontal 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 horizontal swing position. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1f72e3a2d9cbb075956b5cbec4a41412"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1f72e3a2d9cbb075956b5cbec4a41412">◆ </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> IRDaikin176::toString </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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="abc97abc68f535f7ad801b393e0a795d5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abc97abc68f535f7ad801b393e0a795d5">◆ </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 IRDaikin176::validChecksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>state</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint16_t </td>
|
|
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#aa71fc87dcb6f14b82997e1d2269429d2">kDaikin176StateLength</a></code> </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="a82ad91178ed497d7087c758cd92635c5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a82ad91178ed497d7087c758cd92635c5">◆ </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="unionDaikin176Protocol.html">Daikin176Protocol</a> IRDaikin176::_</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="a24f7022eb1c1936f5ee95ac0d732584c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a24f7022eb1c1936f5ee95ac0d732584c">◆ </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> IRDaikin176::_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="a8f1d6c765bf09c1a3dc9678c3939a5be"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8f1d6c765bf09c1a3dc9678c3939a5be">◆ </a></span>_saved_temp</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRDaikin176::_saved_temp</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 previously user requested temp value. </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  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|