mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-12-26 04:30:46 +01:00
475 lines
23 KiB
HTML
475 lines
23 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>esp-nimble-cpp: NimBLEBeacon 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="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">esp-nimble-cpp<span id="projectnumber"> 2.0.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function(){initNavTree('class_nim_b_l_e_beacon.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="class_nim_b_l_e_beacon-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">NimBLEBeacon Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Representation of a beacon. See:
|
|
<a href="class_nim_b_l_e_beacon.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="_nim_b_l_e_beacon_8h_source.html">NimBLEBeacon.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a8ac2cd99dd5a8a996f3556f9e5d20bbb" id="r_a8ac2cd99dd5a8a996f3556f9e5d20bbb"><td class="memItemLeft" align="right" valign="top">const BeaconData & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a8ac2cd99dd5a8a996f3556f9e5d20bbb">getData</a> ()</td></tr>
|
|
<tr class="memdesc:a8ac2cd99dd5a8a996f3556f9e5d20bbb"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the data that is being advertised. <br /></td></tr>
|
|
<tr class="separator:a8ac2cd99dd5a8a996f3556f9e5d20bbb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aac32b7f86c73221152909528c8dbad3c" id="r_aac32b7f86c73221152909528c8dbad3c"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c">getMajor</a> ()</td></tr>
|
|
<tr class="memdesc:aac32b7f86c73221152909528c8dbad3c"><td class="mdescLeft"> </td><td class="mdescRight">Get the major value being advertised. <br /></td></tr>
|
|
<tr class="separator:aac32b7f86c73221152909528c8dbad3c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4bc9fd3a68b4b1772dc4d102573c6788" id="r_a4bc9fd3a68b4b1772dc4d102573c6788"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788">getMinor</a> ()</td></tr>
|
|
<tr class="memdesc:a4bc9fd3a68b4b1772dc4d102573c6788"><td class="mdescLeft"> </td><td class="mdescRight">Get the minor value being advertised. <br /></td></tr>
|
|
<tr class="separator:a4bc9fd3a68b4b1772dc4d102573c6788"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8803d70e8c238ccb98edcf31af0ead40" id="r_a8803d70e8c238ccb98edcf31af0ead40"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40">getManufacturerId</a> ()</td></tr>
|
|
<tr class="memdesc:a8803d70e8c238ccb98edcf31af0ead40"><td class="mdescLeft"> </td><td class="mdescRight">Get the manufacturer ID being advertised. <br /></td></tr>
|
|
<tr class="separator:a8803d70e8c238ccb98edcf31af0ead40"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a999ade63059620d619609676d85186ad" id="r_a999ade63059620d619609676d85186ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_nim_b_l_e_u_u_i_d.html">NimBLEUUID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad">getProximityUUID</a> ()</td></tr>
|
|
<tr class="memdesc:a999ade63059620d619609676d85186ad"><td class="mdescLeft"> </td><td class="mdescRight">Get the proximity UUID being advertised. <br /></td></tr>
|
|
<tr class="separator:a999ade63059620d619609676d85186ad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4eb27b3e447f8f0b44128f77933be668" id="r_a4eb27b3e447f8f0b44128f77933be668"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668">getSignalPower</a> ()</td></tr>
|
|
<tr class="memdesc:a4eb27b3e447f8f0b44128f77933be668"><td class="mdescLeft"> </td><td class="mdescRight">Get the signal power being advertised. <br /></td></tr>
|
|
<tr class="separator:a4eb27b3e447f8f0b44128f77933be668"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab6475aaa5d8a93e24401da3b4b272496" id="r_ab6475aaa5d8a93e24401da3b4b272496"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#ab6475aaa5d8a93e24401da3b4b272496">setData</a> (const uint8_t *data, uint8_t length)</td></tr>
|
|
<tr class="memdesc:ab6475aaa5d8a93e24401da3b4b272496"><td class="mdescLeft"> </td><td class="mdescRight">Set the beacon data. <br /></td></tr>
|
|
<tr class="separator:ab6475aaa5d8a93e24401da3b4b272496"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab204f2a919c5da7308e74bd3590a29c3" id="r_ab204f2a919c5da7308e74bd3590a29c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#ab204f2a919c5da7308e74bd3590a29c3">setData</a> (const BeaconData &data)</td></tr>
|
|
<tr class="memdesc:ab204f2a919c5da7308e74bd3590a29c3"><td class="mdescLeft"> </td><td class="mdescRight">Set the beacon data. <br /></td></tr>
|
|
<tr class="separator:ab204f2a919c5da7308e74bd3590a29c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abef1334108f8049832da7fffb56f6eea" id="r_abef1334108f8049832da7fffb56f6eea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea">setMajor</a> (uint16_t major)</td></tr>
|
|
<tr class="memdesc:abef1334108f8049832da7fffb56f6eea"><td class="mdescLeft"> </td><td class="mdescRight">Set the major value. <br /></td></tr>
|
|
<tr class="separator:abef1334108f8049832da7fffb56f6eea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a44d03b0c2b1bea3bee8f15feeb73fb8e" id="r_a44d03b0c2b1bea3bee8f15feeb73fb8e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e">setMinor</a> (uint16_t minor)</td></tr>
|
|
<tr class="memdesc:a44d03b0c2b1bea3bee8f15feeb73fb8e"><td class="mdescLeft"> </td><td class="mdescRight">Set the minor value. <br /></td></tr>
|
|
<tr class="separator:a44d03b0c2b1bea3bee8f15feeb73fb8e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1ec99fe7684181e7b899cd763f9b44d9" id="r_a1ec99fe7684181e7b899cd763f9b44d9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9">setManufacturerId</a> (uint16_t manufacturerId)</td></tr>
|
|
<tr class="memdesc:a1ec99fe7684181e7b899cd763f9b44d9"><td class="mdescLeft"> </td><td class="mdescRight">Set the manufacturer ID. <br /></td></tr>
|
|
<tr class="separator:a1ec99fe7684181e7b899cd763f9b44d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7f33ffc298285d1ab02088b2584f2256" id="r_a7f33ffc298285d1ab02088b2584f2256"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256">setProximityUUID</a> (const <a class="el" href="class_nim_b_l_e_u_u_i_d.html">NimBLEUUID</a> &uuid)</td></tr>
|
|
<tr class="memdesc:a7f33ffc298285d1ab02088b2584f2256"><td class="mdescLeft"> </td><td class="mdescRight">Set the proximity UUID. <br /></td></tr>
|
|
<tr class="separator:a7f33ffc298285d1ab02088b2584f2256"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2dd8cd367260dd8374309576457cec0" id="r_ae2dd8cd367260dd8374309576457cec0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0">setSignalPower</a> (int8_t signalPower)</td></tr>
|
|
<tr class="memdesc:ae2dd8cd367260dd8374309576457cec0"><td class="mdescLeft"> </td><td class="mdescRight">Set the signal power. <br /></td></tr>
|
|
<tr class="separator:ae2dd8cd367260dd8374309576457cec0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Representation of a beacon. See: </p>
|
|
<ul>
|
|
<li><a href="https://en.wikipedia.org/wiki/IBeacon">https://en.wikipedia.org/wiki/IBeacon</a> </li>
|
|
</ul>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a8ac2cd99dd5a8a996f3556f9e5d20bbb" name="a8ac2cd99dd5a8a996f3556f9e5d20bbb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8ac2cd99dd5a8a996f3556f9e5d20bbb">◆ </a></span>getData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const NimBLEBeacon::BeaconData & NimBLEBeacon::getData </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieve the data that is being advertised. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The advertised data. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aac32b7f86c73221152909528c8dbad3c" name="aac32b7f86c73221152909528c8dbad3c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aac32b7f86c73221152909528c8dbad3c">◆ </a></span>getMajor()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t NimBLEBeacon::getMajor </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the major value being advertised. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The major value advertised. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8803d70e8c238ccb98edcf31af0ead40" name="a8803d70e8c238ccb98edcf31af0ead40"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8803d70e8c238ccb98edcf31af0ead40">◆ </a></span>getManufacturerId()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t NimBLEBeacon::getManufacturerId </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the manufacturer ID being advertised. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The manufacturer ID value advertised. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4bc9fd3a68b4b1772dc4d102573c6788" name="a4bc9fd3a68b4b1772dc4d102573c6788"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4bc9fd3a68b4b1772dc4d102573c6788">◆ </a></span>getMinor()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t NimBLEBeacon::getMinor </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the minor value being advertised. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>minor value advertised. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a999ade63059620d619609676d85186ad" name="a999ade63059620d619609676d85186ad"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a999ade63059620d619609676d85186ad">◆ </a></span>getProximityUUID()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_nim_b_l_e_u_u_i_d.html">NimBLEUUID</a> NimBLEBeacon::getProximityUUID </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the proximity UUID being advertised. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The UUID advertised. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4eb27b3e447f8f0b44128f77933be668" name="a4eb27b3e447f8f0b44128f77933be668"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4eb27b3e447f8f0b44128f77933be668">◆ </a></span>getSignalPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t NimBLEBeacon::getSignalPower </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the signal power being advertised. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>signal power level advertised. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab204f2a919c5da7308e74bd3590a29c3" name="ab204f2a919c5da7308e74bd3590a29c3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab204f2a919c5da7308e74bd3590a29c3">◆ </a></span>setData() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const BeaconData & </td>
|
|
<td class="paramname"><em>data</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the beacon data. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>The data that the beacon should advertise. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab6475aaa5d8a93e24401da3b4b272496" name="ab6475aaa5d8a93e24401da3b4b272496"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab6475aaa5d8a93e24401da3b4b272496">◆ </a></span>setData() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t * </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>length</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the beacon data. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A pointer to the raw data that the beacon should advertise. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the data. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abef1334108f8049832da7fffb56f6eea" name="abef1334108f8049832da7fffb56f6eea"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abef1334108f8049832da7fffb56f6eea">◆ </a></span>setMajor()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setMajor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>major</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the major value. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">major</td><td>The major value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1ec99fe7684181e7b899cd763f9b44d9" name="a1ec99fe7684181e7b899cd763f9b44d9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1ec99fe7684181e7b899cd763f9b44d9">◆ </a></span>setManufacturerId()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setManufacturerId </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>manufacturerId</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the manufacturer ID. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">manufacturerId</td><td>The manufacturer ID value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a44d03b0c2b1bea3bee8f15feeb73fb8e" name="a44d03b0c2b1bea3bee8f15feeb73fb8e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a44d03b0c2b1bea3bee8f15feeb73fb8e">◆ </a></span>setMinor()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setMinor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>minor</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the minor value. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">minor</td><td>The minor value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7f33ffc298285d1ab02088b2584f2256" name="a7f33ffc298285d1ab02088b2584f2256"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7f33ffc298285d1ab02088b2584f2256">◆ </a></span>setProximityUUID()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setProximityUUID </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_nim_b_l_e_u_u_i_d.html">NimBLEUUID</a> & </td>
|
|
<td class="paramname"><em>uuid</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the proximity UUID. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">uuid</td><td>The proximity UUID. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae2dd8cd367260dd8374309576457cec0" name="ae2dd8cd367260dd8374309576457cec0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae2dd8cd367260dd8374309576457cec0">◆ </a></span>setSignalPower()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setSignalPower </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>signalPower</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the signal power. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">signalPower</td><td>The signal power value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="class_nim_b_l_e_beacon.html">NimBLEBeacon</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|