mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 13:40:55 +01:00
431 lines
21 KiB
HTML
431 lines
21 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.9.1"/>
|
|
<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 style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">esp-nimble-cpp
|
|
 <span id="projectnumber">1.4.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<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','.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: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>
|
|
</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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</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>
|
|
<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:ac99e1fb4ef4795785a655b117dabdd37"><td class="memItemLeft" align="right" valign="top"><a id="ac99e1fb4ef4795785a655b117dabdd37"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#ac99e1fb4ef4795785a655b117dabdd37">NimBLEBeacon</a> ()</td></tr>
|
|
<tr class="memdesc:ac99e1fb4ef4795785a655b117dabdd37"><td class="mdescLeft"> </td><td class="mdescRight">Construct a default beacon object. <br /></td></tr>
|
|
<tr class="separator:ac99e1fb4ef4795785a655b117dabdd37"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2458f7db169b696e6368802d5ece0d9"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_nim_b_l_e_beacon.html#ae2458f7db169b696e6368802d5ece0d9">getData</a> ()</td></tr>
|
|
<tr class="memdesc:ae2458f7db169b696e6368802d5ece0d9"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the data that is being advertised. <a href="class_nim_b_l_e_beacon.html#ae2458f7db169b696e6368802d5ece0d9">More...</a><br /></td></tr>
|
|
<tr class="separator:ae2458f7db169b696e6368802d5ece0d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c">More...</a><br /></td></tr>
|
|
<tr class="separator:aac32b7f86c73221152909528c8dbad3c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788">More...</a><br /></td></tr>
|
|
<tr class="separator:a4bc9fd3a68b4b1772dc4d102573c6788"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40">More...</a><br /></td></tr>
|
|
<tr class="separator:a8803d70e8c238ccb98edcf31af0ead40"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad">More...</a><br /></td></tr>
|
|
<tr class="separator:a999ade63059620d619609676d85186ad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668">More...</a><br /></td></tr>
|
|
<tr class="separator:a4eb27b3e447f8f0b44128f77933be668"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92292c8b1f5ba0097f063ff6e60934ff"><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#a92292c8b1f5ba0097f063ff6e60934ff">setData</a> (const std::string &data)</td></tr>
|
|
<tr class="memdesc:a92292c8b1f5ba0097f063ff6e60934ff"><td class="mdescLeft"> </td><td class="mdescRight">Set the raw data for the beacon record. <a href="class_nim_b_l_e_beacon.html#a92292c8b1f5ba0097f063ff6e60934ff">More...</a><br /></td></tr>
|
|
<tr class="separator:a92292c8b1f5ba0097f063ff6e60934ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea">More...</a><br /></td></tr>
|
|
<tr class="separator:abef1334108f8049832da7fffb56f6eea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e">More...</a><br /></td></tr>
|
|
<tr class="separator:a44d03b0c2b1bea3bee8f15feeb73fb8e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9">More...</a><br /></td></tr>
|
|
<tr class="separator:a1ec99fe7684181e7b899cd763f9b44d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256">More...</a><br /></td></tr>
|
|
<tr class="separator:a7f33ffc298285d1ab02088b2584f2256"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem: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. <a href="class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0">More...</a><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="ae2458f7db169b696e6368802d5ece0d9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae2458f7db169b696e6368802d5ece0d9">◆ </a></span>getData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string 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"></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"></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"></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"></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"></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="a92292c8b1f5ba0097f063ff6e60934ff"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a92292c8b1f5ba0097f063ff6e60934ff">◆ </a></span>setData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void NimBLEBeacon::setData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>data</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the raw data for the beacon record. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>The raw beacon data. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="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"></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"></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"></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"></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.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|