mirror of https://github.com/arendst/Tasmota.git
1257 lines
65 KiB
HTML
1257 lines
65 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: IRElectraAc 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="classIRElectraAc-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">IRElectraAc Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Class for handling detailed Electra A/C messages.
|
|
<a href="classIRElectraAc.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="ir__Electra_8h_source.html">ir_Electra.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for IRElectraAc:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classIRElectraAc__coll__graph.png" border="0" usemap="#IRElectraAc_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="IRElectraAc_coll__map" id="IRElectraAc_coll__map">
|
|
<area shape="rect" title="Class for handling detailed Electra A/C messages." alt="" coords="76,95,172,121"/>
|
|
<area shape="rect" href="unionElectraProtocol.html" title="Native representation of a Electra A/C message." alt="" coords="5,5,125,32"/>
|
|
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="149,5,216,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:a2f56ad22943c3d261b1d2ef88d86e300"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a2f56ad22943c3d261b1d2ef88d86e300">IRElectraAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
|
|
<tr class="memdesc:a2f56ad22943c3d261b1d2ef88d86e300"><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="classIRElectraAc.html#a2f56ad22943c3d261b1d2ef88d86e300">More...</a><br /></td></tr>
|
|
<tr class="separator:a2f56ad22943c3d261b1d2ef88d86e300"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab8035c14158fcf3758f46f6976b814f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ab8035c14158fcf3758f46f6976b814f7">stateReset</a> (void)</td></tr>
|
|
<tr class="memdesc:ab8035c14158fcf3758f46f6976b814f7"><td class="mdescLeft"> </td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRElectraAc.html#ab8035c14158fcf3758f46f6976b814f7">More...</a><br /></td></tr>
|
|
<tr class="separator:ab8035c14158fcf3758f46f6976b814f7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a30170a65de1161e26daeddf694f8afdb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a30170a65de1161e26daeddf694f8afdb">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a2ca237d578ca9a59aecac9813ab851ba">kElectraAcMinRepeat</a>)</td></tr>
|
|
<tr class="memdesc:a30170a65de1161e26daeddf694f8afdb"><td class="mdescLeft"> </td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRElectraAc.html#a30170a65de1161e26daeddf694f8afdb">More...</a><br /></td></tr>
|
|
<tr class="separator:a30170a65de1161e26daeddf694f8afdb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af333e90117ab035ff92389d4eefb3649"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#af333e90117ab035ff92389d4eefb3649">calibrate</a> (void)</td></tr>
|
|
<tr class="memdesc:af333e90117ab035ff92389d4eefb3649"><td class="mdescLeft"> </td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRElectraAc.html#af333e90117ab035ff92389d4eefb3649">More...</a><br /></td></tr>
|
|
<tr class="separator:af333e90117ab035ff92389d4eefb3649"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afff519ff9e81ec4aa03ff337f8efef13"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afff519ff9e81ec4aa03ff337f8efef13">begin</a> (void)</td></tr>
|
|
<tr class="memdesc:afff519ff9e81ec4aa03ff337f8efef13"><td class="mdescLeft"> </td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRElectraAc.html#afff519ff9e81ec4aa03ff337f8efef13">More...</a><br /></td></tr>
|
|
<tr class="separator:afff519ff9e81ec4aa03ff337f8efef13"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a99e29f982435b01c726d0234a433cfa6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a> (void)</td></tr>
|
|
<tr class="memdesc:a99e29f982435b01c726d0234a433cfa6"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to On. <a href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">More...</a><br /></td></tr>
|
|
<tr class="separator:a99e29f982435b01c726d0234a433cfa6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afe3a9b789eafbef19d015cdebf71dc0d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afe3a9b789eafbef19d015cdebf71dc0d">off</a> (void)</td></tr>
|
|
<tr class="memdesc:afe3a9b789eafbef19d015cdebf71dc0d"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to Off. <a href="classIRElectraAc.html#afe3a9b789eafbef19d015cdebf71dc0d">More...</a><br /></td></tr>
|
|
<tr class="separator:afe3a9b789eafbef19d015cdebf71dc0d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abd04ffe9a77a97d4fafbcecd3a7949a4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#abd04ffe9a77a97d4fafbcecd3a7949a4">setPower</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
|
|
<tr class="memdesc:abd04ffe9a77a97d4fafbcecd3a7949a4"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting. <a href="classIRElectraAc.html#abd04ffe9a77a97d4fafbcecd3a7949a4">More...</a><br /></td></tr>
|
|
<tr class="separator:abd04ffe9a77a97d4fafbcecd3a7949a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a776fdad40d191f04356f8366ff6128d3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a776fdad40d191f04356f8366ff6128d3">getPower</a> (void) const</td></tr>
|
|
<tr class="memdesc:a776fdad40d191f04356f8366ff6128d3"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current power setting. <a href="classIRElectraAc.html#a776fdad40d191f04356f8366ff6128d3">More...</a><br /></td></tr>
|
|
<tr class="separator:a776fdad40d191f04356f8366ff6128d3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a911b7410fd2f29464c1505e183c04c5d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a911b7410fd2f29464c1505e183c04c5d">setMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:a911b7410fd2f29464c1505e183c04c5d"><td class="mdescLeft"> </td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRElectraAc.html#a911b7410fd2f29464c1505e183c04c5d">More...</a><br /></td></tr>
|
|
<tr class="separator:a911b7410fd2f29464c1505e183c04c5d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab38a479c1947f1758a882ec8df2e1fc9"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ab38a479c1947f1758a882ec8df2e1fc9">getMode</a> (void) const</td></tr>
|
|
<tr class="memdesc:ab38a479c1947f1758a882ec8df2e1fc9"><td class="mdescLeft"> </td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRElectraAc.html#ab38a479c1947f1758a882ec8df2e1fc9">More...</a><br /></td></tr>
|
|
<tr class="separator:ab38a479c1947f1758a882ec8df2e1fc9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5f986d9a376b6d5348fcb021d66d235b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a5f986d9a376b6d5348fcb021d66d235b">setTemp</a> (const uint8_t temp)</td></tr>
|
|
<tr class="memdesc:a5f986d9a376b6d5348fcb021d66d235b"><td class="mdescLeft"> </td><td class="mdescRight">Set the temperature. <a href="classIRElectraAc.html#a5f986d9a376b6d5348fcb021d66d235b">More...</a><br /></td></tr>
|
|
<tr class="separator:a5f986d9a376b6d5348fcb021d66d235b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab3ac984ca54b6a7f7b89db6c6c664c1b"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ab3ac984ca54b6a7f7b89db6c6c664c1b">getTemp</a> (void) const</td></tr>
|
|
<tr class="memdesc:ab3ac984ca54b6a7f7b89db6c6c664c1b"><td class="mdescLeft"> </td><td class="mdescRight">Get the current temperature setting. <a href="classIRElectraAc.html#ab3ac984ca54b6a7f7b89db6c6c664c1b">More...</a><br /></td></tr>
|
|
<tr class="separator:ab3ac984ca54b6a7f7b89db6c6c664c1b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa338ce18cafaf9c7b9aa3385e681bbe7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#aa338ce18cafaf9c7b9aa3385e681bbe7">setFan</a> (const uint8_t speed)</td></tr>
|
|
<tr class="memdesc:aa338ce18cafaf9c7b9aa3385e681bbe7"><td class="mdescLeft"> </td><td class="mdescRight">Set the speed of the fan. <a href="classIRElectraAc.html#aa338ce18cafaf9c7b9aa3385e681bbe7">More...</a><br /></td></tr>
|
|
<tr class="separator:aa338ce18cafaf9c7b9aa3385e681bbe7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5d6c472701f93579341c34f2b14a5238"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a5d6c472701f93579341c34f2b14a5238">getFan</a> (void) const</td></tr>
|
|
<tr class="memdesc:a5d6c472701f93579341c34f2b14a5238"><td class="mdescLeft"> </td><td class="mdescRight">Get the current fan speed setting. <a href="classIRElectraAc.html#a5d6c472701f93579341c34f2b14a5238">More...</a><br /></td></tr>
|
|
<tr class="separator:a5d6c472701f93579341c34f2b14a5238"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae5b33942670e0033cbb9b9c7a1524e93"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ae5b33942670e0033cbb9b9c7a1524e93">setSwingV</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
|
|
<tr class="memdesc:ae5b33942670e0033cbb9b9c7a1524e93"><td class="mdescLeft"> </td><td class="mdescRight">Set the Vertical Swing mode of the A/C. <a href="classIRElectraAc.html#ae5b33942670e0033cbb9b9c7a1524e93">More...</a><br /></td></tr>
|
|
<tr class="separator:ae5b33942670e0033cbb9b9c7a1524e93"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5ea68ed936a2395ea72eac562420f4ee"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a5ea68ed936a2395ea72eac562420f4ee">getSwingV</a> (void) const</td></tr>
|
|
<tr class="memdesc:a5ea68ed936a2395ea72eac562420f4ee"><td class="mdescLeft"> </td><td class="mdescRight">Get the Vertical Swing mode of the A/C. <a href="classIRElectraAc.html#a5ea68ed936a2395ea72eac562420f4ee">More...</a><br /></td></tr>
|
|
<tr class="separator:a5ea68ed936a2395ea72eac562420f4ee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afcd40681003d57b4f1b652175fc276a8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afcd40681003d57b4f1b652175fc276a8">setSwingH</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
|
|
<tr class="memdesc:afcd40681003d57b4f1b652175fc276a8"><td class="mdescLeft"> </td><td class="mdescRight">Set the Horizontal Swing mode of the A/C. <a href="classIRElectraAc.html#afcd40681003d57b4f1b652175fc276a8">More...</a><br /></td></tr>
|
|
<tr class="separator:afcd40681003d57b4f1b652175fc276a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae71e3f7bb1a4caa54c9cdbc99d29c381"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ae71e3f7bb1a4caa54c9cdbc99d29c381">getSwingH</a> (void) const</td></tr>
|
|
<tr class="memdesc:ae71e3f7bb1a4caa54c9cdbc99d29c381"><td class="mdescLeft"> </td><td class="mdescRight">Get the Horizontal Swing mode of the A/C. <a href="classIRElectraAc.html#ae71e3f7bb1a4caa54c9cdbc99d29c381">More...</a><br /></td></tr>
|
|
<tr class="separator:ae71e3f7bb1a4caa54c9cdbc99d29c381"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4aa44fc40196067469dfa8a722e33115"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a4aa44fc40196067469dfa8a722e33115">setClean</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
|
|
<tr class="memdesc:a4aa44fc40196067469dfa8a722e33115"><td class="mdescLeft"> </td><td class="mdescRight">Set the Clean mode of the A/C. <a href="classIRElectraAc.html#a4aa44fc40196067469dfa8a722e33115">More...</a><br /></td></tr>
|
|
<tr class="separator:a4aa44fc40196067469dfa8a722e33115"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af48c261ceb93568010c57a61bf0f882d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#af48c261ceb93568010c57a61bf0f882d">getClean</a> (void) const</td></tr>
|
|
<tr class="memdesc:af48c261ceb93568010c57a61bf0f882d"><td class="mdescLeft"> </td><td class="mdescRight">Get the Clean mode of the A/C. <a href="classIRElectraAc.html#af48c261ceb93568010c57a61bf0f882d">More...</a><br /></td></tr>
|
|
<tr class="separator:af48c261ceb93568010c57a61bf0f882d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a15373982641e36f4b68258368700be7d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a15373982641e36f4b68258368700be7d">setLightToggle</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
|
|
<tr class="memdesc:a15373982641e36f4b68258368700be7d"><td class="mdescLeft"> </td><td class="mdescRight">Set the Light (LED) Toggle mode of the A/C. <a href="classIRElectraAc.html#a15373982641e36f4b68258368700be7d">More...</a><br /></td></tr>
|
|
<tr class="separator:a15373982641e36f4b68258368700be7d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aed9858539f66d98e065532f0a6bac048"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#aed9858539f66d98e065532f0a6bac048">getLightToggle</a> (void) const</td></tr>
|
|
<tr class="memdesc:aed9858539f66d98e065532f0a6bac048"><td class="mdescLeft"> </td><td class="mdescRight">Get the Light (LED) Toggle mode of the A/C. <a href="classIRElectraAc.html#aed9858539f66d98e065532f0a6bac048">More...</a><br /></td></tr>
|
|
<tr class="separator:aed9858539f66d98e065532f0a6bac048"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adb40e95465788b03e4cb845bd481f7ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#adb40e95465788b03e4cb845bd481f7ed">setTurbo</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
|
|
<tr class="memdesc:adb40e95465788b03e4cb845bd481f7ed"><td class="mdescLeft"> </td><td class="mdescRight">Set the Turbo mode of the A/C. <a href="classIRElectraAc.html#adb40e95465788b03e4cb845bd481f7ed">More...</a><br /></td></tr>
|
|
<tr class="separator:adb40e95465788b03e4cb845bd481f7ed"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abfc42bc97c9dc41115383895abe15292"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#abfc42bc97c9dc41115383895abe15292">getTurbo</a> (void) const</td></tr>
|
|
<tr class="memdesc:abfc42bc97c9dc41115383895abe15292"><td class="mdescLeft"> </td><td class="mdescRight">Get the Turbo mode of the A/C. <a href="classIRElectraAc.html#abfc42bc97c9dc41115383895abe15292">More...</a><br /></td></tr>
|
|
<tr class="separator:abfc42bc97c9dc41115383895abe15292"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7674d29474ecbbb6366d96056794314c"><td class="memItemLeft" align="right" valign="top">uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a7674d29474ecbbb6366d96056794314c">getRaw</a> (void)</td></tr>
|
|
<tr class="memdesc:a7674d29474ecbbb6366d96056794314c"><td class="mdescLeft"> </td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRElectraAc.html#a7674d29474ecbbb6366d96056794314c">More...</a><br /></td></tr>
|
|
<tr class="separator:a7674d29474ecbbb6366d96056794314c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae57c51cd3f5d1ebfb2fe7b926d149dd6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ae57c51cd3f5d1ebfb2fe7b926d149dd6">setRaw</a> (const uint8_t new_code[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
|
|
<tr class="memdesc:ae57c51cd3f5d1ebfb2fe7b926d149dd6"><td class="mdescLeft"> </td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRElectraAc.html#ae57c51cd3f5d1ebfb2fe7b926d149dd6">More...</a><br /></td></tr>
|
|
<tr class="separator:ae57c51cd3f5d1ebfb2fe7b926d149dd6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af496feed11da67a84efd565b435c1d67"><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="classIRElectraAc.html#af496feed11da67a84efd565b435c1d67">toString</a> (void) const</td></tr>
|
|
<tr class="memdesc:af496feed11da67a84efd565b435c1d67"><td class="mdescLeft"> </td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRElectraAc.html#af496feed11da67a84efd565b435c1d67">More...</a><br /></td></tr>
|
|
<tr class="separator:af496feed11da67a84efd565b435c1d67"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8ea21abd10c629bd3dd9673ce36b07ed"><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="classIRElectraAc.html#a8ea21abd10c629bd3dd9673ce36b07ed">toCommon</a> (void) const</td></tr>
|
|
<tr class="memdesc:a8ea21abd10c629bd3dd9673ce36b07ed"><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="classIRElectraAc.html#a8ea21abd10c629bd3dd9673ce36b07ed">More...</a><br /></td></tr>
|
|
<tr class="separator:a8ea21abd10c629bd3dd9673ce36b07ed"><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:a60034a18e7574844fb59a03e7789f419"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a60034a18e7574844fb59a03e7789f419">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
|
|
<tr class="memdesc:a60034a18e7574844fb59a03e7789f419"><td class="mdescLeft"> </td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRElectraAc.html#a60034a18e7574844fb59a03e7789f419">More...</a><br /></td></tr>
|
|
<tr class="separator:a60034a18e7574844fb59a03e7789f419"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa8063d07e41ca2cc0fd27093a2e67bb2"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#aa8063d07e41ca2cc0fd27093a2e67bb2">calcChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
|
|
<tr class="memdesc:aa8063d07e41ca2cc0fd27093a2e67bb2"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the checksum for a given state. <a href="classIRElectraAc.html#aa8063d07e41ca2cc0fd27093a2e67bb2">More...</a><br /></td></tr>
|
|
<tr class="separator:aa8063d07e41ca2cc0fd27093a2e67bb2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0026a1981e713ce1f6916203717e0a00"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a0026a1981e713ce1f6916203717e0a00">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
|
|
<tr class="memdesc:a0026a1981e713ce1f6916203717e0a00"><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="classIRElectraAc.html#a0026a1981e713ce1f6916203717e0a00">More...</a><br /></td></tr>
|
|
<tr class="separator:a0026a1981e713ce1f6916203717e0a00"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afcf3ef62d69e370cb88dd2036e5a1357"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afcf3ef62d69e370cb88dd2036e5a1357">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
|
|
<tr class="memdesc:afcf3ef62d69e370cb88dd2036e5a1357"><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="classIRElectraAc.html#afcf3ef62d69e370cb88dd2036e5a1357">More...</a><br /></td></tr>
|
|
<tr class="separator:afcf3ef62d69e370cb88dd2036e5a1357"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a01bd399c3b8908083b95f31d97ddb26f"><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="classIRElectraAc.html#a01bd399c3b8908083b95f31d97ddb26f">toCommonMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:a01bd399c3b8908083b95f31d97ddb26f"><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="classIRElectraAc.html#a01bd399c3b8908083b95f31d97ddb26f">More...</a><br /></td></tr>
|
|
<tr class="separator:a01bd399c3b8908083b95f31d97ddb26f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5d53fb85582344cfdbfa33da6acbdb7d"><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="classIRElectraAc.html#a5d53fb85582344cfdbfa33da6acbdb7d">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
|
|
<tr class="memdesc:a5d53fb85582344cfdbfa33da6acbdb7d"><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="classIRElectraAc.html#a5d53fb85582344cfdbfa33da6acbdb7d">More...</a><br /></td></tr>
|
|
<tr class="separator:a5d53fb85582344cfdbfa33da6acbdb7d"><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:a73dc5b9a038669cc1f00f5b64ad458d1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a73dc5b9a038669cc1f00f5b64ad458d1">checksum</a> (const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
|
|
<tr class="memdesc:a73dc5b9a038669cc1f00f5b64ad458d1"><td class="mdescLeft"> </td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRElectraAc.html#a73dc5b9a038669cc1f00f5b64ad458d1">More...</a><br /></td></tr>
|
|
<tr class="separator:a73dc5b9a038669cc1f00f5b64ad458d1"><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:af8732b31f2a4421226220dd8a4a4f985"><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="classIRElectraAc.html#af8732b31f2a4421226220dd8a4a4f985">_irsend</a></td></tr>
|
|
<tr class="memdesc:af8732b31f2a4421226220dd8a4a4f985"><td class="mdescLeft"> </td><td class="mdescRight">instance of the IR send class <a href="classIRElectraAc.html#af8732b31f2a4421226220dd8a4a4f985">More...</a><br /></td></tr>
|
|
<tr class="separator:af8732b31f2a4421226220dd8a4a4f985"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4e6db6134d2e8915c4f2ad2e7e41ca83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionElectraProtocol.html">ElectraProtocol</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a4e6db6134d2e8915c4f2ad2e7e41ca83">_</a></td></tr>
|
|
<tr class="separator:a4e6db6134d2e8915c4f2ad2e7e41ca83"><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 Electra A/C messages. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a2f56ad22943c3d261b1d2ef88d86e300"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2f56ad22943c3d261b1d2ef88d86e300">◆ </a></span>IRElectraAc()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">IRElectraAc::IRElectraAc </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="afff519ff9e81ec4aa03ff337f8efef13"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afff519ff9e81ec4aa03ff337f8efef13">◆ </a></span>begin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::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="aa8063d07e41ca2cc0fd27093a2e67bb2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa8063d07e41ca2cc0fd27093a2e67bb2">◆ </a></span>calcChecksum()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRElectraAc::calcChecksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const 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#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</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>Calculate the checksum 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 value to calc 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>The calculated checksum stored in a uint_8. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af333e90117ab035ff92389d4eefb3649"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af333e90117ab035ff92389d4eefb3649">◆ </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 IRElectraAc::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="a73dc5b9a038669cc1f00f5b64ad458d1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a73dc5b9a038669cc1f00f5b64ad458d1">◆ </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 IRElectraAc::checksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t </td>
|
|
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a></code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Calculate and set the checksum values for the internal state. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the state array. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afcf3ef62d69e370cb88dd2036e5a1357"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afcf3ef62d69e370cb88dd2036e5a1357">◆ </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 IRElectraAc::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="a0026a1981e713ce1f6916203717e0a00"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0026a1981e713ce1f6916203717e0a00">◆ </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 IRElectraAc::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="af48c261ceb93568010c57a61bf0f882d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af48c261ceb93568010c57a61bf0f882d">◆ </a></span>getClean()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRElectraAc::getClean </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 Clean mode of the A/C. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5d6c472701f93579341c34f2b14a5238"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5d6c472701f93579341c34f2b14a5238">◆ </a></span>getFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRElectraAc::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="aed9858539f66d98e065532f0a6bac048"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aed9858539f66d98e065532f0a6bac048">◆ </a></span>getLightToggle()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRElectraAc::getLightToggle </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 Light (LED) Toggle mode of the A/C. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab38a479c1947f1758a882ec8df2e1fc9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab38a479c1947f1758a882ec8df2e1fc9">◆ </a></span>getMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRElectraAc::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="a776fdad40d191f04356f8366ff6128d3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a776fdad40d191f04356f8366ff6128d3">◆ </a></span>getPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRElectraAc::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="a7674d29474ecbbb6366d96056794314c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7674d29474ecbbb6366d96056794314c">◆ </a></span>getRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t * IRElectraAc::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="ae71e3f7bb1a4caa54c9cdbc99d29c381"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae71e3f7bb1a4caa54c9cdbc99d29c381">◆ </a></span>getSwingH()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRElectraAc::getSwingH </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>true, the setting is on. false, the setting is off. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5ea68ed936a2395ea72eac562420f4ee"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5ea68ed936a2395ea72eac562420f4ee">◆ </a></span>getSwingV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRElectraAc::getSwingV </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 Vertical Swing mode of the A/C. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab3ac984ca54b6a7f7b89db6c6c664c1b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab3ac984ca54b6a7f7b89db6c6c664c1b">◆ </a></span>getTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRElectraAc::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="abfc42bc97c9dc41115383895abe15292"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abfc42bc97c9dc41115383895abe15292">◆ </a></span>getTurbo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRElectraAc::getTurbo </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 Turbo mode of the A/C. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afe3a9b789eafbef19d015cdebf71dc0d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afe3a9b789eafbef19d015cdebf71dc0d">◆ </a></span>off()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::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="a99e29f982435b01c726d0234a433cfa6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a99e29f982435b01c726d0234a433cfa6">◆ </a></span>on()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::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="a30170a65de1161e26daeddf694f8afdb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a30170a65de1161e26daeddf694f8afdb">◆ </a></span>send()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::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#a2ca237d578ca9a59aecac9813ab851ba">kElectraAcMinRepeat</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="a4aa44fc40196067469dfa8a722e33115"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4aa44fc40196067469dfa8a722e33115">◆ </a></span>setClean()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::setClean </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>Set the Clean mode of the A/C. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa338ce18cafaf9c7b9aa3385e681bbe7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa338ce18cafaf9c7b9aa3385e681bbe7">◆ </a></span>setFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::setFan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </td>
|
|
<td class="paramname"><em>speed</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the speed of the fan. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section note"><dt>Note</dt><dd>0 is auto, 1-3 is the speed </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a15373982641e36f4b68258368700be7d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a15373982641e36f4b68258368700be7d">◆ </a></span>setLightToggle()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::setLightToggle </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>Set the Light (LED) Toggle mode of the A/C. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a911b7410fd2f29464c1505e183c04c5d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a911b7410fd2f29464c1505e183c04c5d">◆ </a></span>setMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::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="abd04ffe9a77a97d4fafbcecd3a7949a4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abd04ffe9a77a97d4fafbcecd3a7949a4">◆ </a></span>setPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::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="ae57c51cd3f5d1ebfb2fe7b926d149dd6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae57c51cd3f5d1ebfb2fe7b926d149dd6">◆ </a></span>setRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::setRaw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </td>
|
|
<td class="paramname"><em>new_code</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#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a></code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</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>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the code array. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afcd40681003d57b4f1b652175fc276a8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afcd40681003d57b4f1b652175fc276a8">◆ </a></span>setSwingH()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::setSwingH </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>Set the Horizontal Swing mode of the A/C. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae5b33942670e0033cbb9b9c7a1524e93"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae5b33942670e0033cbb9b9c7a1524e93">◆ </a></span>setSwingV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::setSwingV </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>Set the Vertical Swing mode of the A/C. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5f986d9a376b6d5348fcb021d66d235b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5f986d9a376b6d5348fcb021d66d235b">◆ </a></span>setTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::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="adb40e95465788b03e4cb845bd481f7ed"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adb40e95465788b03e4cb845bd481f7ed">◆ </a></span>setTurbo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::setTurbo </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>Set the Turbo mode of the A/C. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab8035c14158fcf3758f46f6976b814f7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab8035c14158fcf3758f46f6976b814f7">◆ </a></span>stateReset()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRElectraAc::stateReset </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reset the internal state to a fixed known good state. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8ea21abd10c629bd3dd9673ce36b07ed"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8ea21abd10c629bd3dd9673ce36b07ed">◆ </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> IRElectraAc::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="a5d53fb85582344cfdbfa33da6acbdb7d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5d53fb85582344cfdbfa33da6acbdb7d">◆ </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> IRElectraAc::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="a01bd399c3b8908083b95f31d97ddb26f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a01bd399c3b8908083b95f31d97ddb26f">◆ </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> IRElectraAc::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="af496feed11da67a84efd565b435c1d67"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af496feed11da67a84efd565b435c1d67">◆ </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> IRElectraAc::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="a60034a18e7574844fb59a03e7789f419"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a60034a18e7574844fb59a03e7789f419">◆ </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 IRElectraAc::validChecksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const 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#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</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 state 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="a4e6db6134d2e8915c4f2ad2e7e41ca83"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4e6db6134d2e8915c4f2ad2e7e41ca83">◆ </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="unionElectraProtocol.html">ElectraProtocol</a> IRElectraAc::_</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="af8732b31f2a4421226220dd8a4a4f985"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af8732b31f2a4421226220dd8a4a4f985">◆ </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> IRElectraAc::_irsend</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>instance of the IR send class </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/<a class="el" href="ir__Electra_8h_source.html">ir_Electra.h</a></li>
|
|
<li>src/<a class="el" href="ir__Electra_8cpp.html">ir_Electra.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>
|