2021-08-05 01:02:30 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2024-12-15 00:45:58 +00:00
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
2021-08-05 01:02:30 +00:00
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" />
2024-12-15 00:45:58 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=11" />
< meta name = "generator" content = "Doxygen 1.9.8" />
2021-08-05 01:02:30 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" />
2022-01-15 15:23:57 -07:00
< title > esp-nimble-cpp: NimBLEAdvertisedDevice Class Reference</ title >
2021-08-05 01:02:30 +00:00
< 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 >
2024-12-15 00:45:58 +00:00
< tr id = "projectrow" >
< td id = "projectalign" >
2025-05-19 23:04:49 +00:00
< div id = "projectname" > esp-nimble-cpp< span id = "projectnumber" >   2.3.0</ span >
2021-08-05 01:02:30 +00:00
</ div >
</ td >
</ tr >
</ tbody >
</ table >
</ div >
<!-- end header part -->
2024-12-15 00:45:58 +00:00
<!-- Generated by Doxygen 1.9.8 -->
2021-08-05 01:02:30 +00:00
< script type = "text/javascript" >
2024-12-15 00:45:58 +00:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox ( "searchBox" , "search/" , '.html' );
2021-08-05 01:02:30 +00:00
/* @license-end */
</ script >
< script type = "text/javascript" src = "menudata.js" ></ script >
< script type = "text/javascript" src = "menu.js" ></ script >
< script type = "text/javascript" >
2024-12-15 00:45:58 +00:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
2021-08-05 01:02:30 +00:00
$ ( function () {
initMenu ( '' , true , false , 'search.php' , 'Search' );
$ ( document ). ready ( function () { init_search (); });
});
2024-12-15 00:45:58 +00:00
/* @license-end */
</ script >
2021-08-05 01:02:30 +00:00
< 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" >
2024-12-15 00:45:58 +00:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
2021-08-05 01:02:30 +00:00
$ ( document ). ready ( function (){ initNavTree ( 'class_nim_b_l_e_advertised_device.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" >
2024-12-15 00:45:58 +00:00
< 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 >
2021-08-05 01:02:30 +00:00
</ div >
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions</ a > |
< a href = "class_nim_b_l_e_advertised_device-members.html" > List of all members</ a > </ div >
2024-12-15 00:45:58 +00:00
< div class = "headertitle" >< div class = "title" > NimBLEAdvertisedDevice Class Reference</ div ></ div >
2021-08-05 01:02:30 +00:00
</ div > <!--header-->
< div class = "contents" >
< p > A representation of a BLE advertised device found by a scan.
< a href = "class_nim_b_l_e_advertised_device.html#details" > More...</ a ></ p >
2024-12-15 00:45:58 +00:00
< p >< code > #include < < a class = "el" href = "_nim_b_l_e_advertised_device_8h_source.html" > NimBLEAdvertisedDevice.h</ a > > </ code ></ p >
2021-08-05 01:02:30 +00:00
< table class = "memberdecls" >
2024-12-15 00:45:58 +00:00
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pub-methods" name = "pub-methods" ></ a >
2021-08-05 01:02:30 +00:00
Public Member Functions</ h2 ></ td ></ tr >
2024-12-15 00:45:58 +00:00
< tr class = "memitem:ab348469f8d9325e6bb619dce9bbd4e24" id = "r_ab348469f8d9325e6bb619dce9bbd4e24" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ab348469f8d9325e6bb619dce9bbd4e24" > getAdvType</ a > () const</ td ></ tr >
< tr class = "memdesc:ab348469f8d9325e6bb619dce9bbd4e24" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the advertisement type. < br /></ td ></ tr >
< tr class = "separator:ab348469f8d9325e6bb619dce9bbd4e24" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:acbdfac3f9febbe11d1a1317bc7524810" id = "r_acbdfac3f9febbe11d1a1317bc7524810" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#acbdfac3f9febbe11d1a1317bc7524810" > getAdvFlags</ a > () const</ td ></ tr >
< tr class = "memdesc:acbdfac3f9febbe11d1a1317bc7524810" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the advertisement flags. < br /></ td ></ tr >
< tr class = "separator:acbdfac3f9febbe11d1a1317bc7524810" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a778d8b099f7e006d8e213cf638276a81" id = "r_a778d8b099f7e006d8e213cf638276a81" >< td class = "memItemLeft" align = "right" valign = "top" > uint16_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a778d8b099f7e006d8e213cf638276a81" > getAppearance</ a > () const</ td ></ tr >
< tr class = "memdesc:a778d8b099f7e006d8e213cf638276a81" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the appearance. < br /></ td ></ tr >
< tr class = "separator:a778d8b099f7e006d8e213cf638276a81" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad06e4e81a8d568199d1145f437175749" id = "r_ad06e4e81a8d568199d1145f437175749" >< td class = "memItemLeft" align = "right" valign = "top" > uint16_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ad06e4e81a8d568199d1145f437175749" > getAdvInterval</ a > () const</ td ></ tr >
< tr class = "memdesc:ad06e4e81a8d568199d1145f437175749" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the advertisement interval. < br /></ td ></ tr >
< tr class = "separator:ad06e4e81a8d568199d1145f437175749" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:accf2225a99742fdeb86a1b4738eac164" id = "r_accf2225a99742fdeb86a1b4738eac164" >< td class = "memItemLeft" align = "right" valign = "top" > uint16_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#accf2225a99742fdeb86a1b4738eac164" > getMinInterval</ a > () const</ td ></ tr >
< tr class = "memdesc:accf2225a99742fdeb86a1b4738eac164" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the preferred min connection interval. < br /></ td ></ tr >
< tr class = "separator:accf2225a99742fdeb86a1b4738eac164" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aeef5bef4ba2e1afb5f0a6838ab9762d3" id = "r_aeef5bef4ba2e1afb5f0a6838ab9762d3" >< td class = "memItemLeft" align = "right" valign = "top" > uint16_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#aeef5bef4ba2e1afb5f0a6838ab9762d3" > getMaxInterval</ a > () const</ td ></ tr >
< tr class = "memdesc:aeef5bef4ba2e1afb5f0a6838ab9762d3" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the preferred max connection interval. < br /></ td ></ tr >
< tr class = "separator:aeef5bef4ba2e1afb5f0a6838ab9762d3" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a08c0fb778eedde4c4004410d124799f1" id = "r_a08c0fb778eedde4c4004410d124799f1" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a08c0fb778eedde4c4004410d124799f1" > getManufacturerDataCount</ a > () const</ td ></ tr >
< tr class = "memdesc:a08c0fb778eedde4c4004410d124799f1" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the count of manufacturer data sets. < br /></ td ></ tr >
< tr class = "separator:a08c0fb778eedde4c4004410d124799f1" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:acb3c376962b317b91628fb96ad215923" id = "r_acb3c376962b317b91628fb96ad215923" >< td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "class_nim_b_l_e_address.html" > NimBLEAddress</ a > &  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#acb3c376962b317b91628fb96ad215923" > getAddress</ a > () const</ td ></ tr >
< tr class = "memdesc:acb3c376962b317b91628fb96ad215923" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the address of the advertising device. < br /></ td ></ tr >
< tr class = "separator:acb3c376962b317b91628fb96ad215923" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aaf936703902681e7af785d7b751e68e0" id = "r_aaf936703902681e7af785d7b751e68e0" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#aaf936703902681e7af785d7b751e68e0" > getManufacturerData</ a > (uint8_t index=0) const</ td ></ tr >
< tr class = "memdesc:aaf936703902681e7af785d7b751e68e0" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the manufacturer data. < br /></ td ></ tr >
< tr class = "separator:aaf936703902681e7af785d7b751e68e0" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a56d07a328ebdea4112087dc02dac4fc2" id = "r_a56d07a328ebdea4112087dc02dac4fc2" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a56d07a328ebdea4112087dc02dac4fc2" > getURI</ a > () const</ td ></ tr >
< tr class = "memdesc:a56d07a328ebdea4112087dc02dac4fc2" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the URI from the advertisement. < br /></ td ></ tr >
< tr class = "separator:a56d07a328ebdea4112087dc02dac4fc2" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a74be6cf94bbc2e69d04de25a37d28153" id = "r_a74be6cf94bbc2e69d04de25a37d28153" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a74be6cf94bbc2e69d04de25a37d28153" > getPayloadByType</ a > (uint16_t type, uint8_t index=0) const</ td ></ tr >
< tr class = "memdesc:a74be6cf94bbc2e69d04de25a37d28153" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the data from any type available in the advertisement. < br /></ td ></ tr >
< tr class = "separator:a74be6cf94bbc2e69d04de25a37d28153" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:acf7ec676680fd4eb800b85779a220b67" id = "r_acf7ec676680fd4eb800b85779a220b67" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#acf7ec676680fd4eb800b85779a220b67" > getName</ a > () const</ td ></ tr >
< tr class = "memdesc:acf7ec676680fd4eb800b85779a220b67" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the advertised name. < br /></ td ></ tr >
< tr class = "separator:acf7ec676680fd4eb800b85779a220b67" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a749abe7ac0331c0c0f80bc145591a392" id = "r_a749abe7ac0331c0c0f80bc145591a392" >< td class = "memItemLeft" align = "right" valign = "top" > int8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392" > getRSSI</ a > () const</ td ></ tr >
< tr class = "memdesc:a749abe7ac0331c0c0f80bc145591a392" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the RSSI. < br /></ td ></ tr >
< tr class = "separator:a749abe7ac0331c0c0f80bc145591a392" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a29f6e671bffb6d431d183a63074709b3" id = "r_a29f6e671bffb6d431d183a63074709b3" >< td class = "memItemLeft" align = "right" valign = "top" >< a class = "el" href = "class_nim_b_l_e_scan.html" > NimBLEScan</ a > *  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a29f6e671bffb6d431d183a63074709b3" > getScan</ a > () const</ td ></ tr >
< tr class = "memdesc:a29f6e671bffb6d431d183a63074709b3" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the scan object that created this advertised device. < br /></ td ></ tr >
< tr class = "separator:a29f6e671bffb6d431d183a63074709b3" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a99d902853af4e0d5d3b7c7222f11eba0" id = "r_a99d902853af4e0d5d3b7c7222f11eba0" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a99d902853af4e0d5d3b7c7222f11eba0" > getServiceDataCount</ a > () const</ td ></ tr >
< tr class = "memdesc:a99d902853af4e0d5d3b7c7222f11eba0" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the count of advertised service data UUIDS. < br /></ td ></ tr >
< tr class = "separator:a99d902853af4e0d5d3b7c7222f11eba0" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a94ac18b573bace31613339e573076a70" id = "r_a94ac18b573bace31613339e573076a70" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a94ac18b573bace31613339e573076a70" > getServiceData</ a > (uint8_t index=0) const</ td ></ tr >
< tr class = "memdesc:a94ac18b573bace31613339e573076a70" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the service data. < br /></ td ></ tr >
< tr class = "separator:a94ac18b573bace31613339e573076a70" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:adc0e859c8403906c12196906b3c514c8" id = "r_adc0e859c8403906c12196906b3c514c8" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#adc0e859c8403906c12196906b3c514c8" > getServiceData</ a > (const < a class = "el" href = "class_nim_b_l_e_u_u_i_d.html" > NimBLEUUID</ a > & uuid) const</ td ></ tr >
< tr class = "memdesc:adc0e859c8403906c12196906b3c514c8" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the service data. < br /></ td ></ tr >
< tr class = "separator:adc0e859c8403906c12196906b3c514c8" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a52fff852e23293d807a6719527eceff2" id = "r_a52fff852e23293d807a6719527eceff2" >< 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_advertised_device.html#a52fff852e23293d807a6719527eceff2" > getServiceDataUUID</ a > (uint8_t index=0) const</ td ></ tr >
< tr class = "memdesc:a52fff852e23293d807a6719527eceff2" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the UUID of the service data at the index. < br /></ td ></ tr >
< tr class = "separator:a52fff852e23293d807a6719527eceff2" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ae44d13d47f80ed0499be7d84239f7ecb" id = "r_ae44d13d47f80ed0499be7d84239f7ecb" >< 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_advertised_device.html#ae44d13d47f80ed0499be7d84239f7ecb" > getServiceUUID</ a > (uint8_t index=0) const</ td ></ tr >
< tr class = "memdesc:ae44d13d47f80ed0499be7d84239f7ecb" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the Service UUID. < br /></ td ></ tr >
< tr class = "separator:ae44d13d47f80ed0499be7d84239f7ecb" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:adbdb381a86c556344e676a1e4e654d9f" id = "r_adbdb381a86c556344e676a1e4e654d9f" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#adbdb381a86c556344e676a1e4e654d9f" > getServiceUUIDCount</ a > () const</ td ></ tr >
< tr class = "memdesc:adbdb381a86c556344e676a1e4e654d9f" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the number of services advertised. < br /></ td ></ tr >
< tr class = "separator:adbdb381a86c556344e676a1e4e654d9f" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:af51c0ff723dcb7bb1bc03460a9f0a25b" id = "r_af51c0ff723dcb7bb1bc03460a9f0a25b" >< td class = "memItemLeft" align = "right" valign = "top" >< a class = "el" href = "class_nim_b_l_e_address.html" > NimBLEAddress</ a >   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#af51c0ff723dcb7bb1bc03460a9f0a25b" > getTargetAddress</ a > (uint8_t index=0) const</ td ></ tr >
< tr class = "memdesc:af51c0ff723dcb7bb1bc03460a9f0a25b" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the target address at the index. < br /></ td ></ tr >
< tr class = "separator:af51c0ff723dcb7bb1bc03460a9f0a25b" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a16738b3a745d29edff39bb4bbf4dfb28" id = "r_a16738b3a745d29edff39bb4bbf4dfb28" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a16738b3a745d29edff39bb4bbf4dfb28" > getTargetAddressCount</ a > () const</ td ></ tr >
< tr class = "memdesc:a16738b3a745d29edff39bb4bbf4dfb28" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the number of target addresses. < br /></ td ></ tr >
< tr class = "separator:a16738b3a745d29edff39bb4bbf4dfb28" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a47b8224e031fd6ab5db93b457ec35b33" id = "r_a47b8224e031fd6ab5db93b457ec35b33" >< td class = "memItemLeft" align = "right" valign = "top" > int8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a47b8224e031fd6ab5db93b457ec35b33" > getTXPower</ a > () const</ td ></ tr >
< tr class = "memdesc:a47b8224e031fd6ab5db93b457ec35b33" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the TX Power. < br /></ td ></ tr >
< tr class = "separator:a47b8224e031fd6ab5db93b457ec35b33" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:afb7a089c220e4987852ea1d7a0b5dca4" id = "r_afb7a089c220e4987852ea1d7a0b5dca4" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#afb7a089c220e4987852ea1d7a0b5dca4" > getAdvLength</ a > () const</ td ></ tr >
< tr class = "memdesc:afb7a089c220e4987852ea1d7a0b5dca4" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the length of the advertisement data in the payload. < br /></ td ></ tr >
< tr class = "separator:afb7a089c220e4987852ea1d7a0b5dca4" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a455ebaf550d1e7e025ada171cb611503" id = "r_a455ebaf550d1e7e025ada171cb611503" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a455ebaf550d1e7e025ada171cb611503" > getAddressType</ a > () const</ td ></ tr >
< tr class = "memdesc:a455ebaf550d1e7e025ada171cb611503" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the advertised device address type. < br /></ td ></ tr >
< tr class = "separator:a455ebaf550d1e7e025ada171cb611503" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad006b08552281a3e6c9d9444e7942709" id = "r_ad006b08552281a3e6c9d9444e7942709" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ad006b08552281a3e6c9d9444e7942709" > isAdvertisingService</ a > (const < a class = "el" href = "class_nim_b_l_e_u_u_i_d.html" > NimBLEUUID</ a > & uuid) const</ td ></ tr >
< tr class = "memdesc:ad006b08552281a3e6c9d9444e7942709" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Check advertised services for existence of the required UUID. < br /></ td ></ tr >
< tr class = "separator:ad006b08552281a3e6c9d9444e7942709" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a89e65eba150a40326fe1c12f2be9fbea" id = "r_a89e65eba150a40326fe1c12f2be9fbea" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a89e65eba150a40326fe1c12f2be9fbea" > haveAppearance</ a > () const</ td ></ tr >
< tr class = "memdesc:a89e65eba150a40326fe1c12f2be9fbea" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have an appearance value? < br /></ td ></ tr >
< tr class = "separator:a89e65eba150a40326fe1c12f2be9fbea" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad68b1b03f59266f4aac9070e5e33d15f" id = "r_ad68b1b03f59266f4aac9070e5e33d15f" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ad68b1b03f59266f4aac9070e5e33d15f" > haveManufacturerData</ a > () const</ td ></ tr >
< tr class = "memdesc:ad68b1b03f59266f4aac9070e5e33d15f" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have manufacturer data? < br /></ td ></ tr >
< tr class = "separator:ad68b1b03f59266f4aac9070e5e33d15f" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aefa0142915204ace20ecb56a539396a2" id = "r_aefa0142915204ace20ecb56a539396a2" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#aefa0142915204ace20ecb56a539396a2" > haveName</ a > () const</ td ></ tr >
< tr class = "memdesc:aefa0142915204ace20ecb56a539396a2" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have a name value? < br /></ td ></ tr >
< tr class = "separator:aefa0142915204ace20ecb56a539396a2" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ab91aaf87b4bd03a6599f466b1a6c3299" id = "r_ab91aaf87b4bd03a6599f466b1a6c3299" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ab91aaf87b4bd03a6599f466b1a6c3299" > haveServiceData</ a > () const</ td ></ tr >
< tr class = "memdesc:ab91aaf87b4bd03a6599f466b1a6c3299" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have a service data value? < br /></ td ></ tr >
< tr class = "separator:ab91aaf87b4bd03a6599f466b1a6c3299" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a1e61faae3ba0bdbb1bc197d1ca113f61" id = "r_a1e61faae3ba0bdbb1bc197d1ca113f61" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a1e61faae3ba0bdbb1bc197d1ca113f61" > haveServiceUUID</ a > () const</ td ></ tr >
< tr class = "memdesc:a1e61faae3ba0bdbb1bc197d1ca113f61" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have a service UUID value? < br /></ td ></ tr >
< tr class = "separator:a1e61faae3ba0bdbb1bc197d1ca113f61" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:afde2edb305d4d78804b4750d1bc7aa38" id = "r_afde2edb305d4d78804b4750d1bc7aa38" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#afde2edb305d4d78804b4750d1bc7aa38" > haveTXPower</ a > () const</ td ></ tr >
< tr class = "memdesc:afde2edb305d4d78804b4750d1bc7aa38" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have a transmission power value? < br /></ td ></ tr >
< tr class = "separator:afde2edb305d4d78804b4750d1bc7aa38" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a6bb91e0c3b66a54ef9f53496fba1d748" id = "r_a6bb91e0c3b66a54ef9f53496fba1d748" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a6bb91e0c3b66a54ef9f53496fba1d748" > haveConnParams</ a > () const</ td ></ tr >
< tr class = "memdesc:a6bb91e0c3b66a54ef9f53496fba1d748" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have preferred connection parameters? < br /></ td ></ tr >
< tr class = "separator:a6bb91e0c3b66a54ef9f53496fba1d748" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a9b6ff6bd4e530dc9b5c76f9333d4420f" id = "r_a9b6ff6bd4e530dc9b5c76f9333d4420f" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a9b6ff6bd4e530dc9b5c76f9333d4420f" > haveAdvInterval</ a > () const</ td ></ tr >
< tr class = "memdesc:a9b6ff6bd4e530dc9b5c76f9333d4420f" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have have the advertising interval? < br /></ td ></ tr >
< tr class = "separator:a9b6ff6bd4e530dc9b5c76f9333d4420f" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a6e7a4b9be93386e393addaa4a732e516" id = "r_a6e7a4b9be93386e393addaa4a732e516" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a6e7a4b9be93386e393addaa4a732e516" > haveTargetAddress</ a > () const</ td ></ tr >
< tr class = "memdesc:a6e7a4b9be93386e393addaa4a732e516" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does the advertisement contain a target address? < br /></ td ></ tr >
< tr class = "separator:a6e7a4b9be93386e393addaa4a732e516" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a2e127b14ea79ebe88d291d7c8cc91b5a" id = "r_a2e127b14ea79ebe88d291d7c8cc91b5a" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a2e127b14ea79ebe88d291d7c8cc91b5a" > haveURI</ a > () const</ td ></ tr >
< tr class = "memdesc:a2e127b14ea79ebe88d291d7c8cc91b5a" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have a URI? < br /></ td ></ tr >
< tr class = "separator:a2e127b14ea79ebe88d291d7c8cc91b5a" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a8f4fc5c352487f816598796fb5430865" id = "r_a8f4fc5c352487f816598796fb5430865" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a8f4fc5c352487f816598796fb5430865" > haveType</ a > (uint16_t type) const</ td ></ tr >
< tr class = "memdesc:a8f4fc5c352487f816598796fb5430865" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Does this advertisement have a adv type < code > type</ code > ? < br /></ td ></ tr >
< tr class = "separator:a8f4fc5c352487f816598796fb5430865" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad46b9300d435e3d20997fbafa5305148" id = "r_ad46b9300d435e3d20997fbafa5305148" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ad46b9300d435e3d20997fbafa5305148" > toString</ a > () const</ td ></ tr >
< tr class = "memdesc:ad46b9300d435e3d20997fbafa5305148" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Create a string representation of this device. < br /></ td ></ tr >
< tr class = "separator:ad46b9300d435e3d20997fbafa5305148" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ab9710a6c3a141b6413d5159dfe4a4040" id = "r_ab9710a6c3a141b6413d5159dfe4a4040" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ab9710a6c3a141b6413d5159dfe4a4040" > isConnectable</ a > () const</ td ></ tr >
< tr class = "memdesc:ab9710a6c3a141b6413d5159dfe4a4040" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Check if this device is advertising as connectable. < br /></ td ></ tr >
< tr class = "separator:ab9710a6c3a141b6413d5159dfe4a4040" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a6f55263d4a86d3e2f6b23b71eb68ef98" id = "r_a6f55263d4a86d3e2f6b23b71eb68ef98" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a6f55263d4a86d3e2f6b23b71eb68ef98" > isScannable</ a > () const</ td ></ tr >
< tr class = "memdesc:a6f55263d4a86d3e2f6b23b71eb68ef98" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Check if this device is advertising as scannable. < br /></ td ></ tr >
< tr class = "separator:a6f55263d4a86d3e2f6b23b71eb68ef98" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a49b445130f028b49175d01cd3f6db050" id = "r_a49b445130f028b49175d01cd3f6db050" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a49b445130f028b49175d01cd3f6db050" > isLegacyAdvertisement</ a > () const</ td ></ tr >
< tr class = "memdesc:a49b445130f028b49175d01cd3f6db050" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Check if this advertisement is a legacy or extended type. < br /></ td ></ tr >
< tr class = "separator:a49b445130f028b49175d01cd3f6db050" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad7313053fa990a9aa8f4bc832f35ee13" id = "r_ad7313053fa990a9aa8f4bc832f35ee13" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ad7313053fa990a9aa8f4bc832f35ee13" > getSetId</ a > () const</ td ></ tr >
< tr class = "memdesc:ad7313053fa990a9aa8f4bc832f35ee13" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the set ID of the extended advertisement. < br /></ td ></ tr >
< tr class = "separator:ad7313053fa990a9aa8f4bc832f35ee13" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a927a8418e4078107e5bf457c0bb56cbc" id = "r_a927a8418e4078107e5bf457c0bb56cbc" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a927a8418e4078107e5bf457c0bb56cbc" > getPrimaryPhy</ a > () const</ td ></ tr >
< tr class = "memdesc:a927a8418e4078107e5bf457c0bb56cbc" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the primary PHY used by this advertisement. < br /></ td ></ tr >
< tr class = "separator:a927a8418e4078107e5bf457c0bb56cbc" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a4738e8e37b3509f62b63afb592c9b73e" id = "r_a4738e8e37b3509f62b63afb592c9b73e" >< td class = "memItemLeft" align = "right" valign = "top" > uint8_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a4738e8e37b3509f62b63afb592c9b73e" > getSecondaryPhy</ a > () const</ td ></ tr >
< tr class = "memdesc:a4738e8e37b3509f62b63afb592c9b73e" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the primary PHY used by this advertisement. < br /></ td ></ tr >
< tr class = "separator:a4738e8e37b3509f62b63afb592c9b73e" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a899abd2a02e0c9bf941a998f4184a9ee" id = "r_a899abd2a02e0c9bf941a998f4184a9ee" >< td class = "memItemLeft" align = "right" valign = "top" > uint16_t  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a899abd2a02e0c9bf941a998f4184a9ee" > getPeriodicInterval</ a > () const</ td ></ tr >
< tr class = "memdesc:a899abd2a02e0c9bf941a998f4184a9ee" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the periodic interval of the advertisement. < br /></ td ></ tr >
< tr class = "separator:a899abd2a02e0c9bf941a998f4184a9ee" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
2025-02-25 00:55:48 +00:00
< tr class = "memitem:a0e36b522584f14687657cd29739c491b" id = "r_a0e36b522584f14687657cd29739c491b" >< td class = "memItemLeft" align = "right" valign = "top" >   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a0e36b522584f14687657cd29739c491b" > operator NimBLEAddress</ a > () const</ td ></ tr >
< tr class = "memdesc:a0e36b522584f14687657cd29739c491b" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Convenience operator to convert this < a class = "el" href = "class_nim_b_l_e_advertised_device.html" title = "A representation of a BLE advertised device found by a scan." > NimBLEAdvertisedDevice</ a > to < a class = "el" href = "class_nim_b_l_e_address.html" title = "A BLE device address." > NimBLEAddress</ a > representation. < br /></ td ></ tr >
< tr class = "separator:a0e36b522584f14687657cd29739c491b" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
2024-12-15 00:45:58 +00:00
< tr class = "memitem:a12971984cf749647c659b659bdfeda5d" id = "r_a12971984cf749647c659b659bdfeda5d" >< td class = "memItemLeft" align = "right" valign = "top" > const std::vector< uint8_t > &  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a12971984cf749647c659b659bdfeda5d" > getPayload</ a > () const</ td ></ tr >
< tr class = "memdesc:a12971984cf749647c659b659bdfeda5d" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the payload advertised by the device. < br /></ td ></ tr >
< tr class = "separator:a12971984cf749647c659b659bdfeda5d" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aabb14f9df146ebe6fb50d74a4ec8a878" id = "r_aabb14f9df146ebe6fb50d74a4ec8a878" >< td class = "memItemLeft" align = "right" valign = "top" > const std::vector< uint8_t > ::const_iterator  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#aabb14f9df146ebe6fb50d74a4ec8a878" > begin</ a > () const</ td ></ tr >
< tr class = "memdesc:aabb14f9df146ebe6fb50d74a4ec8a878" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the begin iterator for the payload. < br /></ td ></ tr >
< tr class = "separator:aabb14f9df146ebe6fb50d74a4ec8a878" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a8530d1dfdb57cb2f9fc9a917f12797e6" id = "r_a8530d1dfdb57cb2f9fc9a917f12797e6" >< td class = "memItemLeft" align = "right" valign = "top" > const std::vector< uint8_t > ::const_iterator  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a8530d1dfdb57cb2f9fc9a917f12797e6" > end</ a > () const</ td ></ tr >
< tr class = "memdesc:a8530d1dfdb57cb2f9fc9a917f12797e6" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > Get the end iterator for the payload. < br /></ td ></ tr >
< tr class = "separator:a8530d1dfdb57cb2f9fc9a917f12797e6" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a3ce52d33ea39b9c8b6b96cc19a2a3170" id = "r_a3ce52d33ea39b9c8b6b96cc19a2a3170" >< td class = "memTemplParams" colspan = "2" > template< typename T > </ td ></ tr >
< tr class = "memitem:a3ce52d33ea39b9c8b6b96cc19a2a3170" >< td class = "memTemplItemLeft" align = "right" valign = "top" > T  </ td >< td class = "memTemplItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a3ce52d33ea39b9c8b6b96cc19a2a3170" > getManufacturerData</ a > (bool skipSizeCheck=false) const</ td ></ tr >
< tr class = "memdesc:a3ce52d33ea39b9c8b6b96cc19a2a3170" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > A template to convert the service data to < type> . < br /></ td ></ tr >
< tr class = "separator:a3ce52d33ea39b9c8b6b96cc19a2a3170" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a2c0a851fe464217ae7ace84148d8849a" id = "r_a2c0a851fe464217ae7ace84148d8849a" >< td class = "memTemplParams" colspan = "2" > template< typename T > </ td ></ tr >
< tr class = "memitem:a2c0a851fe464217ae7ace84148d8849a" >< td class = "memTemplItemLeft" align = "right" valign = "top" > T  </ td >< td class = "memTemplItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#a2c0a851fe464217ae7ace84148d8849a" > getServiceData</ a > (uint8_t index=0, bool skipSizeCheck=false) const</ td ></ tr >
< tr class = "memdesc:a2c0a851fe464217ae7ace84148d8849a" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > A template to convert the service data to < code > < type> </ code > . < br /></ td ></ tr >
< tr class = "separator:a2c0a851fe464217ae7ace84148d8849a" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ae1c188511703f101eaa3995c7b4a5aac" id = "r_ae1c188511703f101eaa3995c7b4a5aac" >< td class = "memTemplParams" colspan = "2" > template< typename T > </ td ></ tr >
< tr class = "memitem:ae1c188511703f101eaa3995c7b4a5aac" >< td class = "memTemplItemLeft" align = "right" valign = "top" > T  </ td >< td class = "memTemplItemRight" valign = "bottom" >< a class = "el" href = "class_nim_b_l_e_advertised_device.html#ae1c188511703f101eaa3995c7b4a5aac" > getServiceData</ a > (const < a class = "el" href = "class_nim_b_l_e_u_u_i_d.html" > NimBLEUUID</ a > & uuid, bool skipSizeCheck=false) const</ td ></ tr >
< tr class = "memdesc:ae1c188511703f101eaa3995c7b4a5aac" >< td class = "mdescLeft" >   </ td >< td class = "mdescRight" > A template to convert the service data to < code > < type> </ code > . < br /></ td ></ tr >
< tr class = "separator:ae1c188511703f101eaa3995c7b4a5aac" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
2021-08-05 01:02:30 +00:00
</ table >
< a name = "details" id = "details" ></ a >< h2 class = "groupheader" > Detailed Description</ h2 >
< div class = "textblock" >< p > A representation of a BLE advertised device found by a scan. </ p >
< p > When we perform a BLE scan, the result will be a set of devices that are advertising. This class provides a model of a detected device. </ p >
</ div >< h2 class = "groupheader" > Member Function Documentation</ h2 >
2024-12-15 00:45:58 +00:00
< a id = "aabb14f9df146ebe6fb50d74a4ec8a878" name = "aabb14f9df146ebe6fb50d74a4ec8a878" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aabb14f9df146ebe6fb50d74a4ec8a878" > ◆  </ a ></ span > begin()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-12-15 00:45:58 +00:00
< td class = "memname" > const std::vector< uint8_t > ::const_iterator NimBLEAdvertisedDevice::begin </ td >
2021-08-05 01:02:30 +00:00
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the begin iterator for the payload. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > A read only iterator pointing to the first byte in the payload. </ dd ></ dl >
</ div >
</ div >
< a id = "a8530d1dfdb57cb2f9fc9a917f12797e6" name = "a8530d1dfdb57cb2f9fc9a917f12797e6" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a8530d1dfdb57cb2f9fc9a917f12797e6" > ◆  </ a ></ span > end()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::vector< uint8_t > ::const_iterator NimBLEAdvertisedDevice::end </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the end iterator for the payload. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > A read only iterator pointing to one past the last byte of the payload. </ dd ></ dl >
</ div >
</ div >
< a id = "acb3c376962b317b91628fb96ad215923" name = "acb3c376962b317b91628fb96ad215923" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#acb3c376962b317b91628fb96ad215923" > ◆  </ a ></ span > getAddress()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const < a class = "el" href = "class_nim_b_l_e_address.html" > NimBLEAddress</ a > & NimBLEAdvertisedDevice::getAddress </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the address of the advertising device. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The address of the advertised device. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a455ebaf550d1e7e025ada171cb611503" name = "a455ebaf550d1e7e025ada171cb611503" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a455ebaf550d1e7e025ada171cb611503" > ◆  </ a ></ span > getAddressType()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getAddressType </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the advertised device address type. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The device address type:< ul >
< li > BLE_ADDR_PUBLIC (0x00)</ li >
< li > BLE_ADDR_RANDOM (0x01)</ li >
< li > BLE_ADDR_PUBLIC_ID (0x02)</ li >
< li > BLE_ADDR_RANDOM_ID (0x03) </ li >
</ ul >
</ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "acbdfac3f9febbe11d1a1317bc7524810" name = "acbdfac3f9febbe11d1a1317bc7524810" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#acbdfac3f9febbe11d1a1317bc7524810" > ◆  </ a ></ span > getAdvFlags()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getAdvFlags </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the advertisement flags. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The advertisement flags, a bitmask of: BLE_HS_ADV_F_DISC_LTD (0x01) - limited discoverability BLE_HS_ADV_F_DISC_GEN (0x02) - general discoverability BLE_HS_ADV_F_BREDR_UNSUP - BR/EDR not supported </ dd ></ dl >
</ div >
</ div >
< a id = "ad06e4e81a8d568199d1145f437175749" name = "ad06e4e81a8d568199d1145f437175749" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad06e4e81a8d568199d1145f437175749" > ◆  </ a ></ span > getAdvInterval()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16_t NimBLEAdvertisedDevice::getAdvInterval </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the advertisement interval. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The advertisement interval in 0.625ms units. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "afb7a089c220e4987852ea1d7a0b5dca4" name = "afb7a089c220e4987852ea1d7a0b5dca4" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#afb7a089c220e4987852ea1d7a0b5dca4" > ◆  </ a ></ span > getAdvLength()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getAdvLength </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the length of the advertisement data in the payload. </ p >
2022-07-31 11:38:16 -06:00
< dl class = "section return" >< dt > Returns</ dt >< dd > The number of bytes in the payload that is from the advertisement. </ dd ></ dl >
2021-08-05 01:02:30 +00:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ab348469f8d9325e6bb619dce9bbd4e24" name = "ab348469f8d9325e6bb619dce9bbd4e24" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ab348469f8d9325e6bb619dce9bbd4e24" > ◆  </ a ></ span > getAdvType()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getAdvType </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the advertisement type. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The advertising type the device is reporting:< ul >
< li > BLE_HCI_ADV_TYPE_ADV_IND (0) - indirect advertising</ li >
2022-07-31 11:38:16 -06:00
< li > BLE_HCI_ADV_TYPE_ADV_DIRECT_IND_HD (1) - direct advertising - high duty cycle</ li >
2021-08-05 01:02:30 +00:00
< li > BLE_HCI_ADV_TYPE_ADV_SCAN_IND (2) - indirect scan response</ li >
2022-07-31 11:38:16 -06:00
< li > BLE_HCI_ADV_TYPE_ADV_NONCONN_IND (3) - indirect advertising - not connectable</ li >
2021-08-05 01:02:30 +00:00
< li > BLE_HCI_ADV_TYPE_ADV_DIRECT_IND_LD (4) - direct advertising - low duty cycle </ li >
</ ul >
</ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a778d8b099f7e006d8e213cf638276a81" name = "a778d8b099f7e006d8e213cf638276a81" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a778d8b099f7e006d8e213cf638276a81" > ◆  </ a ></ span > getAppearance()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16_t NimBLEAdvertisedDevice::getAppearance </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the appearance. </ p >
2022-07-31 11:38:16 -06:00
< p > A BLE device can declare its own appearance. The appearance is how it would like to be shown to an end user typically in the form of an icon.</ p >
2021-08-05 01:02:30 +00:00
< dl class = "section return" >< dt > Returns</ dt >< dd > The appearance of the advertised device. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a3ce52d33ea39b9c8b6b96cc19a2a3170" name = "a3ce52d33ea39b9c8b6b96cc19a2a3170" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a3ce52d33ea39b9c8b6b96cc19a2a3170" > ◆  </ a ></ span > getManufacturerData() < span class = "overload" > [1/2]</ span ></ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T > </ div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > T NimBLEAdvertisedDevice::getManufacturerData </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > skipSizeCheck</ em > = < code > false</ code ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > A template to convert the service data to < type> . </ p >
< dl class = "tparams" >< dt > Template Parameters</ dt >< dd >
< table class = "tparams" >
< tr >< td class = "paramname" > T</ td >< td > The type to convert the data to. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > skipSizeCheck</ td >< td > If true it will skip checking if the data size is less than < code > sizeof(< type> )</ code > . </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The data converted to < type> or NULL if skipSizeCheck is false and the data is less than < code > sizeof(< type> )</ code > .</ dd ></ dl >
< p >< b > Use:</ b > < code > getManufacturerData< type> (skipSizeCheck);</ code > </ p >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "aaf936703902681e7af785d7b751e68e0" name = "aaf936703902681e7af785d7b751e68e0" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aaf936703902681e7af785d7b751e68e0" > ◆  </ a ></ span > getManufacturerData() < span class = "overload" > [2/2]</ span ></ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string NimBLEAdvertisedDevice::getManufacturerData </ td >
< td > (</ td >
< td class = "paramtype" > uint8_t  </ td >
< td class = "paramname" >< em > index</ em > = < code > 0</ code ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the manufacturer data. </ p >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > index</ td >< td > The index of the of the manufacturer data set to get. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The manufacturer data. </ dd ></ dl >
</ div >
</ div >
< a id = "a08c0fb778eedde4c4004410d124799f1" name = "a08c0fb778eedde4c4004410d124799f1" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a08c0fb778eedde4c4004410d124799f1" > ◆  </ a ></ span > getManufacturerDataCount()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getManufacturerDataCount </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the count of manufacturer data sets. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The number of manufacturer data sets. </ dd ></ dl >
</ div >
</ div >
< a id = "aeef5bef4ba2e1afb5f0a6838ab9762d3" name = "aeef5bef4ba2e1afb5f0a6838ab9762d3" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aeef5bef4ba2e1afb5f0a6838ab9762d3" > ◆  </ a ></ span > getMaxInterval()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16_t NimBLEAdvertisedDevice::getMaxInterval </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the preferred max connection interval. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The preferred max connection interval in 1.25ms units. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "accf2225a99742fdeb86a1b4738eac164" name = "accf2225a99742fdeb86a1b4738eac164" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#accf2225a99742fdeb86a1b4738eac164" > ◆  </ a ></ span > getMinInterval()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16_t NimBLEAdvertisedDevice::getMinInterval </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the preferred min connection interval. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The preferred min connection interval in 1.25ms units. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "acf7ec676680fd4eb800b85779a220b67" name = "acf7ec676680fd4eb800b85779a220b67" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#acf7ec676680fd4eb800b85779a220b67" > ◆  </ a ></ span > getName()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string NimBLEAdvertisedDevice::getName </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the advertised name. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The name of the advertised device. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a12971984cf749647c659b659bdfeda5d" name = "a12971984cf749647c659b659bdfeda5d" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a12971984cf749647c659b659bdfeda5d" > ◆  </ a ></ span > getPayload()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-12-15 00:45:58 +00:00
< td class = "memname" > const std::vector< uint8_t > & NimBLEAdvertisedDevice::getPayload </ td >
2021-08-05 01:02:30 +00:00
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the payload advertised by the device. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The advertisement payload. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a74be6cf94bbc2e69d04de25a37d28153" name = "a74be6cf94bbc2e69d04de25a37d28153" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a74be6cf94bbc2e69d04de25a37d28153" > ◆  </ a ></ span > getPayloadByType()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-12-15 00:45:58 +00:00
< td class = "memname" > std::string NimBLEAdvertisedDevice::getPayloadByType </ td >
2021-08-05 01:02:30 +00:00
< td > (</ td >
2024-12-15 00:45:58 +00:00
< td class = "paramtype" > uint16_t  </ td >
< td class = "paramname" >< em > type</ em > , </ td >
</ tr >
< tr >
< td class = "paramkey" ></ td >
2021-08-05 01:02:30 +00:00
< td ></ td >
2024-12-15 00:45:58 +00:00
< td class = "paramtype" > uint8_t  </ td >
< td class = "paramname" >< em > index</ em > = < code > 0</ code >   </ td >
</ tr >
< tr >
< td ></ td >
< td > )</ td >
< td ></ td >< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
2024-12-15 00:45:58 +00:00
< p > Get the data from any type available in the advertisement. </ p >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > type</ td >< td > The advertised data type BLE_HS_ADV_TYPE. </ td ></ tr >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > index</ td >< td > The index of the data type. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The data available under the type < code > type</ code > . </ dd ></ dl >
2021-08-05 01:02:30 +00:00
2022-07-31 11:38:16 -06:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a899abd2a02e0c9bf941a998f4184a9ee" name = "a899abd2a02e0c9bf941a998f4184a9ee" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a899abd2a02e0c9bf941a998f4184a9ee" > ◆  </ a ></ span > getPeriodicInterval()</ h2 >
2022-07-31 11:38:16 -06:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16_t NimBLEAdvertisedDevice::getPeriodicInterval </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2022-07-31 11:38:16 -06:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the periodic interval of the advertisement. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The periodic advertising interval, 0 if not periodic advertising. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a927a8418e4078107e5bf457c0bb56cbc" name = "a927a8418e4078107e5bf457c0bb56cbc" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a927a8418e4078107e5bf457c0bb56cbc" > ◆  </ a ></ span > getPrimaryPhy()</ h2 >
2022-07-31 11:38:16 -06:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getPrimaryPhy </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2022-07-31 11:38:16 -06:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the primary PHY used by this advertisement. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The PHY type, one of:< ul >
< li > BLE_HCI_LE_PHY_1M</ li >
< li > BLE_HCI_LE_PHY_CODED </ li >
</ ul >
</ dd ></ dl >
2021-08-05 01:02:30 +00:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a749abe7ac0331c0c0f80bc145591a392" name = "a749abe7ac0331c0c0f80bc145591a392" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a749abe7ac0331c0c0f80bc145591a392" > ◆  </ a ></ span > getRSSI()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-12-15 00:45:58 +00:00
< td class = "memname" > int8_t NimBLEAdvertisedDevice::getRSSI </ td >
2021-08-05 01:02:30 +00:00
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the RSSI. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The RSSI of the advertised device. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a29f6e671bffb6d431d183a63074709b3" name = "a29f6e671bffb6d431d183a63074709b3" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a29f6e671bffb6d431d183a63074709b3" > ◆  </ a ></ span > getScan()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" >< a class = "el" href = "class_nim_b_l_e_scan.html" > NimBLEScan</ a > * NimBLEAdvertisedDevice::getScan </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the scan object that created this advertised device. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The scan object. </ dd ></ dl >
2022-07-31 11:38:16 -06:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a4738e8e37b3509f62b63afb592c9b73e" name = "a4738e8e37b3509f62b63afb592c9b73e" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a4738e8e37b3509f62b63afb592c9b73e" > ◆  </ a ></ span > getSecondaryPhy()</ h2 >
2022-07-31 11:38:16 -06:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getSecondaryPhy </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2022-07-31 11:38:16 -06:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the primary PHY used by this advertisement. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The PHY type, one of:< ul >
< li > BLE_HCI_LE_PHY_1M</ li >
< li > BLE_HCI_LE_PHY_2M</ li >
< li > BLE_HCI_LE_PHY_CODED </ li >
</ ul >
</ dd ></ dl >
2021-08-05 01:02:30 +00:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "adc0e859c8403906c12196906b3c514c8" name = "adc0e859c8403906c12196906b3c514c8" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#adc0e859c8403906c12196906b3c514c8" > ◆  </ a ></ span > getServiceData() < span class = "overload" > [1/4]</ span ></ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string NimBLEAdvertisedDevice::getServiceData </ 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 >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the service data. </ p >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > uuid</ td >< td > The uuid of the service data requested. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The advertised service data or empty string if no data. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ae1c188511703f101eaa3995c7b4a5aac" name = "ae1c188511703f101eaa3995c7b4a5aac" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ae1c188511703f101eaa3995c7b4a5aac" > ◆  </ a ></ span > getServiceData() < span class = "overload" > [2/4]</ span ></ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T > </ div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > T NimBLEAdvertisedDevice::getServiceData </ 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 >
</ tr >
< tr >
< td class = "paramkey" ></ td >
< td ></ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > skipSizeCheck</ em > = < code > false</ code >   </ td >
</ tr >
< tr >
< td ></ td >
< td > )</ td >
2024-12-15 00:45:58 +00:00
< td ></ td >< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > A template to convert the service data to < code > < type> </ code > . </ p >
< dl class = "tparams" >< dt > Template Parameters</ dt >< dd >
< table class = "tparams" >
< tr >< td class = "paramname" > T</ td >< td > The type to convert the data to. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > uuid</ td >< td > The uuid of the service data requested. </ td ></ tr >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > skipSizeCheck</ td >< td > If true it will skip checking if the data size is less than < code > sizeof(< type> )</ code > . </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The data converted to < type> or NULL if skipSizeCheck is false and the data is less than < code > sizeof(< type> )</ code > .</ dd ></ dl >
< p >< b > Use:</ b > < code > getServiceData< type> (skipSizeCheck);</ code > </ p >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a94ac18b573bace31613339e573076a70" name = "a94ac18b573bace31613339e573076a70" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a94ac18b573bace31613339e573076a70" > ◆  </ a ></ span > getServiceData() < span class = "overload" > [3/4]</ span ></ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string NimBLEAdvertisedDevice::getServiceData </ td >
< td > (</ td >
< td class = "paramtype" > uint8_t  </ td >
< td class = "paramname" >< em > index</ em > = < code > 0</ code ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the service data. </ p >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > index</ td >< td > The index of the service data requested. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The advertised service data or empty string if no data. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a2c0a851fe464217ae7ace84148d8849a" name = "a2c0a851fe464217ae7ace84148d8849a" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a2c0a851fe464217ae7ace84148d8849a" > ◆  </ a ></ span > getServiceData() < span class = "overload" > [4/4]</ span ></ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T > </ div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > T NimBLEAdvertisedDevice::getServiceData </ td >
< td > (</ td >
< td class = "paramtype" > uint8_t  </ td >
< td class = "paramname" >< em > index</ em > = < code > 0</ code > , </ td >
</ tr >
< tr >
< td class = "paramkey" ></ td >
< td ></ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > skipSizeCheck</ em > = < code > false</ code >   </ td >
</ tr >
< tr >
< td ></ td >
< td > )</ td >
2024-12-15 00:45:58 +00:00
< td ></ td >< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > A template to convert the service data to < code > < type> </ code > . </ p >
< dl class = "tparams" >< dt > Template Parameters</ dt >< dd >
< table class = "tparams" >
< tr >< td class = "paramname" > T</ td >< td > The type to convert the data to. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > index</ td >< td > The vector index of the service data requested. </ td ></ tr >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > skipSizeCheck</ td >< td > If true it will skip checking if the data size is less than < code > sizeof(< type> )</ code > . </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The data converted to < type> or NULL if skipSizeCheck is false and the data is less than < code > sizeof(< type> )</ code > .</ dd ></ dl >
< p >< b > Use:</ b > < code > getServiceData< type> (skipSizeCheck);</ code > </ p >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a99d902853af4e0d5d3b7c7222f11eba0" name = "a99d902853af4e0d5d3b7c7222f11eba0" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a99d902853af4e0d5d3b7c7222f11eba0" > ◆  </ a ></ span > getServiceDataCount()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2022-07-31 11:38:16 -06:00
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getServiceDataCount </ td >
2021-08-05 01:02:30 +00:00
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the count of advertised service data UUIDS. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The number of service data UUIDS in the vector. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a52fff852e23293d807a6719527eceff2" name = "a52fff852e23293d807a6719527eceff2" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a52fff852e23293d807a6719527eceff2" > ◆  </ a ></ span > getServiceDataUUID()</ h2 >
2021-08-05 01:02:30 +00:00
< 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 > NimBLEAdvertisedDevice::getServiceDataUUID </ td >
< td > (</ td >
< td class = "paramtype" > uint8_t  </ td >
< td class = "paramname" >< em > index</ em > = < code > 0</ code ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
2022-07-31 11:38:16 -06:00
< p > Get the UUID of the service data at the index. </ p >
2021-08-05 01:02:30 +00:00
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > index</ td >< td > The index of the service data UUID requested. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The advertised service data UUID or an empty UUID if not found. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ae44d13d47f80ed0499be7d84239f7ecb" name = "ae44d13d47f80ed0499be7d84239f7ecb" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ae44d13d47f80ed0499be7d84239f7ecb" > ◆  </ a ></ span > getServiceUUID()</ h2 >
2021-08-05 01:02:30 +00:00
< 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 > NimBLEAdvertisedDevice::getServiceUUID </ td >
< td > (</ td >
< td class = "paramtype" > uint8_t  </ td >
< td class = "paramname" >< em > index</ em > = < code > 0</ code ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the Service UUID. </ p >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > index</ td >< td > The index of the service UUID requested. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The Service UUID of the advertised service, or an empty UUID if not found. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "adbdb381a86c556344e676a1e4e654d9f" name = "adbdb381a86c556344e676a1e4e654d9f" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#adbdb381a86c556344e676a1e4e654d9f" > ◆  </ a ></ span > getServiceUUIDCount()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2022-07-31 11:38:16 -06:00
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getServiceUUIDCount </ td >
2021-08-05 01:02:30 +00:00
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the number of services advertised. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The count of services in the advertising packet. </ dd ></ dl >
2022-07-31 11:38:16 -06:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ad7313053fa990a9aa8f4bc832f35ee13" name = "ad7313053fa990a9aa8f4bc832f35ee13" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad7313053fa990a9aa8f4bc832f35ee13" > ◆  </ a ></ span > getSetId()</ h2 >
2022-07-31 11:38:16 -06:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getSetId </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2022-07-31 11:38:16 -06:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the set ID of the extended advertisement. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The set ID. </ dd ></ dl >
2021-08-05 01:02:30 +00:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "af51c0ff723dcb7bb1bc03460a9f0a25b" name = "af51c0ff723dcb7bb1bc03460a9f0a25b" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#af51c0ff723dcb7bb1bc03460a9f0a25b" > ◆  </ a ></ span > getTargetAddress()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" >< a class = "el" href = "class_nim_b_l_e_address.html" > NimBLEAddress</ a > NimBLEAdvertisedDevice::getTargetAddress </ td >
< td > (</ td >
< td class = "paramtype" > uint8_t  </ td >
< td class = "paramname" >< em > index</ em > = < code > 0</ code ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the target address at the index. </ p >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > index</ td >< td > The index of the target address. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > The target address. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a16738b3a745d29edff39bb4bbf4dfb28" name = "a16738b3a745d29edff39bb4bbf4dfb28" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a16738b3a745d29edff39bb4bbf4dfb28" > ◆  </ a ></ span > getTargetAddressCount()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2022-07-31 11:38:16 -06:00
< td class = "memname" > uint8_t NimBLEAdvertisedDevice::getTargetAddressCount </ td >
2021-08-05 01:02:30 +00:00
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the number of target addresses. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The number of addresses. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a47b8224e031fd6ab5db93b457ec35b33" name = "a47b8224e031fd6ab5db93b457ec35b33" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a47b8224e031fd6ab5db93b457ec35b33" > ◆  </ a ></ span > getTXPower()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int8_t NimBLEAdvertisedDevice::getTXPower </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the TX Power. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The TX Power of the advertised device. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a56d07a328ebdea4112087dc02dac4fc2" name = "a56d07a328ebdea4112087dc02dac4fc2" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a56d07a328ebdea4112087dc02dac4fc2" > ◆  </ a ></ span > getURI()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string NimBLEAdvertisedDevice::getURI </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the URI from the advertisement. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > The URI data. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a9b6ff6bd4e530dc9b5c76f9333d4420f" name = "a9b6ff6bd4e530dc9b5c76f9333d4420f" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a9b6ff6bd4e530dc9b5c76f9333d4420f" > ◆  </ a ></ span > haveAdvInterval()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveAdvInterval </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have have the advertising interval? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if the advertisement interval is present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a89e65eba150a40326fe1c12f2be9fbea" name = "a89e65eba150a40326fe1c12f2be9fbea" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a89e65eba150a40326fe1c12f2be9fbea" > ◆  </ a ></ span > haveAppearance()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveAppearance </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have an appearance value? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is an appearance value present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a6bb91e0c3b66a54ef9f53496fba1d748" name = "a6bb91e0c3b66a54ef9f53496fba1d748" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a6bb91e0c3b66a54ef9f53496fba1d748" > ◆  </ a ></ span > haveConnParams()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveConnParams </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have preferred connection parameters? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if connection parameters are present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ad68b1b03f59266f4aac9070e5e33d15f" name = "ad68b1b03f59266f4aac9070e5e33d15f" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad68b1b03f59266f4aac9070e5e33d15f" > ◆  </ a ></ span > haveManufacturerData()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveManufacturerData </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have manufacturer data? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is manufacturer data present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "aefa0142915204ace20ecb56a539396a2" name = "aefa0142915204ace20ecb56a539396a2" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aefa0142915204ace20ecb56a539396a2" > ◆  </ a ></ span > haveName()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveName </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have a name value? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is a name value present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ab91aaf87b4bd03a6599f466b1a6c3299" name = "ab91aaf87b4bd03a6599f466b1a6c3299" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ab91aaf87b4bd03a6599f466b1a6c3299" > ◆  </ a ></ span > haveServiceData()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveServiceData </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have a service data value? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is a service data value present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a1e61faae3ba0bdbb1bc197d1ca113f61" name = "a1e61faae3ba0bdbb1bc197d1ca113f61" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a1e61faae3ba0bdbb1bc197d1ca113f61" > ◆  </ a ></ span > haveServiceUUID()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveServiceUUID </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have a service UUID value? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is a service UUID value present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a6e7a4b9be93386e393addaa4a732e516" name = "a6e7a4b9be93386e393addaa4a732e516" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a6e7a4b9be93386e393addaa4a732e516" > ◆  </ a ></ span > haveTargetAddress()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveTargetAddress </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does the advertisement contain a target address? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if an address is present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "afde2edb305d4d78804b4750d1bc7aa38" name = "afde2edb305d4d78804b4750d1bc7aa38" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#afde2edb305d4d78804b4750d1bc7aa38" > ◆  </ a ></ span > haveTXPower()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveTXPower </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have a transmission power value? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is a transmission power value present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a8f4fc5c352487f816598796fb5430865" name = "a8f4fc5c352487f816598796fb5430865" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a8f4fc5c352487f816598796fb5430865" > ◆  </ a ></ span > haveType()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveType </ td >
< td > (</ td >
< td class = "paramtype" > uint16_t  </ td >
< td class = "paramname" >< em > type</ em ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have a adv type < code > type</ code > ? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is a < code > type</ code > present. </ dd ></ dl >
</ div >
</ div >
< a id = "a2e127b14ea79ebe88d291d7c8cc91b5a" name = "a2e127b14ea79ebe88d291d7c8cc91b5a" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a2e127b14ea79ebe88d291d7c8cc91b5a" > ◆  </ a ></ span > haveURI()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::haveURI </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Does this advertisement have a URI? </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if there is a URI present. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ad006b08552281a3e6c9d9444e7942709" name = "ad006b08552281a3e6c9d9444e7942709" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad006b08552281a3e6c9d9444e7942709" > ◆  </ a ></ span > isAdvertisingService()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::isAdvertisingService </ 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 >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
2022-07-31 11:38:16 -06:00
< p > Check advertised services for existence of the required UUID. </ p >
2021-08-05 01:02:30 +00:00
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramdir" > [in]</ td >< td class = "paramname" > uuid</ td >< td > The service uuid to look for in the advertisement. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > Return true if service is advertised </ dd ></ dl >
2022-07-31 11:38:16 -06:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "ab9710a6c3a141b6413d5159dfe4a4040" name = "ab9710a6c3a141b6413d5159dfe4a4040" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ab9710a6c3a141b6413d5159dfe4a4040" > ◆  </ a ></ span > isConnectable()</ h2 >
2022-07-31 11:38:16 -06:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::isConnectable </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2022-07-31 11:38:16 -06:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Check if this device is advertising as connectable. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if the device is connectable. </ dd ></ dl >
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a49b445130f028b49175d01cd3f6db050" name = "a49b445130f028b49175d01cd3f6db050" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a49b445130f028b49175d01cd3f6db050" > ◆  </ a ></ span > isLegacyAdvertisement()</ h2 >
2022-07-31 11:38:16 -06:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::isLegacyAdvertisement </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2022-07-31 11:38:16 -06:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Check if this advertisement is a legacy or extended type. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if legacy (Bluetooth 4.x), false if extended (bluetooth 5.x). </ dd ></ dl >
2021-08-05 01:02:30 +00:00
</ div >
</ div >
2024-12-15 00:45:58 +00:00
< a id = "a6f55263d4a86d3e2f6b23b71eb68ef98" name = "a6f55263d4a86d3e2f6b23b71eb68ef98" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a6f55263d4a86d3e2f6b23b71eb68ef98" > ◆  </ a ></ span > isScannable()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool NimBLEAdvertisedDevice::isScannable </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Check if this device is advertising as scannable. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > True if the device is scannable. </ dd ></ dl >
2025-02-25 00:55:48 +00:00
</ div >
</ div >
< a id = "a0e36b522584f14687657cd29739c491b" name = "a0e36b522584f14687657cd29739c491b" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a0e36b522584f14687657cd29739c491b" > ◆  </ a ></ span > operator NimBLEAddress()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > NimBLEAdvertisedDevice::operator < a class = "el" href = "class_nim_b_l_e_address.html" > NimBLEAddress</ a > </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Convenience operator to convert this < a class = "el" href = "class_nim_b_l_e_advertised_device.html" title = "A representation of a BLE advertised device found by a scan." > NimBLEAdvertisedDevice</ a > to < a class = "el" href = "class_nim_b_l_e_address.html" title = "A BLE device address." > NimBLEAddress</ a > representation. </ p >
< p > This allows passing < a class = "el" href = "class_nim_b_l_e_advertised_device.html" title = "A representation of a BLE advertised device found by a scan." > NimBLEAdvertisedDevice</ a > to functions that accept < a class = "el" href = "class_nim_b_l_e_address.html" title = "A BLE device address." > NimBLEAddress</ a > and/or or it's methods as a parameter. </ p >
2024-12-15 00:45:58 +00:00
</ div >
</ div >
< a id = "ad46b9300d435e3d20997fbafa5305148" name = "ad46b9300d435e3d20997fbafa5305148" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad46b9300d435e3d20997fbafa5305148" > ◆  </ a ></ span > toString()</ h2 >
2021-08-05 01:02:30 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string NimBLEAdvertisedDevice::toString </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
2024-12-15 00:45:58 +00:00
< td > const</ td >
2021-08-05 01:02:30 +00:00
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Create a string representation of this device. </ p >
< dl class = "section return" >< dt > Returns</ dt >< dd > A string representation of this device. </ 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_advertised_device.html" > NimBLEAdvertisedDevice</ a ></ li >
2024-12-15 00:45:58 +00:00
< 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 >
2021-08-05 01:02:30 +00:00
</ ul >
</ div >
</ body >
</ html >