<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="l00024"name="l00024"></a><spanclass="lineno"> 24</span><spanclass="preprocessor"># include "NimBLEAdvertisedDevice.h"</span></div>
<divclass="line"><aid="l00025"name="l00025"></a><spanclass="lineno"> 25</span><spanclass="preprocessor"># include "NimBLEUtils.h"</span></div>
<divclass="line"><aid="l00027"name="l00027"></a><spanclass="lineno"> 27</span><spanclass="preprocessor"># if defined(CONFIG_NIMBLE_CPP_IDF)</span></div>
<divclass="line"><aid="l00028"name="l00028"></a><spanclass="lineno"> 28</span><spanclass="preprocessor"># include "host/ble_gap.h"</span></div>
<divclass="line"><aid="l00030"name="l00030"></a><spanclass="lineno"> 30</span><spanclass="preprocessor"># include "nimble/nimble/host/include/host/ble_gap.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_advertised_device_html"><divclass="ttname"><ahref="class_nim_b_l_e_advertised_device.html">NimBLEAdvertisedDevice</a></div><divclass="ttdoc">A representation of a BLE advertised device found by a scan.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertisedDevice.h:45</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_scan_callbacks_html"><divclass="ttname"><ahref="class_nim_b_l_e_scan_callbacks.html">NimBLEScanCallbacks</a></div><divclass="ttdoc">A callback handler for callbacks associated device scanning.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.h:115</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_callbacks_html_a1f9b5eac5982340afbb84954a4c06277"><divclass="ttname"><ahref="class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277">NimBLEScanCallbacks::onDiscovered</a></div><divclass="ttdeci">virtual void onDiscovered(const NimBLEAdvertisedDevice *advertisedDevice)</div><divclass="ttdoc">Called when a new device is discovered, before the scan result is received (if applicable).</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:538</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_callbacks_html_a61c11db405e87ec847066ca3b6ad8375"><divclass="ttname"><ahref="class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375">NimBLEScanCallbacks::onScanEnd</a></div><divclass="ttdeci">virtual void onScanEnd(const NimBLEScanResults &scanResults, int reason)</div><divclass="ttdoc">Called when a scan operation ends.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:546</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_callbacks_html_a962d8b08cf14ac3091e6fd6962d7e283"><divclass="ttname"><ahref="class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283">NimBLEScanCallbacks::onResult</a></div><divclass="ttdeci">virtual void onResult(const NimBLEAdvertisedDevice *advertisedDevice)</div><divclass="ttdoc">Called when a new scan result is complete, including scan response data (if applicable).</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:542</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html">NimBLEScan</a></div><divclass="ttdoc">Perform and manage BLE scans.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.h:67</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a0fec97ad0f4ff191bb853138c30d5316"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316">NimBLEScan::setWindow</a></div><divclass="ttdeci">void setWindow(uint16_t windowMs)</div><divclass="ttdoc">Set the window to actively scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:257</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a17f2f775b5e6793f06a412f840d5dceb"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a17f2f775b5e6793f06a412f840d5dceb">NimBLEScan::setPhy</a></div><divclass="ttdeci">void setPhy(Phy phyMask)</div><divclass="ttdoc">Set the PHYs to scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:276</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a2ae53719546e2d410c816e12c56aad61"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61">NimBLEScan::getResults</a></div><divclass="ttdeci">NimBLEScanResults getResults()</div><divclass="ttdoc">Get the results of the scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:463</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a3b0d41fc5d9113a02357c1b2a43c5d1d"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d">NimBLEScan::setScanCallbacks</a></div><divclass="ttdeci">void setScanCallbacks(NimBLEScanCallbacks *pScanCallbacks, bool wantDuplicates=false)</div><divclass="ttdoc">Set the call backs to be invoked.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:234</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a4248aabb5da67953eadab2a6f834d967"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967">NimBLEScan::setFilterPolicy</a></div><divclass="ttdeci">void setFilterPolicy(uint8_t filter)</div><divclass="ttdoc">Sets the scan filter policy.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:216</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a4c3e1794c3e56acba76ee269ffb1393e"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a4c3e1794c3e56acba76ee269ffb1393e">NimBLEScan::setInterval</a></div><divclass="ttdeci">void setInterval(uint16_t intervalMs)</div><divclass="ttdoc">Set the interval to scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:249</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a566a9ef25b04e946ac23402bb760cda1"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1">NimBLEScan::erase</a></div><divclass="ttdeci">void erase(const NimBLEAddress &address)</div><divclass="ttdoc">Delete peer device from the scan results vector.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:398</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a68fa5cc715f62a9a97ac0dccfb8557c1"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1">NimBLEScan::stop</a></div><divclass="ttdeci">bool stop()</div><divclass="ttdoc">Stop an in progress scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:373</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a77483be2bd9dad08322cc64f4e7012c1"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1">NimBLEScan::setLimitedOnly</a></div><divclass="ttdeci">void setLimitedOnly(bool enabled)</div><divclass="ttdoc">Set whether or not the BLE controller only reports scan results from devices advertising in limited d...</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:194</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_a7d24e77d6b339552b6ac16effdb54910"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910">NimBLEScan::setActiveScan</a></div><divclass="ttdeci">void setActiveScan(bool active)</div><divclass="ttdoc">Should we perform an active or passive scan? The default is a passive scan. An active scan means that...</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:171</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_aaace4d0b128b6294276347f6790f3f8b"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#aaace4d0b128b6294276347f6790f3f8b">NimBLEScan::setPeriod</a></div><divclass="ttdeci">void setPeriod(uint32_t periodMs)</div><divclass="ttdoc">Set the extended scanning period.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:287</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_aabbf3f1804a844a7db0284ecc2b78408"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#aabbf3f1804a844a7db0284ecc2b78408">NimBLEScan::setDuplicateFilter</a></div><divclass="ttdeci">void setDuplicateFilter(uint8_t enabled)</div><divclass="ttdoc">Set whether or not the BLE controller should only report results from devices it has not already seen...</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:185</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_aad9cd2462d00d7c0fa39d095aa2d8e81"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81">NimBLEScan::setMaxResults</a></div><divclass="ttdeci">void setMaxResults(uint8_t maxResults)</div><divclass="ttdoc">Sets the max number of results to store.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:225</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_ab788ad282fdbf4467302f6ad2d4d6016"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016">NimBLEScan::isScanning</a></div><divclass="ttdeci">bool isScanning()</div><divclass="ttdoc">Get the status of the scanner.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:265</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html_ad421a09eeb021755b193a7a5e01f183b"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b">NimBLEScan::clearResults</a></div><divclass="ttdeci">void clearResults()</div><divclass="ttdoc">Clear the stored results of the scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:470</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_results_html"><divclass="ttname"><ahref="class_nim_b_l_e_scan_results.html">NimBLEScanResults</a></div><divclass="ttdoc">A class that contains and operates on the results of a BLE scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.h:48</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_results_html_a2547ebc0f9f0e1f48346ff0188ed6479"><divclass="ttname"><ahref="class_nim_b_l_e_scan_results.html#a2547ebc0f9f0e1f48346ff0188ed6479">NimBLEScanResults::end</a></div><divclass="ttdeci">std::vector< NimBLEAdvertisedDevice * >::const_iterator end() const</div><divclass="ttdoc">Get iterator to the end of the vector of advertised device pointers.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:516</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_results_html_a59c62c0825917ebb26bcb1efa2a98f4d"><divclass="ttname"><ahref="class_nim_b_l_e_scan_results.html#a59c62c0825917ebb26bcb1efa2a98f4d">NimBLEScanResults::getCount</a></div><divclass="ttdeci">int getCount() const</div><divclass="ttdoc">Get the count of devices found in the last scan.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:490</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_results_html_a5a0b1dc434c4ad68ae5ce233eeacc230"><divclass="ttname"><ahref="class_nim_b_l_e_scan_results.html#a5a0b1dc434c4ad68ae5ce233eeacc230">NimBLEScanResults::begin</a></div><divclass="ttdeci">std::vector< NimBLEAdvertisedDevice * >::const_iterator begin() const</div><divclass="ttdoc">Get iterator to the beginning of the vector of advertised device pointers.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:508</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_results_html_a98b106a3929919bf2c80cc0dfff59ba1"><divclass="ttname"><ahref="class_nim_b_l_e_scan_results.html#a98b106a3929919bf2c80cc0dfff59ba1">NimBLEScanResults::getDevice</a></div><divclass="ttdeci">const NimBLEAdvertisedDevice * getDevice(uint32_t idx) const</div><divclass="ttdoc">Return the specified device at the given index. The index should be between 0 and getCount()-1.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:500</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_results_html_af143b1aa3bd67157dd263fcbeb4827ba"><divclass="ttname"><ahref="class_nim_b_l_e_scan_results.html#af143b1aa3bd67157dd263fcbeb4827ba">NimBLEScanResults::dump</a></div><divclass="ttdeci">void dump() const</div><divclass="ttdoc">Dump the scan results to the log.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.cpp:480</div></div>
<divclass="ttc"id="astruct_nim_b_l_e_task_data_html"><divclass="ttname"><ahref="struct_nim_b_l_e_task_data.html">NimBLETaskData</a></div><divclass="ttdoc">A structure to hold data for a task that is waiting for a response.</div><divclass="ttdef"><b>Definition</b> NimBLEUtils.h:32</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>