mirror of https://github.com/arendst/Tasmota.git
1207 lines
62 KiB
HTML
1207 lines
62 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: IRCarrierAc64 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="classIRCarrierAc64-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">IRCarrierAc64 Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Class for handling detailed Carrier 64 bit A/C messages.
|
|
<a href="classIRCarrierAc64.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="ir__Carrier_8h_source.html">ir_Carrier.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for IRCarrierAc64:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classIRCarrierAc64__coll__graph.png" border="0" usemap="#IRCarrierAc64_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="IRCarrierAc64_coll__map" id="IRCarrierAc64_coll__map">
|
|
<area shape="rect" title="Class for handling detailed Carrier 64 bit A/C messages." alt="" coords="5,95,116,121"/>
|
|
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="27,5,94,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:ac225c0f24a0e385a145375ff447ab79b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#ac225c0f24a0e385a145375ff447ab79b">IRCarrierAc64</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
|
|
<tr class="memdesc:ac225c0f24a0e385a145375ff447ab79b"><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="classIRCarrierAc64.html#ac225c0f24a0e385a145375ff447ab79b">More...</a><br /></td></tr>
|
|
<tr class="separator:ac225c0f24a0e385a145375ff447ab79b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abe58c8f97ab4c34fd0cf198b07589694"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#abe58c8f97ab4c34fd0cf198b07589694">stateReset</a> ()</td></tr>
|
|
<tr class="memdesc:abe58c8f97ab4c34fd0cf198b07589694"><td class="mdescLeft"> </td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRCarrierAc64.html#abe58c8f97ab4c34fd0cf198b07589694">More...</a><br /></td></tr>
|
|
<tr class="separator:abe58c8f97ab4c34fd0cf198b07589694"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aace8aa2d125c6e80bcdd6d96eac722c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#aace8aa2d125c6e80bcdd6d96eac722c2">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a8b2b3670dc74ce9fbf3c8b511422a06c">kCarrierAc64MinRepeat</a>)</td></tr>
|
|
<tr class="memdesc:aace8aa2d125c6e80bcdd6d96eac722c2"><td class="mdescLeft"> </td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRCarrierAc64.html#aace8aa2d125c6e80bcdd6d96eac722c2">More...</a><br /></td></tr>
|
|
<tr class="separator:aace8aa2d125c6e80bcdd6d96eac722c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0718376156750e66f98ea0549c75b21b"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a0718376156750e66f98ea0549c75b21b">calibrate</a> (void)</td></tr>
|
|
<tr class="memdesc:a0718376156750e66f98ea0549c75b21b"><td class="mdescLeft"> </td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRCarrierAc64.html#a0718376156750e66f98ea0549c75b21b">More...</a><br /></td></tr>
|
|
<tr class="separator:a0718376156750e66f98ea0549c75b21b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7d9800edffad8a529971535ada5c00ad"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a7d9800edffad8a529971535ada5c00ad">begin</a> ()</td></tr>
|
|
<tr class="memdesc:a7d9800edffad8a529971535ada5c00ad"><td class="mdescLeft"> </td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRCarrierAc64.html#a7d9800edffad8a529971535ada5c00ad">More...</a><br /></td></tr>
|
|
<tr class="separator:a7d9800edffad8a529971535ada5c00ad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8acf59cbf3b02381b5188324030b7727"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a8acf59cbf3b02381b5188324030b7727">setPower</a> (const bool <a class="el" href="classIRCarrierAc64.html#a39c13b713e36fbf94605f251b36bdfae">on</a>)</td></tr>
|
|
<tr class="memdesc:a8acf59cbf3b02381b5188324030b7727"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting. <a href="classIRCarrierAc64.html#a8acf59cbf3b02381b5188324030b7727">More...</a><br /></td></tr>
|
|
<tr class="separator:a8acf59cbf3b02381b5188324030b7727"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad50ebb44815e55cc0a99f4762939dc54"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#ad50ebb44815e55cc0a99f4762939dc54">getPower</a> ()</td></tr>
|
|
<tr class="memdesc:ad50ebb44815e55cc0a99f4762939dc54"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the current power setting. <a href="classIRCarrierAc64.html#ad50ebb44815e55cc0a99f4762939dc54">More...</a><br /></td></tr>
|
|
<tr class="separator:ad50ebb44815e55cc0a99f4762939dc54"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a39c13b713e36fbf94605f251b36bdfae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a39c13b713e36fbf94605f251b36bdfae">on</a> ()</td></tr>
|
|
<tr class="memdesc:a39c13b713e36fbf94605f251b36bdfae"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to On. <a href="classIRCarrierAc64.html#a39c13b713e36fbf94605f251b36bdfae">More...</a><br /></td></tr>
|
|
<tr class="separator:a39c13b713e36fbf94605f251b36bdfae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac7a262d768626f01dac94f5e2891c98e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#ac7a262d768626f01dac94f5e2891c98e">off</a> ()</td></tr>
|
|
<tr class="memdesc:ac7a262d768626f01dac94f5e2891c98e"><td class="mdescLeft"> </td><td class="mdescRight">Change the power setting to Off. <a href="classIRCarrierAc64.html#ac7a262d768626f01dac94f5e2891c98e">More...</a><br /></td></tr>
|
|
<tr class="separator:ac7a262d768626f01dac94f5e2891c98e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a79e193514ac6d07be537a78887426311"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a79e193514ac6d07be537a78887426311">setTemp</a> (const uint8_t temp)</td></tr>
|
|
<tr class="memdesc:a79e193514ac6d07be537a78887426311"><td class="mdescLeft"> </td><td class="mdescRight">Set the temp in deg C. <a href="classIRCarrierAc64.html#a79e193514ac6d07be537a78887426311">More...</a><br /></td></tr>
|
|
<tr class="separator:a79e193514ac6d07be537a78887426311"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a799edf21e766b8ae2638a9b1e1d18ac1"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a799edf21e766b8ae2638a9b1e1d18ac1">getTemp</a> ()</td></tr>
|
|
<tr class="memdesc:a799edf21e766b8ae2638a9b1e1d18ac1"><td class="mdescLeft"> </td><td class="mdescRight">Get the current temperature from the internal state. <a href="classIRCarrierAc64.html#a799edf21e766b8ae2638a9b1e1d18ac1">More...</a><br /></td></tr>
|
|
<tr class="separator:a799edf21e766b8ae2638a9b1e1d18ac1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a61a3f9f29cabc0634a9a74fc2227d8c5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a61a3f9f29cabc0634a9a74fc2227d8c5">setSwingV</a> (const bool <a class="el" href="classIRCarrierAc64.html#a39c13b713e36fbf94605f251b36bdfae">on</a>)</td></tr>
|
|
<tr class="memdesc:a61a3f9f29cabc0634a9a74fc2227d8c5"><td class="mdescLeft"> </td><td class="mdescRight">Set the Vertical Swing mode of the A/C. <a href="classIRCarrierAc64.html#a61a3f9f29cabc0634a9a74fc2227d8c5">More...</a><br /></td></tr>
|
|
<tr class="separator:a61a3f9f29cabc0634a9a74fc2227d8c5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a78aac688a4b040b2b6102fac8b028bde"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a78aac688a4b040b2b6102fac8b028bde">getSwingV</a> (void)</td></tr>
|
|
<tr class="memdesc:a78aac688a4b040b2b6102fac8b028bde"><td class="mdescLeft"> </td><td class="mdescRight">Get the Vertical Swing mode of the A/C. <a href="classIRCarrierAc64.html#a78aac688a4b040b2b6102fac8b028bde">More...</a><br /></td></tr>
|
|
<tr class="separator:a78aac688a4b040b2b6102fac8b028bde"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa729dbef39afeeed8e83f26b927d3b21"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#aa729dbef39afeeed8e83f26b927d3b21">setSleep</a> (const bool <a class="el" href="classIRCarrierAc64.html#a39c13b713e36fbf94605f251b36bdfae">on</a>)</td></tr>
|
|
<tr class="memdesc:aa729dbef39afeeed8e83f26b927d3b21"><td class="mdescLeft"> </td><td class="mdescRight">Set the Sleep mode of the A/C. <a href="classIRCarrierAc64.html#aa729dbef39afeeed8e83f26b927d3b21">More...</a><br /></td></tr>
|
|
<tr class="separator:aa729dbef39afeeed8e83f26b927d3b21"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a24f208b955af86f6927ac97b7f7066d5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a24f208b955af86f6927ac97b7f7066d5">getSleep</a> (void)</td></tr>
|
|
<tr class="memdesc:a24f208b955af86f6927ac97b7f7066d5"><td class="mdescLeft"> </td><td class="mdescRight">Get the Sleep mode of the A/C. <a href="classIRCarrierAc64.html#a24f208b955af86f6927ac97b7f7066d5">More...</a><br /></td></tr>
|
|
<tr class="separator:a24f208b955af86f6927ac97b7f7066d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a312027468b508e9d38dd9e23ee99f9e4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a312027468b508e9d38dd9e23ee99f9e4">setFan</a> (const uint8_t speed)</td></tr>
|
|
<tr class="memdesc:a312027468b508e9d38dd9e23ee99f9e4"><td class="mdescLeft"> </td><td class="mdescRight">Set the speed of the fan. <a href="classIRCarrierAc64.html#a312027468b508e9d38dd9e23ee99f9e4">More...</a><br /></td></tr>
|
|
<tr class="separator:a312027468b508e9d38dd9e23ee99f9e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a93bb27688657af434d57f0dd9a159566"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a93bb27688657af434d57f0dd9a159566">getFan</a> ()</td></tr>
|
|
<tr class="memdesc:a93bb27688657af434d57f0dd9a159566"><td class="mdescLeft"> </td><td class="mdescRight">Get the current fan speed setting. <a href="classIRCarrierAc64.html#a93bb27688657af434d57f0dd9a159566">More...</a><br /></td></tr>
|
|
<tr class="separator:a93bb27688657af434d57f0dd9a159566"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae462eeec49ff91358f1b9921750ee36d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#ae462eeec49ff91358f1b9921750ee36d">setMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:ae462eeec49ff91358f1b9921750ee36d"><td class="mdescLeft"> </td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRCarrierAc64.html#ae462eeec49ff91358f1b9921750ee36d">More...</a><br /></td></tr>
|
|
<tr class="separator:ae462eeec49ff91358f1b9921750ee36d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4f8e0435a086ec934b10e9bd66f2ae85"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a4f8e0435a086ec934b10e9bd66f2ae85">getMode</a> ()</td></tr>
|
|
<tr class="memdesc:a4f8e0435a086ec934b10e9bd66f2ae85"><td class="mdescLeft"> </td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRCarrierAc64.html#a4f8e0435a086ec934b10e9bd66f2ae85">More...</a><br /></td></tr>
|
|
<tr class="separator:a4f8e0435a086ec934b10e9bd66f2ae85"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9049a8d91200b878cc2a1b9b80a280ea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a9049a8d91200b878cc2a1b9b80a280ea">setOnTimer</a> (const uint16_t nr_of_mins)</td></tr>
|
|
<tr class="memdesc:a9049a8d91200b878cc2a1b9b80a280ea"><td class="mdescLeft"> </td><td class="mdescRight">Set the On Timer time. <a href="classIRCarrierAc64.html#a9049a8d91200b878cc2a1b9b80a280ea">More...</a><br /></td></tr>
|
|
<tr class="separator:a9049a8d91200b878cc2a1b9b80a280ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a071ebd204e56e2cd771281b1c42b9cb5"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a071ebd204e56e2cd771281b1c42b9cb5">getOnTimer</a> (void)</td></tr>
|
|
<tr class="memdesc:a071ebd204e56e2cd771281b1c42b9cb5"><td class="mdescLeft"> </td><td class="mdescRight">Get the current On Timer time. <a href="classIRCarrierAc64.html#a071ebd204e56e2cd771281b1c42b9cb5">More...</a><br /></td></tr>
|
|
<tr class="separator:a071ebd204e56e2cd771281b1c42b9cb5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92b1066e783db1bdffabfdc57699deef"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a92b1066e783db1bdffabfdc57699deef">setOffTimer</a> (const uint16_t nr_of_mins)</td></tr>
|
|
<tr class="memdesc:a92b1066e783db1bdffabfdc57699deef"><td class="mdescLeft"> </td><td class="mdescRight">Set the Off Timer time. <a href="classIRCarrierAc64.html#a92b1066e783db1bdffabfdc57699deef">More...</a><br /></td></tr>
|
|
<tr class="separator:a92b1066e783db1bdffabfdc57699deef"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6a28f83442d695385f76f13913c76542"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a6a28f83442d695385f76f13913c76542">getOffTimer</a> (void)</td></tr>
|
|
<tr class="memdesc:a6a28f83442d695385f76f13913c76542"><td class="mdescLeft"> </td><td class="mdescRight">Get the current Off Timer time. <a href="classIRCarrierAc64.html#a6a28f83442d695385f76f13913c76542">More...</a><br /></td></tr>
|
|
<tr class="separator:a6a28f83442d695385f76f13913c76542"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad40279db2c9bd3d1abb5a6e028ec0d80"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#ad40279db2c9bd3d1abb5a6e028ec0d80">getRaw</a> ()</td></tr>
|
|
<tr class="memdesc:ad40279db2c9bd3d1abb5a6e028ec0d80"><td class="mdescLeft"> </td><td class="mdescRight">Get a copy of the internal state as a valid code for this protocol. <a href="classIRCarrierAc64.html#ad40279db2c9bd3d1abb5a6e028ec0d80">More...</a><br /></td></tr>
|
|
<tr class="separator:ad40279db2c9bd3d1abb5a6e028ec0d80"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af49cf0b53bf8ff946a63bae94be0251d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#af49cf0b53bf8ff946a63bae94be0251d">setRaw</a> (const uint64_t state)</td></tr>
|
|
<tr class="memdesc:af49cf0b53bf8ff946a63bae94be0251d"><td class="mdescLeft"> </td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRCarrierAc64.html#af49cf0b53bf8ff946a63bae94be0251d">More...</a><br /></td></tr>
|
|
<tr class="separator:af49cf0b53bf8ff946a63bae94be0251d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8e94b1526b26cec55f1e700c86aaf74e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a8e94b1526b26cec55f1e700c86aaf74e">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
|
|
<tr class="memdesc:a8e94b1526b26cec55f1e700c86aaf74e"><td class="mdescLeft"> </td><td class="mdescRight">Convert a standard A/C mode into its native mode. <a href="classIRCarrierAc64.html#a8e94b1526b26cec55f1e700c86aaf74e">More...</a><br /></td></tr>
|
|
<tr class="separator:a8e94b1526b26cec55f1e700c86aaf74e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a255e6679397434877f1c6c9ac70fff50"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a255e6679397434877f1c6c9ac70fff50">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
|
|
<tr class="memdesc:a255e6679397434877f1c6c9ac70fff50"><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="classIRCarrierAc64.html#a255e6679397434877f1c6c9ac70fff50">More...</a><br /></td></tr>
|
|
<tr class="separator:a255e6679397434877f1c6c9ac70fff50"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c4a84d0d9f1e78ba611e118ddb90635"><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="classIRCarrierAc64.html#a7c4a84d0d9f1e78ba611e118ddb90635">toCommon</a> (void)</td></tr>
|
|
<tr class="memdesc:a7c4a84d0d9f1e78ba611e118ddb90635"><td class="mdescLeft"> </td><td class="mdescRight">Convert the A/C state to it's common <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="classIRCarrierAc64.html#a7c4a84d0d9f1e78ba611e118ddb90635">More...</a><br /></td></tr>
|
|
<tr class="separator:a7c4a84d0d9f1e78ba611e118ddb90635"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acede081614a80ae46345d4ae45e39ab2"><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="classIRCarrierAc64.html#acede081614a80ae46345d4ae45e39ab2">toString</a> ()</td></tr>
|
|
<tr class="memdesc:acede081614a80ae46345d4ae45e39ab2"><td class="mdescLeft"> </td><td class="mdescRight">Convert the internal state into a human readable string. <a href="classIRCarrierAc64.html#acede081614a80ae46345d4ae45e39ab2">More...</a><br /></td></tr>
|
|
<tr class="separator:acede081614a80ae46345d4ae45e39ab2"><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:a20676dcf4b0a6510cc3bce282fbf8504"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a20676dcf4b0a6510cc3bce282fbf8504">calcChecksum</a> (const uint64_t state)</td></tr>
|
|
<tr class="memdesc:a20676dcf4b0a6510cc3bce282fbf8504"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the checksum for a given state. <a href="classIRCarrierAc64.html#a20676dcf4b0a6510cc3bce282fbf8504">More...</a><br /></td></tr>
|
|
<tr class="separator:a20676dcf4b0a6510cc3bce282fbf8504"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:affa23f178e079cd3a6c933240759fe80"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#affa23f178e079cd3a6c933240759fe80">validChecksum</a> (const uint64_t state)</td></tr>
|
|
<tr class="memdesc:affa23f178e079cd3a6c933240759fe80"><td class="mdescLeft"> </td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRCarrierAc64.html#affa23f178e079cd3a6c933240759fe80">More...</a><br /></td></tr>
|
|
<tr class="separator:affa23f178e079cd3a6c933240759fe80"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab17b24d0306b8983886d15175898909e"><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="classIRCarrierAc64.html#ab17b24d0306b8983886d15175898909e">toCommonMode</a> (const uint8_t mode)</td></tr>
|
|
<tr class="memdesc:ab17b24d0306b8983886d15175898909e"><td class="mdescLeft"> </td><td class="mdescRight">Convert a native mode to it's common <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> equivalent. <a href="classIRCarrierAc64.html#ab17b24d0306b8983886d15175898909e">More...</a><br /></td></tr>
|
|
<tr class="separator:ab17b24d0306b8983886d15175898909e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a9149acc82fcc22a5be8dcbe791ab77"><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="classIRCarrierAc64.html#a5a9149acc82fcc22a5be8dcbe791ab77">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
|
|
<tr class="memdesc:a5a9149acc82fcc22a5be8dcbe791ab77"><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> equivilant. <a href="classIRCarrierAc64.html#a5a9149acc82fcc22a5be8dcbe791ab77">More...</a><br /></td></tr>
|
|
<tr class="separator:a5a9149acc82fcc22a5be8dcbe791ab77"><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:a005fab56acf94fe97db7fa92651b2882"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a005fab56acf94fe97db7fa92651b2882">checksum</a> (void)</td></tr>
|
|
<tr class="memdesc:a005fab56acf94fe97db7fa92651b2882"><td class="mdescLeft"> </td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRCarrierAc64.html#a005fab56acf94fe97db7fa92651b2882">More...</a><br /></td></tr>
|
|
<tr class="separator:a005fab56acf94fe97db7fa92651b2882"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a43e7be5a1a6fe2dbfe245e99d2205779"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a43e7be5a1a6fe2dbfe245e99d2205779">_cancelOnTimer</a> (void)</td></tr>
|
|
<tr class="memdesc:a43e7be5a1a6fe2dbfe245e99d2205779"><td class="mdescLeft"> </td><td class="mdescRight">Clear the On Timer enable bit. <a href="classIRCarrierAc64.html#a43e7be5a1a6fe2dbfe245e99d2205779">More...</a><br /></td></tr>
|
|
<tr class="separator:a43e7be5a1a6fe2dbfe245e99d2205779"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a0fdf34836b1c954b27c9b242324679"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a4a0fdf34836b1c954b27c9b242324679">_cancelOffTimer</a> (void)</td></tr>
|
|
<tr class="memdesc:a4a0fdf34836b1c954b27c9b242324679"><td class="mdescLeft"> </td><td class="mdescRight">Clear the Off Timer enable bit. <a href="classIRCarrierAc64.html#a4a0fdf34836b1c954b27c9b242324679">More...</a><br /></td></tr>
|
|
<tr class="separator:a4a0fdf34836b1c954b27c9b242324679"><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:a17270f2b1d6cab828e2a51fc23b36437"><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="classIRCarrierAc64.html#a17270f2b1d6cab828e2a51fc23b36437">_irsend</a></td></tr>
|
|
<tr class="memdesc:a17270f2b1d6cab828e2a51fc23b36437"><td class="mdescLeft"> </td><td class="mdescRight">Instance of the IR send class. <a href="classIRCarrierAc64.html#a17270f2b1d6cab828e2a51fc23b36437">More...</a><br /></td></tr>
|
|
<tr class="separator:a17270f2b1d6cab828e2a51fc23b36437"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a257272c7cb54f5854e79053c8223a43e"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRCarrierAc64.html#a257272c7cb54f5854e79053c8223a43e">remote_state</a></td></tr>
|
|
<tr class="memdesc:a257272c7cb54f5854e79053c8223a43e"><td class="mdescLeft"> </td><td class="mdescRight">The state of the IR remote. <a href="classIRCarrierAc64.html#a257272c7cb54f5854e79053c8223a43e">More...</a><br /></td></tr>
|
|
<tr class="separator:a257272c7cb54f5854e79053c8223a43e"><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 Carrier 64 bit A/C messages. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ac225c0f24a0e385a145375ff447ab79b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac225c0f24a0e385a145375ff447ab79b">◆ </a></span>IRCarrierAc64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">IRCarrierAc64::IRCarrierAc64 </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="a4a0fdf34836b1c954b27c9b242324679"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a0fdf34836b1c954b27c9b242324679">◆ </a></span>_cancelOffTimer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::_cancelOffTimer </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>Clear the Off Timer enable bit. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a43e7be5a1a6fe2dbfe245e99d2205779"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a43e7be5a1a6fe2dbfe245e99d2205779">◆ </a></span>_cancelOnTimer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::_cancelOnTimer </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>Clear the On Timer enable bit. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7d9800edffad8a529971535ada5c00ad"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7d9800edffad8a529971535ada5c00ad">◆ </a></span>begin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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="a20676dcf4b0a6510cc3bce282fbf8504"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a20676dcf4b0a6510cc3bce282fbf8504">◆ </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 IRCarrierAc64::calcChecksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint64_t </td>
|
|
<td class="paramname"><em>state</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>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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The 4-bit checksum stored in a uint_8. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0718376156750e66f98ea0549c75b21b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0718376156750e66f98ea0549c75b21b">◆ </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 IRCarrierAc64::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="a005fab56acf94fe97db7fa92651b2882"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a005fab56acf94fe97db7fa92651b2882">◆ </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 IRCarrierAc64::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="a255e6679397434877f1c6c9ac70fff50"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a255e6679397434877f1c6c9ac70fff50">◆ </a></span>convertFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRCarrierAc64::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 equivilant of the enum. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8e94b1526b26cec55f1e700c86aaf74e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8e94b1526b26cec55f1e700c86aaf74e">◆ </a></span>convertMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRCarrierAc64::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 standard A/C mode 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>A <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> to be converted to it's native equivalent. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The corresponding native mode. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a93bb27688657af434d57f0dd9a159566"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a93bb27688657af434d57f0dd9a159566">◆ </a></span>getFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRCarrierAc64::getFan </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the current fan speed setting. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4f8e0435a086ec934b10e9bd66f2ae85"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4f8e0435a086ec934b10e9bd66f2ae85">◆ </a></span>getMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRCarrierAc64::getMode </td>
|
|
<td>(</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="a6a28f83442d695385f76f13913c76542"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6a28f83442d695385f76f13913c76542">◆ </a></span>getOffTimer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t IRCarrierAc64::getOffTimer </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 Off Timer time. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of minutes it is set for. 0 means it's off. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The A/C protocol only supports one hour increments. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a071ebd204e56e2cd771281b1c42b9cb5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a071ebd204e56e2cd771281b1c42b9cb5">◆ </a></span>getOnTimer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t IRCarrierAc64::getOnTimer </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 On Timer time. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of minutes it is set for. 0 means it's off. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The A/C protocol only supports one hour increments. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad50ebb44815e55cc0a99f4762939dc54"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad50ebb44815e55cc0a99f4762939dc54">◆ </a></span>getPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRCarrierAc64::getPower </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the value of the current power setting. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad40279db2c9bd3d1abb5a6e028ec0d80"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad40279db2c9bd3d1abb5a6e028ec0d80">◆ </a></span>getRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t IRCarrierAc64::getRaw </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get a copy of the internal state as a valid code for this protocol. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>A valid code for this protocol based on the current internal state. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a24f208b955af86f6927ac97b7f7066d5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a24f208b955af86f6927ac97b7f7066d5">◆ </a></span>getSleep()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRCarrierAc64::getSleep </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 Sleep 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="a78aac688a4b040b2b6102fac8b028bde"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a78aac688a4b040b2b6102fac8b028bde">◆ </a></span>getSwingV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool IRCarrierAc64::getSwingV </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 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="a799edf21e766b8ae2638a9b1e1d18ac1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a799edf21e766b8ae2638a9b1e1d18ac1">◆ </a></span>getTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t IRCarrierAc64::getTemp </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the current temperature from the internal state. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current temperature in Celsius. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac7a262d768626f01dac94f5e2891c98e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac7a262d768626f01dac94f5e2891c98e">◆ </a></span>off()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::off </td>
|
|
<td>(</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="a39c13b713e36fbf94605f251b36bdfae"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a39c13b713e36fbf94605f251b36bdfae">◆ </a></span>on()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::on </td>
|
|
<td>(</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="aace8aa2d125c6e80bcdd6d96eac722c2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aace8aa2d125c6e80bcdd6d96eac722c2">◆ </a></span>send()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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#a8b2b3670dc74ce9fbf3c8b511422a06c">kCarrierAc64MinRepeat</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="a312027468b508e9d38dd9e23ee99f9e4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a312027468b508e9d38dd9e23ee99f9e4">◆ </a></span>setFan()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae462eeec49ff91358f1b9921750ee36d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae462eeec49ff91358f1b9921750ee36d">◆ </a></span>setMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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="a92b1066e783db1bdffabfdc57699deef"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a92b1066e783db1bdffabfdc57699deef">◆ </a></span>setOffTimer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::setOffTimer </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 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 to set the timer to. (< 60 is disable). </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The A/C protocol only supports one hour increments. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9049a8d91200b878cc2a1b9b80a280ea"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9049a8d91200b878cc2a1b9b80a280ea">◆ </a></span>setOnTimer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::setOnTimer </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 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 to set the timer to. (< 60 is disable). </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The A/C protocol only supports one hour increments. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8acf59cbf3b02381b5188324030b7727"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8acf59cbf3b02381b5188324030b7727">◆ </a></span>setPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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="af49cf0b53bf8ff946a63bae94be0251d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af49cf0b53bf8ff946a63bae94be0251d">◆ </a></span>setRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::setRaw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint64_t </td>
|
|
<td class="paramname"><em>state</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">state</td><td>A valid code for this protocol. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa729dbef39afeeed8e83f26b927d3b21"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa729dbef39afeeed8e83f26b927d3b21">◆ </a></span>setSleep()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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>Set the Sleep 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="a61a3f9f29cabc0634a9a74fc2227d8c5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a61a3f9f29cabc0634a9a74fc2227d8c5">◆ </a></span>setSwingV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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="a79e193514ac6d07be537a78887426311"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a79e193514ac6d07be537a78887426311">◆ </a></span>setTemp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::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 temp in deg C. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">temp</td><td>The desired temperature in Celsius. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abe58c8f97ab4c34fd0cf198b07589694"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abe58c8f97ab4c34fd0cf198b07589694">◆ </a></span>stateReset()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void IRCarrierAc64::stateReset </td>
|
|
<td>(</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>
|
|
<dl class="section note"><dt>Note</dt><dd>The state is powered off. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7c4a84d0d9f1e78ba611e118ddb90635"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7c4a84d0d9f1e78ba611e118ddb90635">◆ </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> IRCarrierAc64::toCommon </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 A/C state to it's common <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>A <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> state. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5a9149acc82fcc22a5be8dcbe791ab77"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5a9149acc82fcc22a5be8dcbe791ab77">◆ </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> IRCarrierAc64::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> equivilant. </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> equivilant of the native setting. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab17b24d0306b8983886d15175898909e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab17b24d0306b8983886d15175898909e">◆ </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> IRCarrierAc64::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 to it's common <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</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>A native operation mode to be converted. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The corresponding common <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> mode. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acede081614a80ae46345d4ae45e39ab2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acede081614a80ae46345d4ae45e39ab2">◆ </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> IRCarrierAc64::toString </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Convert the internal state into a human readable string. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current internal state expressed as a human readable String. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="affa23f178e079cd3a6c933240759fe80"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#affa23f178e079cd3a6c933240759fe80">◆ </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 IRCarrierAc64::validChecksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint64_t </td>
|
|
<td class="paramname"><em>state</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>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>
|
|
</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="a17270f2b1d6cab828e2a51fc23b36437"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a17270f2b1d6cab828e2a51fc23b36437">◆ </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> IRCarrierAc64::_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="a257272c7cb54f5854e79053c8223a43e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a257272c7cb54f5854e79053c8223a43e">◆ </a></span>remote_state</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t IRCarrierAc64::remote_state</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The state of the IR remote. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/<a class="el" href="ir__Carrier_8h_source.html">ir_Carrier.h</a></li>
|
|
<li>src/<a class="el" href="ir__Carrier_8cpp.html">ir_Carrier.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>
|