mirror of https://github.com/arendst/Tasmota.git
1586 lines
83 KiB
HTML
1586 lines
83 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: IRVoltas 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-static-methods">Static Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classIRVoltas-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">IRVoltas Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Class for handling detailed Voltas A/C messages.
|
|
<a href="classIRVoltas.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="ir__Voltas_8h_source.html">ir_Voltas.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for IRVoltas:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classIRVoltas__coll__graph.png" border="0" usemap="#IRVoltas_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="IRVoltas_coll__map" id="IRVoltas_coll__map">
|
|
<area shape="rect" title="Class for handling detailed Voltas A/C messages." alt="" coords="83,95,157,121"/>
|
|
<area shape="rect" href="unionVoltasProtocol.html" title="Native representation of a Voltas A/C message." alt="" coords="5,5,120,32"/>
|
|
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="144,5,211,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:a4bfb0c5b16507d330abea2a9147f8332"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a4bfb0c5b16507d330abea2a9147f8332">IRVoltas</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
|
|
<tr class="memdesc:a4bfb0c5b16507d330abea2a9147f8332"><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="classIRVoltas.html#a4bfb0c5b16507d330abea2a9147f8332">More...</a><br /></td></tr>
|
|
<tr class="separator:a4bfb0c5b16507d330abea2a9147f8332"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a07cde80e35d990733c41d6b0e4dcafda"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a07cde80e35d990733c41d6b0e4dcafda">stateReset</a> ()</td></tr>
|
|
<tr class="separator:a07cde80e35d990733c41d6b0e4dcafda"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab06af0578b5137c53af6e641bfcbee9a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#ab06af0578b5137c53af6e641bfcbee9a">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a1a49dde7ffbd753f7756cf0c9dc6d826">kNoRepeat</a>)</td></tr>
|
|
<tr class="memdesc:ab06af0578b5137c53af6e641bfcbee9a"><td class="mdescLeft"> </td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRVoltas.html#ab06af0578b5137c53af6e641bfcbee9a">More...</a><br /></td></tr>
|
|
<tr class="separator:ab06af0578b5137c53af6e641bfcbee9a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac264033a983290d9c194fde822ed63a4"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#ac264033a983290d9c194fde822ed63a4">calibrate</a> (void)</td></tr>
|
|
<tr class="memdesc:ac264033a983290d9c194fde822ed63a4"><td class="mdescLeft"> </td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRVoltas.html#ac264033a983290d9c194fde822ed63a4">More...</a><br /></td></tr>
|
|
<tr class="separator:ac264033a983290d9c194fde822ed63a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b895fa945ce8c6f81444d9306a59d65"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a1b895fa945ce8c6f81444d9306a59d65">begin</a> ()</td></tr>
|
|
<tr class="memdesc:a1b895fa945ce8c6f81444d9306a59d65"><td class="mdescLeft"> </td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRVoltas.html#a1b895fa945ce8c6f81444d9306a59d65">More...</a><br /></td></tr>
|
|
<tr class="separator:a1b895fa945ce8c6f81444d9306a59d65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa642fcbc4b0da48ef26c4e8c79f3e8b4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#aa642fcbc4b0da48ef26c4e8c79f3e8b4">setModel</a> (const <a class="el" href="IRsend_8h.html#aaf962dae17f7186607a93128fc2d13e2">voltas_ac_remote_model_t</a> model)</td></tr>
|
|
<tr class="memdesc:aa642fcbc4b0da48ef26c4e8c79f3e8b4"><td class="mdescLeft"> </td><td class="mdescRight">Set the current model for the remote. <a href="classIRVoltas.html#aa642fcbc4b0da48ef26c4e8c79f3e8b4">More...</a><br /></td></tr>
|
|
<tr class="separator:aa642fcbc4b0da48ef26c4e8c79f3e8b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a64e24f4f6aefa66ffa2f4a953f4ab205"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRsend_8h.html#aaf962dae17f7186607a93128fc2d13e2">voltas_ac_remote_model_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a64e24f4f6aefa66ffa2f4a953f4ab205">getModel</a> (const bool raw=false) const</td></tr>
|
|
<tr class="memdesc:a64e24f4f6aefa66ffa2f4a953f4ab205"><td class="mdescLeft"> </td><td class="mdescRight">Get the model information currently known. <a href="classIRVoltas.html#a64e24f4f6aefa66ffa2f4a953f4ab205">More...</a><br /></td></tr>
|
|
<tr class="separator:a64e24f4f6aefa66ffa2f4a953f4ab205"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0ee0be11284527861476091c855a8606"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a0ee0be11284527861476091c855a8606">setPower</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:a0ee0be11284527861476091c855a8606"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting. <a href="classIRVoltas.html#a0ee0be11284527861476091c855a8606">More...</a><br /></td></tr>
|
|
<tr class="separator:a0ee0be11284527861476091c855a8606"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aec20c3251f68bacf925406f243eb1b1a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#aec20c3251f68bacf925406f243eb1b1a">getPower</a> (void) const</td></tr>
|
|
<tr class="memdesc:aec20c3251f68bacf925406f243eb1b1a"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current power setting. <a href="classIRVoltas.html#aec20c3251f68bacf925406f243eb1b1a">More...</a><br /></td></tr>
|
|
<tr class="separator:aec20c3251f68bacf925406f243eb1b1a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8c25557906af38ae41c47e39e90650a9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a> (void)</td></tr>
|
|
<tr class="memdesc:a8c25557906af38ae41c47e39e90650a9"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to On. <a href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">More...</a><br /></td></tr>
|
|
<tr class="separator:a8c25557906af38ae41c47e39e90650a9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a472dd54afd93b595c8c5b78f6ba43008"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a472dd54afd93b595c8c5b78f6ba43008">off</a> (void)</td></tr>
|
|
<tr class="memdesc:a472dd54afd93b595c8c5b78f6ba43008"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to Off. <a href="classIRVoltas.html#a472dd54afd93b595c8c5b78f6ba43008">More...</a><br /></td></tr>
|
|
<tr class="separator:a472dd54afd93b595c8c5b78f6ba43008"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3aa24f471e306abfe7fd7af2b74c7ca0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a3aa24f471e306abfe7fd7af2b74c7ca0">setWifi</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:a3aa24f471e306abfe7fd7af2b74c7ca0"><td class="mdescLeft"> </td><td class="mdescRight">Change the Wifi setting. <a href="classIRVoltas.html#a3aa24f471e306abfe7fd7af2b74c7ca0">More...</a><br /></td></tr>
|
|
<tr class="separator:a3aa24f471e306abfe7fd7af2b74c7ca0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a13460412829d204fe2e51e75188998d2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a13460412829d204fe2e51e75188998d2">getWifi</a> (void) const</td></tr>
|
|
<tr class="memdesc:a13460412829d204fe2e51e75188998d2"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current Wifi setting. <a href="classIRVoltas.html#a13460412829d204fe2e51e75188998d2">More...</a><br /></td></tr>
|
|
<tr class="separator:a13460412829d204fe2e51e75188998d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a328a8ed84e89d44c13ca6e641c4b6f97"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a328a8ed84e89d44c13ca6e641c4b6f97">setTemp</a> (const uint8_t temp)</td></tr>
|
|
<tr class="memdesc:a328a8ed84e89d44c13ca6e641c4b6f97"><td class="mdescLeft"> </td><td class="mdescRight">Set the temperature. <a href="classIRVoltas.html#a328a8ed84e89d44c13ca6e641c4b6f97">More...</a><br /></td></tr>
|
|
<tr class="separator:a328a8ed84e89d44c13ca6e641c4b6f97"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a94571ef1d0844e0e6ca1b9a82b69ce10"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a94571ef1d0844e0e6ca1b9a82b69ce10">getTemp</a> (void)</td></tr>
|
|
<tr class="memdesc:a94571ef1d0844e0e6ca1b9a82b69ce10"><td class="mdescLeft"> </td><td class="mdescRight">Get the current temperature setting. <a href="classIRVoltas.html#a94571ef1d0844e0e6ca1b9a82b69ce10">More...</a><br /></td></tr>
|
|
<tr class="separator:a94571ef1d0844e0e6ca1b9a82b69ce10"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a013f93d588f57b8e62d059984fbf6173"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a013f93d588f57b8e62d059984fbf6173">setFan</a> (const uint8_t speed)</td></tr>
|
|
<tr class="memdesc:a013f93d588f57b8e62d059984fbf6173"><td class="mdescLeft"> </td><td class="mdescRight">Set the speed of the fan. <a href="classIRVoltas.html#a013f93d588f57b8e62d059984fbf6173">More...</a><br /></td></tr>
|
|
<tr class="separator:a013f93d588f57b8e62d059984fbf6173"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afbe5c3cda5fa2233b29a582de71d4723"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#afbe5c3cda5fa2233b29a582de71d4723">getFan</a> (void)</td></tr>
|
|
<tr class="memdesc:afbe5c3cda5fa2233b29a582de71d4723"><td class="mdescLeft"> </td><td class="mdescRight">Get the current fan speed setting. <a href="classIRVoltas.html#afbe5c3cda5fa2233b29a582de71d4723">More...</a><br /></td></tr>
|
|
<tr class="separator:afbe5c3cda5fa2233b29a582de71d4723"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afa1407bb1cfac30bdb762f7131dc9136"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#afa1407bb1cfac30bdb762f7131dc9136">setMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:afa1407bb1cfac30bdb762f7131dc9136"><td class="mdescLeft"> </td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRVoltas.html#afa1407bb1cfac30bdb762f7131dc9136">More...</a><br /></td></tr>
|
|
<tr class="separator:afa1407bb1cfac30bdb762f7131dc9136"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acedc05af3702d4beb98ebd5717b5f06c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#acedc05af3702d4beb98ebd5717b5f06c">getMode</a> (void)</td></tr>
|
|
<tr class="memdesc:acedc05af3702d4beb98ebd5717b5f06c"><td class="mdescLeft"> </td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRVoltas.html#acedc05af3702d4beb98ebd5717b5f06c">More...</a><br /></td></tr>
|
|
<tr class="separator:acedc05af3702d4beb98ebd5717b5f06c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6069eea71ca7e48326f8155df950e798"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a6069eea71ca7e48326f8155df950e798">setSwingH</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:a6069eea71ca7e48326f8155df950e798"><td class="mdescLeft"> </td><td class="mdescRight">Set the Horizontal Swing setting of the A/C. <a href="classIRVoltas.html#a6069eea71ca7e48326f8155df950e798">More...</a><br /></td></tr>
|
|
<tr class="separator:a6069eea71ca7e48326f8155df950e798"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a681b2f013a436bc1a117071ccc36c1cf"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a681b2f013a436bc1a117071ccc36c1cf">getSwingH</a> (void) const</td></tr>
|
|
<tr class="memdesc:a681b2f013a436bc1a117071ccc36c1cf"><td class="mdescLeft"> </td><td class="mdescRight">Get the Horizontal Swing setting of the A/C. <a href="classIRVoltas.html#a681b2f013a436bc1a117071ccc36c1cf">More...</a><br /></td></tr>
|
|
<tr class="separator:a681b2f013a436bc1a117071ccc36c1cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acf7be0544dabb18ac29975b0f7ec9773"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#acf7be0544dabb18ac29975b0f7ec9773">setSwingHChange</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:acf7be0544dabb18ac29975b0f7ec9773"><td class="mdescLeft"> </td><td class="mdescRight">Set the bits for changing the Horizontal Swing setting of the A/C. <a href="classIRVoltas.html#acf7be0544dabb18ac29975b0f7ec9773">More...</a><br /></td></tr>
|
|
<tr class="separator:acf7be0544dabb18ac29975b0f7ec9773"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac7f222cb487a772d77dea53e489ef614"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#ac7f222cb487a772d77dea53e489ef614">getSwingHChange</a> (void) const</td></tr>
|
|
<tr class="memdesc:ac7f222cb487a772d77dea53e489ef614"><td class="mdescLeft"> </td><td class="mdescRight">Are the Horizontal Swing change bits set in the message? <a href="classIRVoltas.html#ac7f222cb487a772d77dea53e489ef614">More...</a><br /></td></tr>
|
|
<tr class="separator:ac7f222cb487a772d77dea53e489ef614"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aff014fc2f818a0bdb22cb89bd074c555"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#aff014fc2f818a0bdb22cb89bd074c555">setSwingV</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:aff014fc2f818a0bdb22cb89bd074c555"><td class="mdescLeft"> </td><td class="mdescRight">Set the Vertical Swing setting of the A/C. <a href="classIRVoltas.html#aff014fc2f818a0bdb22cb89bd074c555">More...</a><br /></td></tr>
|
|
<tr class="separator:aff014fc2f818a0bdb22cb89bd074c555"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a20360a21d87672e3a2f569be29c840f4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a20360a21d87672e3a2f569be29c840f4">getSwingV</a> (void) const</td></tr>
|
|
<tr class="memdesc:a20360a21d87672e3a2f569be29c840f4"><td class="mdescLeft"> </td><td class="mdescRight">Get the Vertical Swing setting of the A/C. <a href="classIRVoltas.html#a20360a21d87672e3a2f569be29c840f4">More...</a><br /></td></tr>
|
|
<tr class="separator:a20360a21d87672e3a2f569be29c840f4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e9ebffcb4a62afc68722e8abf9f9adb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a0e9ebffcb4a62afc68722e8abf9f9adb">setEcono</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:a0e9ebffcb4a62afc68722e8abf9f9adb"><td class="mdescLeft"> </td><td class="mdescRight">Change the Economy setting. <a href="classIRVoltas.html#a0e9ebffcb4a62afc68722e8abf9f9adb">More...</a><br /></td></tr>
|
|
<tr class="separator:a0e9ebffcb4a62afc68722e8abf9f9adb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7849e211bf16bf5bd6d0d940bd3e6431"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a7849e211bf16bf5bd6d0d940bd3e6431">getEcono</a> (void) const</td></tr>
|
|
<tr class="memdesc:a7849e211bf16bf5bd6d0d940bd3e6431"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current Econo setting. <a href="classIRVoltas.html#a7849e211bf16bf5bd6d0d940bd3e6431">More...</a><br /></td></tr>
|
|
<tr class="separator:a7849e211bf16bf5bd6d0d940bd3e6431"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aedd6ca44b32c6da83da997d7048a82f4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#aedd6ca44b32c6da83da997d7048a82f4">setLight</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:aedd6ca44b32c6da83da997d7048a82f4"><td class="mdescLeft"> </td><td class="mdescRight">Change the Light setting. <a href="classIRVoltas.html#aedd6ca44b32c6da83da997d7048a82f4">More...</a><br /></td></tr>
|
|
<tr class="separator:aedd6ca44b32c6da83da997d7048a82f4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aab64c21de6d129af4379e32731cea163"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#aab64c21de6d129af4379e32731cea163">getLight</a> (void) const</td></tr>
|
|
<tr class="memdesc:aab64c21de6d129af4379e32731cea163"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current Light setting. <a href="classIRVoltas.html#aab64c21de6d129af4379e32731cea163">More...</a><br /></td></tr>
|
|
<tr class="separator:aab64c21de6d129af4379e32731cea163"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac7418f197deb96c0fef5d2c36732f5af"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#ac7418f197deb96c0fef5d2c36732f5af">setTurbo</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:ac7418f197deb96c0fef5d2c36732f5af"><td class="mdescLeft"> </td><td class="mdescRight">Change the Turbo setting. <a href="classIRVoltas.html#ac7418f197deb96c0fef5d2c36732f5af">More...</a><br /></td></tr>
|
|
<tr class="separator:ac7418f197deb96c0fef5d2c36732f5af"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0fa61b04f473f208a40059554f6a054b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a0fa61b04f473f208a40059554f6a054b">getTurbo</a> (void) const</td></tr>
|
|
<tr class="memdesc:a0fa61b04f473f208a40059554f6a054b"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current Turbo setting. <a href="classIRVoltas.html#a0fa61b04f473f208a40059554f6a054b">More...</a><br /></td></tr>
|
|
<tr class="separator:a0fa61b04f473f208a40059554f6a054b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a64210225e6c0bf89944b4b12fda2c799"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a64210225e6c0bf89944b4b12fda2c799">setSleep</a> (const bool <a class="el" href="classIRVoltas.html#a8c25557906af38ae41c47e39e90650a9">on</a>)</td></tr>
|
|
<tr class="memdesc:a64210225e6c0bf89944b4b12fda2c799"><td class="mdescLeft"> </td><td class="mdescRight">Change the Sleep setting. <a href="classIRVoltas.html#a64210225e6c0bf89944b4b12fda2c799">More...</a><br /></td></tr>
|
|
<tr class="separator:a64210225e6c0bf89944b4b12fda2c799"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a56795d5b7cb4a42df4d1289363bfe276"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a56795d5b7cb4a42df4d1289363bfe276">getSleep</a> (void) const</td></tr>
|
|
<tr class="memdesc:a56795d5b7cb4a42df4d1289363bfe276"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current Sleep setting. <a href="classIRVoltas.html#a56795d5b7cb4a42df4d1289363bfe276">More...</a><br /></td></tr>
|
|
<tr class="separator:a56795d5b7cb4a42df4d1289363bfe276"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a96578f6ff015d5791a172fd9d0d0916f"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a96578f6ff015d5791a172fd9d0d0916f">getOnTime</a> (void) const</td></tr>
|
|
<tr class="memdesc:a96578f6ff015d5791a172fd9d0d0916f"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the On Timer time. <a href="classIRVoltas.html#a96578f6ff015d5791a172fd9d0d0916f">More...</a><br /></td></tr>
|
|
<tr class="separator:a96578f6ff015d5791a172fd9d0d0916f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a260ef77c26d2c987122391378ff5e876"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a260ef77c26d2c987122391378ff5e876">setOnTime</a> (const uint16_t nr_of_mins)</td></tr>
|
|
<tr class="memdesc:a260ef77c26d2c987122391378ff5e876"><td class="mdescLeft"> </td><td class="mdescRight">Set the value of the On Timer time. <a href="classIRVoltas.html#a260ef77c26d2c987122391378ff5e876">More...</a><br /></td></tr>
|
|
<tr class="separator:a260ef77c26d2c987122391378ff5e876"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9f6d0e9c6ea6e71177df4d8d8dcb34b8"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a9f6d0e9c6ea6e71177df4d8d8dcb34b8">getOffTime</a> (void) const</td></tr>
|
|
<tr class="memdesc:a9f6d0e9c6ea6e71177df4d8d8dcb34b8"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the On Timer time. <a href="classIRVoltas.html#a9f6d0e9c6ea6e71177df4d8d8dcb34b8">More...</a><br /></td></tr>
|
|
<tr class="separator:a9f6d0e9c6ea6e71177df4d8d8dcb34b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad5977a24ef551ad0a19b5e61bae0482a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#ad5977a24ef551ad0a19b5e61bae0482a">setOffTime</a> (const uint16_t nr_of_mins)</td></tr>
|
|
<tr class="memdesc:ad5977a24ef551ad0a19b5e61bae0482a"><td class="mdescLeft"> </td><td class="mdescRight">Set the value of the Off Timer time. <a href="classIRVoltas.html#ad5977a24ef551ad0a19b5e61bae0482a">More...</a><br /></td></tr>
|
|
<tr class="separator:ad5977a24ef551ad0a19b5e61bae0482a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8718fd8231a8b1c282c5c2a4b2e9c176"><td class="memItemLeft" align="right" valign="top">uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a8718fd8231a8b1c282c5c2a4b2e9c176">getRaw</a> (void)</td></tr>
|
|
<tr class="memdesc:a8718fd8231a8b1c282c5c2a4b2e9c176"><td class="mdescLeft"> </td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRVoltas.html#a8718fd8231a8b1c282c5c2a4b2e9c176">More...</a><br /></td></tr>
|
|
<tr class="separator:a8718fd8231a8b1c282c5c2a4b2e9c176"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5e946ed52c025643b4fc6b89619c90b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a5e946ed52c025643b4fc6b89619c90b5">setRaw</a> (const uint8_t new_code[])</td></tr>
|
|
<tr class="memdesc:a5e946ed52c025643b4fc6b89619c90b5"><td class="mdescLeft"> </td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRVoltas.html#a5e946ed52c025643b4fc6b89619c90b5">More...</a><br /></td></tr>
|
|
<tr class="separator:a5e946ed52c025643b4fc6b89619c90b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3086d4e457769916808b3aef151c9b6b"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a3086d4e457769916808b3aef151c9b6b">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
|
|
<tr class="memdesc:a3086d4e457769916808b3aef151c9b6b"><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="classIRVoltas.html#a3086d4e457769916808b3aef151c9b6b">More...</a><br /></td></tr>
|
|
<tr class="separator:a3086d4e457769916808b3aef151c9b6b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a83022d8acc690f1a9672566ae4845e9e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a83022d8acc690f1a9672566ae4845e9e">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
|
|
<tr class="memdesc:a83022d8acc690f1a9672566ae4845e9e"><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="classIRVoltas.html#a83022d8acc690f1a9672566ae4845e9e">More...</a><br /></td></tr>
|
|
<tr class="separator:a83022d8acc690f1a9672566ae4845e9e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a79c76ddd91237e624115aaf0e183f3f0"><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="classIRVoltas.html#a79c76ddd91237e624115aaf0e183f3f0">toCommon</a> (const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> *prev=NULL)</td></tr>
|
|
<tr class="memdesc:a79c76ddd91237e624115aaf0e183f3f0"><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="classIRVoltas.html#a79c76ddd91237e624115aaf0e183f3f0">More...</a><br /></td></tr>
|
|
<tr class="separator:a79c76ddd91237e624115aaf0e183f3f0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af650633516b67861f6f074f3be943bbd"><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="classIRVoltas.html#af650633516b67861f6f074f3be943bbd">toString</a> (void)</td></tr>
|
|
<tr class="memdesc:af650633516b67861f6f074f3be943bbd"><td class="mdescLeft"> </td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRVoltas.html#af650633516b67861f6f074f3be943bbd">More...</a><br /></td></tr>
|
|
<tr class="separator:af650633516b67861f6f074f3be943bbd"><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:a020336b6c8fd363d50ca44ba2b78181d"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a020336b6c8fd363d50ca44ba2b78181d">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a336bd721135fc8b869941cd3aa73646e">kVoltasStateLength</a>)</td></tr>
|
|
<tr class="memdesc:a020336b6c8fd363d50ca44ba2b78181d"><td class="mdescLeft"> </td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRVoltas.html#a020336b6c8fd363d50ca44ba2b78181d">More...</a><br /></td></tr>
|
|
<tr class="separator:a020336b6c8fd363d50ca44ba2b78181d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adcf63c5e8c0f2e88c103ee82cfd6a5a9"><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="classIRVoltas.html#adcf63c5e8c0f2e88c103ee82cfd6a5a9">toCommonMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:adcf63c5e8c0f2e88c103ee82cfd6a5a9"><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="classIRVoltas.html#adcf63c5e8c0f2e88c103ee82cfd6a5a9">More...</a><br /></td></tr>
|
|
<tr class="separator:adcf63c5e8c0f2e88c103ee82cfd6a5a9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a822ac5b90857b912649601a2f7e75ac8"><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="classIRVoltas.html#a822ac5b90857b912649601a2f7e75ac8">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
|
|
<tr class="memdesc:a822ac5b90857b912649601a2f7e75ac8"><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="classIRVoltas.html#a822ac5b90857b912649601a2f7e75ac8">More...</a><br /></td></tr>
|
|
<tr class="separator:a822ac5b90857b912649601a2f7e75ac8"><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:acd7b669c0ef94959f1fc9d7a8f7abe8a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#acd7b669c0ef94959f1fc9d7a8f7abe8a">checksum</a> (void)</td></tr>
|
|
<tr class="memdesc:acd7b669c0ef94959f1fc9d7a8f7abe8a"><td class="mdescLeft"> </td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRVoltas.html#acd7b669c0ef94959f1fc9d7a8f7abe8a">More...</a><br /></td></tr>
|
|
<tr class="separator:acd7b669c0ef94959f1fc9d7a8f7abe8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
|
|
Static Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a0069131bedc4b97a61547abe9640fd09"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a0069131bedc4b97a61547abe9640fd09">calcChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a336bd721135fc8b869941cd3aa73646e">kVoltasStateLength</a>)</td></tr>
|
|
<tr class="memdesc:a0069131bedc4b97a61547abe9640fd09"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the checksum is valid for a given state. <a href="classIRVoltas.html#a0069131bedc4b97a61547abe9640fd09">More...</a><br /></td></tr>
|
|
<tr class="separator:a0069131bedc4b97a61547abe9640fd09"><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:a09225bcf0cdff72f0fe35a88a91a88ad"><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="classIRVoltas.html#a09225bcf0cdff72f0fe35a88a91a88ad">_irsend</a></td></tr>
|
|
<tr class="memdesc:a09225bcf0cdff72f0fe35a88a91a88ad"><td class="mdescLeft"> </td><td class="mdescRight">Instance of the IR send class. <a href="classIRVoltas.html#a09225bcf0cdff72f0fe35a88a91a88ad">More...</a><br /></td></tr>
|
|
<tr class="separator:a09225bcf0cdff72f0fe35a88a91a88ad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a251065338907253521a12e5e0f8aeb26"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionVoltasProtocol.html">VoltasProtocol</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a251065338907253521a12e5e0f8aeb26">_</a></td></tr>
|
|
<tr class="memdesc:a251065338907253521a12e5e0f8aeb26"><td class="mdescLeft"> </td><td class="mdescRight">The state of the IR remote. <a href="classIRVoltas.html#a251065338907253521a12e5e0f8aeb26">More...</a><br /></td></tr>
|
|
<tr class="separator:a251065338907253521a12e5e0f8aeb26"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a01270b3d5e2b0d85a3ee860edb5c3232"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRsend_8h.html#aaf962dae17f7186607a93128fc2d13e2">voltas_ac_remote_model_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRVoltas.html#a01270b3d5e2b0d85a3ee860edb5c3232">_model</a></td></tr>
|
|
<tr class="memdesc:a01270b3d5e2b0d85a3ee860edb5c3232"><td class="mdescLeft"> </td><td class="mdescRight">Model type. <a href="classIRVoltas.html#a01270b3d5e2b0d85a3ee860edb5c3232">More...</a><br /></td></tr>
|
|
<tr class="separator:a01270b3d5e2b0d85a3ee860edb5c3232"><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 Voltas A/C messages. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a4bfb0c5b16507d330abea2a9147f8332"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4bfb0c5b16507d330abea2a9147f8332">◆ </a></span>IRVoltas()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">IRVoltas::IRVoltas </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="a1b895fa945ce8c6f81444d9306a59d65"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1b895fa945ce8c6f81444d9306a59d65">◆ </a></span>begin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::begin </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set up hardware to be able to send a message. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0069131bedc4b97a61547abe9640fd09"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0069131bedc4b97a61547abe9640fd09">◆ </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 IRVoltas::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#a336bd721135fc8b869941cd3aa73646e">kVoltasStateLength</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 class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Calculate 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 calculate 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 valid checksum value for the state. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac264033a983290d9c194fde822ed63a4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac264033a983290d9c194fde822ed63a4">◆ </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 IRVoltas::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="acd7b669c0ef94959f1fc9d7a8f7abe8a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acd7b669c0ef94959f1fc9d7a8f7abe8a">◆ </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 IRVoltas::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="a83022d8acc690f1a9672566ae4845e9e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a83022d8acc690f1a9672566ae4845e9e">◆ </a></span>convertFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRVoltas::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>
|
|
</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="a3086d4e457769916808b3aef151c9b6b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3086d4e457769916808b3aef151c9b6b">◆ </a></span>convertMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRVoltas::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>
|
|
</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="a7849e211bf16bf5bd6d0d940bd3e6431"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7849e211bf16bf5bd6d0d940bd3e6431">◆ </a></span>getEcono()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::getEcono </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 Econo 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="afbe5c3cda5fa2233b29a582de71d4723"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afbe5c3cda5fa2233b29a582de71d4723">◆ </a></span>getFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRVoltas::getFan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the current fan speed setting. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current fan speed/mode. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aab64c21de6d129af4379e32731cea163"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aab64c21de6d129af4379e32731cea163">◆ </a></span>getLight()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::getLight </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 Light 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="acedc05af3702d4beb98ebd5717b5f06c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acedc05af3702d4beb98ebd5717b5f06c">◆ </a></span>getMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRVoltas::getMode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the operating mode setting of the A/C. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a64e24f4f6aefa66ffa2f4a953f4ab205"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a64e24f4f6aefa66ffa2f4a953f4ab205">◆ </a></span>getModel()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="IRsend_8h.html#aaf962dae17f7186607a93128fc2d13e2">voltas_ac_remote_model_t</a> IRVoltas::getModel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const bool </td>
|
|
<td class="paramname"><em>raw</em> = <code>false</code></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the model information currently known. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">raw</td><td>Work out the model info from the current raw state. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The known model number. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f6d0e9c6ea6e71177df4d8d8dcb34b8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f6d0e9c6ea6e71177df4d8d8dcb34b8">◆ </a></span>getOffTime()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t IRVoltas::getOffTime </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 On Timer time. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>Number of minutes before the timer activates. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a96578f6ff015d5791a172fd9d0d0916f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a96578f6ff015d5791a172fd9d0d0916f">◆ </a></span>getOnTime()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t IRVoltas::getOnTime </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 On Timer time. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>Number of minutes before the timer activates. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aec20c3251f68bacf925406f243eb1b1a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aec20c3251f68bacf925406f243eb1b1a">◆ </a></span>getPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::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="a8718fd8231a8b1c282c5c2a4b2e9c176"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8718fd8231a8b1c282c5c2a4b2e9c176">◆ </a></span>getRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t * IRVoltas::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="a56795d5b7cb4a42df4d1289363bfe276"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a56795d5b7cb4a42df4d1289363bfe276">◆ </a></span>getSleep()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::getSleep </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 Sleep 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="a681b2f013a436bc1a117071ccc36c1cf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a681b2f013a436bc1a117071ccc36c1cf">◆ </a></span>getSwingH()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::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 setting 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="ac7f222cb487a772d77dea53e489ef614"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac7f222cb487a772d77dea53e489ef614">◆ </a></span>getSwingHChange()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::getSwingHChange </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Are the Horizontal Swing change bits set in the message? </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true, the correct bits are set. false, the correct bits are not set. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a20360a21d87672e3a2f569be29c840f4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a20360a21d87672e3a2f569be29c840f4">◆ </a></span>getSwingV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::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 setting 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="a94571ef1d0844e0e6ca1b9a82b69ce10"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a94571ef1d0844e0e6ca1b9a82b69ce10">◆ </a></span>getTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRVoltas::getTemp </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the current temperature setting. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0fa61b04f473f208a40059554f6a054b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0fa61b04f473f208a40059554f6a054b">◆ </a></span>getTurbo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::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 value of the current Turbo 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="a13460412829d204fe2e51e75188998d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a13460412829d204fe2e51e75188998d2">◆ </a></span>getWifi()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRVoltas::getWifi </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 Wifi 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="a472dd54afd93b595c8c5b78f6ba43008"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a472dd54afd93b595c8c5b78f6ba43008">◆ </a></span>off()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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="a8c25557906af38ae41c47e39e90650a9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8c25557906af38ae41c47e39e90650a9">◆ </a></span>on()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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="ab06af0578b5137c53af6e641bfcbee9a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab06af0578b5137c53af6e641bfcbee9a">◆ </a></span>send()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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#a1a49dde7ffbd753f7756cf0c9dc6d826">kNoRepeat</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="a0e9ebffcb4a62afc68722e8abf9f9adb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0e9ebffcb4a62afc68722e8abf9f9adb">◆ </a></span>setEcono()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setEcono </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 Economy 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>
|
|
<dl class="section note"><dt>Note</dt><dd>The Economy setting is only available in Cool mode. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a013f93d588f57b8e62d059984fbf6173"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a013f93d588f57b8e62d059984fbf6173">◆ </a></span>setFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aedd6ca44b32c6da83da997d7048a82f4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aedd6ca44b32c6da83da997d7048a82f4">◆ </a></span>setLight()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setLight </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 Light 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="afa1407bb1cfac30bdb762f7131dc9136"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afa1407bb1cfac30bdb762f7131dc9136">◆ </a></span>setMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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>
|
|
<dl class="section note"><dt>Note</dt><dd>If we get an unexpected mode, default to AUTO. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa642fcbc4b0da48ef26c4e8c79f3e8b4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa642fcbc4b0da48ef26c4e8c79f3e8b4">◆ </a></span>setModel()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setModel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="IRsend_8h.html#aaf962dae17f7186607a93128fc2d13e2">voltas_ac_remote_model_t</a> </td>
|
|
<td class="paramname"><em>model</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the current model for the remote. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">model</td><td>The model number. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad5977a24ef551ad0a19b5e61bae0482a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad5977a24ef551ad0a19b5e61bae0482a">◆ </a></span>setOffTime()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setOffTime </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t </td>
|
|
<td class="paramname"><em>nr_of_mins</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the value of the Off Timer time. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">nr_of_mins</td><td>Number of minutes before the timer activates. 0 disables the timer. Max is 23 hrs & 59 mins (1439 mins) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a260ef77c26d2c987122391378ff5e876"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a260ef77c26d2c987122391378ff5e876">◆ </a></span>setOnTime()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setOnTime </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t </td>
|
|
<td class="paramname"><em>nr_of_mins</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the value of the On Timer time. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">nr_of_mins</td><td>Number of minutes before the timer activates. 0 disables the timer. Max is 23 hrs & 59 mins (1439 mins) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0ee0be11284527861476091c855a8606"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0ee0be11284527861476091c855a8606">◆ </a></span>setPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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="a5e946ed52c025643b4fc6b89619c90b5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5e946ed52c025643b4fc6b89619c90b5">◆ </a></span>setRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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="a64210225e6c0bf89944b4b12fda2c799"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a64210225e6c0bf89944b4b12fda2c799">◆ </a></span>setSleep()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setSleep </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 Sleep 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>
|
|
<dl class="section note"><dt>Note</dt><dd>The Sleep setting is only available in Cool mode. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6069eea71ca7e48326f8155df950e798"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6069eea71ca7e48326f8155df950e798">◆ </a></span>setSwingH()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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 setting 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="acf7be0544dabb18ac29975b0f7ec9773"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acf7be0544dabb18ac29975b0f7ec9773">◆ </a></span>setSwingHChange()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setSwingHChange </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 bits for changing the Horizontal Swing setting 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 change bits are set. false, the "no change" bits are set. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aff014fc2f818a0bdb22cb89bd074c555"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aff014fc2f818a0bdb22cb89bd074c555">◆ </a></span>setSwingV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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 setting 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="a328a8ed84e89d44c13ca6e641c4b6f97"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a328a8ed84e89d44c13ca6e641c4b6f97">◆ </a></span>setTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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="ac7418f197deb96c0fef5d2c36732f5af"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac7418f197deb96c0fef5d2c36732f5af">◆ </a></span>setTurbo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::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>Change the Turbo 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>
|
|
<dl class="section note"><dt>Note</dt><dd>The Turbo setting is only available in Cool mode. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3aa24f471e306abfe7fd7af2b74c7ca0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3aa24f471e306abfe7fd7af2b74c7ca0">◆ </a></span>setWifi()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::setWifi </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 Wifi 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="a07cde80e35d990733c41d6b0e4dcafda"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a07cde80e35d990733c41d6b0e4dcafda">◆ </a></span>stateReset()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRVoltas::stateReset </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a79c76ddd91237e624115aaf0e183f3f0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a79c76ddd91237e624115aaf0e183f3f0">◆ </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> IRVoltas::toCommon </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> * </td>
|
|
<td class="paramname"><em>prev</em> = <code>NULL</code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">prev</td><td>Ptr to the previous state if available. </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 settings. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a822ac5b90857b912649601a2f7e75ac8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a822ac5b90857b912649601a2f7e75ac8">◆ </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> IRVoltas::toCommonFanSpeed </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t </td>
|
|
<td class="paramname"><em>spd</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">spd</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="adcf63c5e8c0f2e88c103ee82cfd6a5a9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adcf63c5e8c0f2e88c103ee82cfd6a5a9">◆ </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> IRVoltas::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="af650633516b67861f6f074f3be943bbd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af650633516b67861f6f074f3be943bbd">◆ </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> IRVoltas::toString </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Convert the current internal state into a human readable string. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a020336b6c8fd363d50ca44ba2b78181d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a020336b6c8fd363d50ca44ba2b78181d">◆ </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 IRVoltas::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#a336bd721135fc8b869941cd3aa73646e">kVoltasStateLength</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="a251065338907253521a12e5e0f8aeb26"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a251065338907253521a12e5e0f8aeb26">◆ </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="unionVoltasProtocol.html">VoltasProtocol</a> IRVoltas::_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The state of the IR remote. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a09225bcf0cdff72f0fe35a88a91a88ad"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a09225bcf0cdff72f0fe35a88a91a88ad">◆ </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> IRVoltas::_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="a01270b3d5e2b0d85a3ee860edb5c3232"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a01270b3d5e2b0d85a3ee860edb5c3232">◆ </a></span>_model</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="IRsend_8h.html#aaf962dae17f7186607a93128fc2d13e2">voltas_ac_remote_model_t</a> IRVoltas::_model</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>Model type. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/<a class="el" href="ir__Voltas_8h_source.html">ir_Voltas.h</a></li>
|
|
<li>src/<a class="el" href="ir__Voltas_8cpp.html">ir_Voltas.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>
|