<divclass="line"><aid="l00005"name="l00005"></a><spanclass="lineno"> 5</span><spanclass="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div>
<divclass="line"><aid="l00006"name="l00006"></a><spanclass="lineno"> 6</span><spanclass="comment"> * you may not use this file except in compliance with the License.</span></div>
<divclass="line"><aid="l00007"name="l00007"></a><spanclass="lineno"> 7</span><spanclass="comment"> * You may obtain a copy of the License at</span></div>
<divclass="line"><aid="l00011"name="l00011"></a><spanclass="lineno"> 11</span><spanclass="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<divclass="line"><aid="l00012"name="l00012"></a><spanclass="lineno"> 12</span><spanclass="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<divclass="line"><aid="l00013"name="l00013"></a><spanclass="lineno"> 13</span><spanclass="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<divclass="line"><aid="l00014"name="l00014"></a><spanclass="lineno"> 14</span><spanclass="comment"> * See the License for the specific language governing permissions and</span></div>
<divclass="line"><aid="l00015"name="l00015"></a><spanclass="lineno"> 15</span><spanclass="comment"> * limitations under the License.</span></div>
<divclass="line"><aid="l00025"name="l00025"></a><spanclass="lineno"> 25</span><spanclass="preprocessor"># if defined(CONFIG_NIMBLE_CPP_IDF)</span></div>
<divclass="line"><aid="l00026"name="l00026"></a><spanclass="lineno"> 26</span><spanclass="preprocessor"># include "host/ble_gap.h"</span></div>
<divclass="line"><aid="l00028"name="l00028"></a><spanclass="lineno"> 28</span><spanclass="preprocessor"># include "nimble/nimble/host/include/host/ble_gap.h"</span></div>
<divclass="line"><aid="l00036"name="l00036"></a><spanclass="lineno"> 36</span><spanclass="preprocessor"># include "NimBLEUUID.h"</span></div>
<divclass="line"><aid="l00037"name="l00037"></a><spanclass="lineno"> 37</span><spanclass="preprocessor"># include "NimBLEAddress.h"</span></div>
<divclass="line"><aid="l00038"name="l00038"></a><spanclass="lineno"> 38</span><spanclass="preprocessor"># include "NimBLEAdvertisementData.h"</span></div>
<divclass="ttc"id="aclass_nim_b_l_e_address_html"><divclass="ttname"><ahref="class_nim_b_l_e_address.html">NimBLEAddress</a></div><divclass="ttdoc">A BLE device address.</div><divclass="ttdef"><b>Definition</b> NimBLEAddress.h:41</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertisement_data_html"><divclass="ttname"><ahref="class_nim_b_l_e_advertisement_data.html">NimBLEAdvertisementData</a></div><divclass="ttdoc">Advertisement data set by the programmer to be published by the BLE server.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertisementData.h:33</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html">NimBLEAdvertising</a></div><divclass="ttdoc">Perform and manage BLE advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.h:52</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a0d3c5cb3a93416a4206abb1f8e443ebf"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a0d3c5cb3a93416a4206abb1f8e443ebf">NimBLEAdvertising::addTxPower</a></div><divclass="ttdeci">bool addTxPower()</div><divclass="ttdoc">Add the transmission power level to the advertisement packet.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:501</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a1e23657839038e5219f9c009cf360a32"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a1e23657839038e5219f9c009cf360a32">NimBLEAdvertising::getAdvertisementData</a></div><divclass="ttdeci">const NimBLEAdvertisementData & getAdvertisementData()</div><divclass="ttdoc">Get the current advertisement data.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:348</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a1f4e1ae9552400fb2bb3cd73b2a483b0"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a1f4e1ae9552400fb2bb3cd73b2a483b0">NimBLEAdvertising::setAppearance</a></div><divclass="ttdeci">bool setAppearance(uint16_t appearance)</div><divclass="ttdoc">Set the device appearance in the advertising data.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:468</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a28c082bb540325ada66b4e203ae6998a"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a28c082bb540325ada66b4e203ae6998a">NimBLEAdvertising::setAdvertisingInterval</a></div><divclass="ttdeci">void setAdvertisingInterval(uint16_t interval)</div><divclass="ttdoc">Set the advertising interval.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:123</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a3e81d7d3aa2b72b8db58427d4a42727b"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a3e81d7d3aa2b72b8db58427d4a42727b">NimBLEAdvertising::setAdvertisingCompleteCallback</a></div><divclass="ttdeci">void setAdvertisingCompleteCallback(advCompleteCB_t callback)</div><divclass="ttdoc">Set the callback to be invoked when advertising stops.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:263</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a67c9589dff7e0ee3ec24f2c930d56c06"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06">NimBLEAdvertising::addServiceUUID</a></div><divclass="ttdeci">bool addServiceUUID(const NimBLEUUID &serviceUUID)</div><divclass="ttdoc">Add a service uuid to exposed list of services.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:410</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a6b5be947a5e188d512e3338d36a039cb"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a6b5be947a5e188d512e3338d36a039cb">NimBLEAdvertising::setMinInterval</a></div><divclass="ttdeci">void setMinInterval(uint16_t minInterval)</div><divclass="ttdoc">Set the minimum advertising interval.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:132</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a710eacfc97ecea1bf9a9a3569c58d410"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a710eacfc97ecea1bf9a9a3569c58d410">NimBLEAdvertising::setDiscoverableMode</a></div><divclass="ttdeci">bool setDiscoverableMode(uint8_t mode)</div><divclass="ttdoc">Set the discoverable mode to use.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:99</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a7fb4b74eb7acb1f46e57ff772baccd88"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a7fb4b74eb7acb1f46e57ff772baccd88">NimBLEAdvertising::setName</a></div><divclass="ttdeci">bool setName(const std::string &name)</div><divclass="ttdoc">Set the advertised name of the device.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:519</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a815faed49fb4f29337fda94bd39c0bbc"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a815faed49fb4f29337fda94bd39c0bbc">NimBLEAdvertising::setServiceData</a></div><divclass="ttdeci">bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)</div><divclass="ttdoc">Set the service data advertised for the UUID.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:592</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a91cde5680de36840fc18f6fd76665af7"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a91cde5680de36840fc18f6fd76665af7">NimBLEAdvertising::reset</a></div><divclass="ttdeci">bool reset()</div><divclass="ttdoc">Stops the current advertising and resets the advertising data to the default values.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:60</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a97798e6d9d7721eb588c5e67d54e97ef"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a97798e6d9d7721eb588c5e67d54e97ef">NimBLEAdvertising::setScanResponseData</a></div><divclass="ttdeci">bool setScanResponseData(const NimBLEAdvertisementData &advertisementData)</div><divclass="ttdoc">Set the data that is to be provided in a scan response.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:359</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a97bf63603b9aabdf0a5284269dfc5549"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a97bf63603b9aabdf0a5284269dfc5549">NimBLEAdvertising::setMaxInterval</a></div><divclass="ttdeci">void setMaxInterval(uint16_t maxInterval)</div><divclass="ttdoc">Set the maximum advertising interval.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:140</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a9dbb66ca66aa040731fcfd737f881469"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a9dbb66ca66aa040731fcfd737f881469">NimBLEAdvertising::setPreferredParams</a></div><divclass="ttdeci">bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)</div><divclass="ttdoc">Set the preferred min and max connection intervals to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:486</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_a9fe23a52ac3f699095d84d2ba8f90c28"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#a9fe23a52ac3f699095d84d2ba8f90c28">NimBLEAdvertising::setURI</a></div><divclass="ttdeci">bool setURI(const std::string &uri)</div><divclass="ttdoc">Set the advertised URI.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:573</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_aa3da80c7d17a7824484ee254076e4790"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790">NimBLEAdvertising::setScanFilter</a></div><divclass="ttdeci">void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)</div><divclass="ttdoc">Set the filtering for the scan filter.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:159</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_ab8afd94479ebac3996fa3712d3d92325"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#ab8afd94479ebac3996fa3712d3d92325">NimBLEAdvertising::setAdvertisementData</a></div><divclass="ttdeci">bool setAdvertisementData(const NimBLEAdvertisementData &advertisementData)</div><divclass="ttdoc">Set the advertisement data that is to be broadcast in a regular advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:331</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_aba383012133dd694f56cf86966b2d80a"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#aba383012133dd694f56cf86966b2d80a">NimBLEAdvertising::removeServiceUUID</a></div><divclass="ttdeci">bool removeServiceUUID(const NimBLEUUID &serviceUUID)</div><divclass="ttdoc">Remove a service UUID from the advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:435</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_abe6258a917243a4567c3d6eece2ddcdd"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd">NimBLEAdvertising::NimBLEAdvertising</a></div><divclass="ttdeci">NimBLEAdvertising()</div><divclass="ttdoc">Construct a default advertising object.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:38</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_ac257ab68520a244cb6494d793f9b6c2a"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a">NimBLEAdvertising::isAdvertising</a></div><divclass="ttdeci">bool isAdvertising()</div><divclass="ttdoc">Check if currently advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:271</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_ad159c2e2a65d9bc7dcc5babed146936d"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#ad159c2e2a65d9bc7dcc5babed146936d">NimBLEAdvertising::removeServices</a></div><divclass="ttdeci">bool removeServices()</div><divclass="ttdoc">Remove all service UUIDs from the advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:455</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_ad899be16fa054a01908692a504af9832"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#ad899be16fa054a01908692a504af9832">NimBLEAdvertising::refreshAdvertisingData</a></div><divclass="ttdeci">bool refreshAdvertisingData()</div><divclass="ttdoc">Refresh advertsing data dynamically without stop/start cycle. For instance allows refreshing manufact...</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:396</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_ae0e7d64d51882830750bcb87e2d9678c"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#ae0e7d64d51882830750bcb87e2d9678c">NimBLEAdvertising::getScanData</a></div><divclass="ttdeci">const NimBLEAdvertisementData & getScanData()</div><divclass="ttdoc">Get the current scan response data.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:375</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_ae49d2bd91cabca46ec7c4bbd7fc49407"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#ae49d2bd91cabca46ec7c4bbd7fc49407">NimBLEAdvertising::setConnectableMode</a></div><divclass="ttdeci">bool setConnectableMode(uint8_t mode)</div><divclass="ttdoc">Set the type of connectable mode to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:77</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_advertising_html_af7cee42f24ad38872936a0bbc9e2ac1e"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html#af7cee42f24ad38872936a0bbc9e2ac1e">NimBLEAdvertising::clearData</a></div><divclass="ttdeci">void clearData()</div><divclass="ttdoc">Clear the advertisement and scan response data and set the flags to BLE_HS_ADV_F_DISC_GEN.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.cpp:382</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html"><divclass="ttname"><ahref="class_nim_b_l_e_device.html">NimBLEDevice</a></div><divclass="ttdoc">A model of a BLE Device from which all the BLE roles are created.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.h:109</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_server_html"><divclass="ttname"><ahref="class_nim_b_l_e_server.html">NimBLEServer</a></div><divclass="ttdoc">The model of a BLE server.</div><divclass="ttdef"><b>Definition</b> NimBLEServer.h:60</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_u_u_i_d_html"><divclass="ttname"><ahref="class_nim_b_l_e_u_u_i_d.html">NimBLEUUID</a></div><divclass="ttdoc">A model of a BLE UUID.</div><divclass="ttdef"><b>Definition</b> NimBLEUUID.h:41</div></div>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.8 </li>