_entertainment_mode_8cpp.html 10.8 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hueplusplus: src/EntertainmentMode.cpp File 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">hueplusplus
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</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 id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">EntertainmentMode.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_entertainment_mode_8h_source.html">hueplusplus/EntertainmentMode.h</a>&quot;</code><br />
<code>#include &quot;mbedtls/certs.h&quot;</code><br />
<code>#include &quot;mbedtls/ctr_drbg.h&quot;</code><br />
<code>#include &quot;mbedtls/debug.h&quot;</code><br />
<code>#include &quot;mbedtls/entropy.h&quot;</code><br />
<code>#include &quot;mbedtls/error.h&quot;</code><br />
<code>#include &quot;mbedtls/net_sockets.h&quot;</code><br />
<code>#include &quot;mbedtls/ssl.h&quot;</code><br />
<code>#include &quot;mbedtls/timing.h&quot;</code><br />
</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for EntertainmentMode.cpp:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="_entertainment_mode_8cpp__incl.png" border="0" usemap="#src_2_entertainment_mode_8cpp" alt=""/></div>
<map name="src_2_entertainment_mode_8cpp" id="src_2_entertainment_mode_8cpp">
<area shape="rect" id="node2" href="_entertainment_mode_8h.html" title="hueplusplus/Entertainment\lMode.h" alt="" coords="784,80,981,121"/>
<area shape="rect" id="node3" href="_bridge_8h.html" title="Bridge.h" alt="" coords="1607,169,1683,196"/>
<area shape="rect" id="node27" href="_group_8h.html" title="Group.h" alt="" coords="1646,393,1719,420"/>
<area shape="rect" id="node9" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="1070,468,1165,495"/>
<area shape="rect" id="node11" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="1737,543,1885,569"/>
<area shape="rect" id="node16" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="1567,617,1683,644"/>
<area shape="rect" id="node18" href="_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="464,393,581,420"/>
<area shape="rect" id="node21" href="_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="2782,393,2938,420"/>
<area shape="rect" id="node23" href="_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="2849,468,2996,495"/>
<area shape="rect" id="node25" href="_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="3064,393,3267,420"/>
<area shape="rect" id="node30" href="_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2529,244,2671,271"/>
<area shape="rect" id="node31" href="_light_8h.html" title="Light.h" alt="" coords="2609,319,2676,345"/>
<area shape="rect" id="node33" href="_resource_list_8h.html" title="ResourceList.h" alt="" coords="773,393,889,420"/>
<area shape="rect" id="node36" href="_utils_8h.html" title="Utils.h" alt="" coords="2069,468,2133,495"/>
<area shape="rect" id="node37" href="_rule_8h.html" title="Rule.h" alt="" coords="1507,393,1570,420"/>
<area shape="rect" id="node39" href="_scene_8h.html" title="Scene.h" alt="" coords="969,393,1042,420"/>
<area shape="rect" id="node40" href="_schedule_8h.html" title="Schedule.h" alt="" coords="1168,393,1261,420"/>
<area shape="rect" id="node41" href="_sensor_8h.html" title="Sensor.h" alt="" coords="1931,319,2008,345"/>
<area shape="rect" id="node42" href="_sensor_list_8h.html" title="SensorList.h" alt="" coords="1033,244,1135,271"/>
<area shape="rect" id="node14" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="1317,617,1441,644"/>
<area shape="rect" id="node19" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="1073,543,1186,569"/>
<area shape="rect" id="node24" href="_color_units_8h.html" title="ColorUnits.h" alt="" coords="2731,543,2834,569"/>
<area shape="rect" id="node28" href="_action_8h.html" title="Action.h" alt="" coords="2041,543,2116,569"/>
<area shape="rect" id="node29" href="_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="2209,468,2351,495"/>
<area shape="rect" id="node32" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="2342,393,2453,420"/>
<area shape="rect" id="node35" href="_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="763,468,893,495"/>
<area shape="rect" id="node38" href="_condition_8h.html" title="Condition.h" alt="" coords="1645,468,1741,495"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhueplusplus_1_1_t_l_s_context.html">hueplusplus::TLSContext</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr>
<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft">&#160;</td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afc2d402720a601f6e3ee9a8244566cd9"><td class="memItemLeft" align="right" valign="top">std::vector&lt; char &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html#afc2d402720a601f6e3ee9a8244566cd9">hueplusplus::hexToBytes</a> (const std::string &amp;hex)</td></tr>
<tr class="separator:afc2d402720a601f6e3ee9a8244566cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ae5fa3d83e2c7c47592d2bcadf3beda43"><td class="memItemLeft" align="right" valign="top">constexpr uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html#ae5fa3d83e2c7c47592d2bcadf3beda43">hueplusplus::HUE_ENTERTAINMENT_HEADER_SIZE</a> = 16</td></tr>
<tr class="separator:ae5fa3d83e2c7c47592d2bcadf3beda43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a124e375b39cce28b852b7510fe031cf6"><td class="memItemLeft" align="right" valign="top">constexpr uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html#a124e375b39cce28b852b7510fe031cf6">hueplusplus::HUE_ENTERTAINMENT_LIGHT_SIZE</a> = 9</td></tr>
<tr class="separator:a124e375b39cce28b852b7510fe031cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Copyright Notice<br />
Copyright (C) 2020 Adam Honse - developer<br />
Copyright (C) 2021 Moritz Wirger - developer<br />
 This file is part of hueplusplus.</p>
<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p>
<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>