123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <title>QBluetoothZero: QBtServiceDiscoverer Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- $(document).ready(initResizable);
- </script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { searchBox.OnSelectItem(0); });
- </script>
- </head>
- <body>
- <div id="top"><!-- do not remove this div! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
-
- <td id="projectlogo"><img alt="Logo" src="projecticonBlue.png"/></td>
-
-
- <td style="padding-left: 0.5em;">
- <div id="projectname">QBluetoothZero
-  <span id="projectnumber">2.0</span>
- </div>
-
- </td>
-
-
-
- </tr>
- </tbody>
- </table>
- </div>
- <!-- Generated by Doxygen 1.7.5.1 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class List</span></a></li>
- <li><a href="classes.html"><span>Class Index</span></a></li>
- <li><a href="functions.html"><span>Class Members</span></a></li>
- </ul>
- </div>
- </div>
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- initNavTree('class_q_bt_service_discoverer.html','');
- </script>
- <div id="doc-content">
- <div class="header">
- <div class="summary">
- <a href="#pub-types">Public Types</a> |
- <a href="#pub-slots">Public Slots</a> |
- <a href="#signals">Signals</a> |
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#friends">Friends</a> </div>
- <div class="headertitle">
- <div class="title">QBtServiceDiscoverer Class Reference</div> </div>
- </div>
- <div class="contents">
- <!-- doxytag: class="QBtServiceDiscoverer" -->
- <p><code>#include <<a class="el" href="_q_bt_service_discoverer_8h_source.html">QBtServiceDiscoverer.h</a>></code></p>
- <p><a href="class_q_bt_service_discoverer-members.html">List of all members.</a></p>
- <table class="memberdecls">
- <tr><td colspan="2"><h2><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695">ServiceDiscoveryError</a> { <br/>
-   <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695aedf592b050399f972ff01616c37c46ee">ServiceDiscoveryNotAbleToComplete</a>,
- <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695ab30906264a0b072c9cf92c010152d046">UnableToRetrieveServiceAttributes</a>,
- <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a1958217b6e6a49ba1f84b10899238b19">ProblemRequestingNextServiceRecord</a>,
- <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695ad335945d550ba57aa29a31f6241e9dda">ProblemAcquiringNextServiceAttributes</a>,
- <br/>
-   <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a4641a4041e213c7d2a685a2c201a387c">NotSupported</a>,
- <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a8aaab60b08d6d7a37e7cf017ec13fdd1">NoDeviceSelected</a>,
- <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a23f1488734344b642f4aef484b96fa2f">UnknownError</a>
- <br/>
- }</td></tr>
- <tr><td colspan="2"><h2><a name="pub-slots"></a>
- Public Slots</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a3477976884356670db43a5ab337976f7">startDiscovery</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &targetDevice)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#aae806e6fee34de855a75c5ab605b186a">startObexDiscovery</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &targetDevice)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a35a98e923c80959f995996a6a1164eb3">startRfcommDiscovery</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &targetDevice)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a5d7b7b163c75bcea62c019f5f8013792">startDiscovery</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &targetDevice, const <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> &uuid)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a74f923472145fdddc5d130d5d5b28543">startDiscovery</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &targetDevice, const QList< <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> > &uuids)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a149960c3f21c6d7920e246f525d792f8">stopDiscovery</a> ()</td></tr>
- <tr><td colspan="2"><h2><a name="signals"></a>
- Signals</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a365067629ee1244ec143696a14084a97">discoveryStarted</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#ae8c4aba259a3e132e3ca8aa59d8d6d4a">discoveryStopped</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a2ef2eb229485582e224d91aec67d7773">newServiceFound</a> (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &targetDevice, const <a class="el" href="class_q_bt_service.html">QBtService</a> &service)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a1b8ec0fbc4c84d92bf8016bc42e21d8b">error</a> (<a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695">QBtServiceDiscoverer::ServiceDiscoveryError</a> error)</td></tr>
- <tr><td colspan="2"><h2><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#abfb92b5722d1a8cfea85d8021bf74a98">QBtServiceDiscoverer</a> (QObject *parent=0)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a1e4c270d61438af3e8764af82188165f">~QBtServiceDiscoverer</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#af9d1e5edcf33c98916c0e0f19f6f860a">getInquiredServices</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#aeb26141d651e9de842a642b9b5b9df7e">getTargetDevice</a> () const </td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a4ef53714d58c33586a6cf01cd74f43a0">isBusy</a> () const </td></tr>
- <tr><td colspan="2"><h2><a name="friends"></a>
- Friends</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a8333f6f086348948fe08473271ccd4ab">QBtServiceDiscovererPrivate</a></td></tr>
- </table>
- <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
- <div class="textblock"><p>This class provides the mechanism to inquire a given device for the bluetooth services it supports.</p>
- <p>If startDiscovery (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &) is called, then the device is inquired for all the bluetooth services it supports.</p>
- <p>If user is searching for a specific service then startDiscovery (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &, const <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> &) or startDiscovery (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &, <a class="el" href="class_q_bt_constants.html#a2444b7cc46a0523f8ff5f4a239fd3c92">QBtConstants::ServiceProtocol</a>) can be called, according to the information the user already has about the inquired service. After the successful call of these functions, <a class="el" href="class_q_bt_service_discoverer.html#a365067629ee1244ec143696a14084a97">discoveryStarted()</a> signal is emitted.</p>
- <p>At any of the above cases, a found service is reported through newServiceFound (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &, const <a class="el" href="class_q_bt_service.html">QBtService</a> &) signal.</p>
- <p>If service inquiring stops (either by the user calling <a class="el" href="class_q_bt_service_discoverer.html#a149960c3f21c6d7920e246f525d792f8">stopDiscovery()</a> or by normal termination of the inquiring) then <a class="el" href="class_q_bt_service_discoverer.html#ae8c4aba259a3e132e3ca8aa59d8d6d4a">discoveryStopped()</a> signal is emitted.</p>
- <p>At any time the user can access the found services through <a class="el" href="class_q_bt_service_discoverer.html#af9d1e5edcf33c98916c0e0f19f6f860a">getInquiredServices()</a>. </p>
- </div><hr/><h2>Member Enumeration Documentation</h2>
- <a class="anchor" id="a2776d507cff4b617b06d286b2a859695"></a><!-- doxytag: member="QBtServiceDiscoverer::ServiceDiscoveryError" ref="a2776d507cff4b617b06d286b2a859695" args="" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695">QBtServiceDiscoverer::ServiceDiscoveryError</a></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695aedf592b050399f972ff01616c37c46ee"></a><!-- doxytag: member="ServiceDiscoveryNotAbleToComplete" ref="a2776d507cff4b617b06d286b2a859695aedf592b050399f972ff01616c37c46ee" args="" -->ServiceDiscoveryNotAbleToComplete</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695ab30906264a0b072c9cf92c010152d046"></a><!-- doxytag: member="UnableToRetrieveServiceAttributes" ref="a2776d507cff4b617b06d286b2a859695ab30906264a0b072c9cf92c010152d046" args="" -->UnableToRetrieveServiceAttributes</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a1958217b6e6a49ba1f84b10899238b19"></a><!-- doxytag: member="ProblemRequestingNextServiceRecord" ref="a2776d507cff4b617b06d286b2a859695a1958217b6e6a49ba1f84b10899238b19" args="" -->ProblemRequestingNextServiceRecord</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695ad335945d550ba57aa29a31f6241e9dda"></a><!-- doxytag: member="ProblemAcquiringNextServiceAttributes" ref="a2776d507cff4b617b06d286b2a859695ad335945d550ba57aa29a31f6241e9dda" args="" -->ProblemAcquiringNextServiceAttributes</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a4641a4041e213c7d2a685a2c201a387c"></a><!-- doxytag: member="NotSupported" ref="a2776d507cff4b617b06d286b2a859695a4641a4041e213c7d2a685a2c201a387c" args="" -->NotSupported</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a8aaab60b08d6d7a37e7cf017ec13fdd1"></a><!-- doxytag: member="NoDeviceSelected" ref="a2776d507cff4b617b06d286b2a859695a8aaab60b08d6d7a37e7cf017ec13fdd1" args="" -->NoDeviceSelected</em> </td><td>
- </td></tr>
- <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a23f1488734344b642f4aef484b96fa2f"></a><!-- doxytag: member="UnknownError" ref="a2776d507cff4b617b06d286b2a859695a23f1488734344b642f4aef484b96fa2f" args="" -->UnknownError</em> </td><td>
- </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="abfb92b5722d1a8cfea85d8021bf74a98"></a><!-- doxytag: member="QBtServiceDiscoverer::QBtServiceDiscoverer" ref="abfb92b5722d1a8cfea85d8021bf74a98" args="(QObject *parent=0)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QBtServiceDiscoverer::QBtServiceDiscoverer </td>
- <td>(</td>
- <td class="paramtype">QObject * </td>
- <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a1e4c270d61438af3e8764af82188165f"></a><!-- doxytag: member="QBtServiceDiscoverer::~QBtServiceDiscoverer" ref="a1e4c270d61438af3e8764af82188165f" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">virtual QBtServiceDiscoverer::~QBtServiceDiscoverer </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a365067629ee1244ec143696a14084a97"></a><!-- doxytag: member="QBtServiceDiscoverer::discoveryStarted" ref="a365067629ee1244ec143696a14084a97" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::discoveryStarted </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Signal to report that discovery has started. Alternative is error. </p>
- </div>
- </div>
- <a class="anchor" id="ae8c4aba259a3e132e3ca8aa59d8d6d4a"></a><!-- doxytag: member="QBtServiceDiscoverer::discoveryStopped" ref="ae8c4aba259a3e132e3ca8aa59d8d6d4a" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::discoveryStopped </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Signal to report that discovery has stopped (either cancelled or no new devices to detect) </p>
- </div>
- </div>
- <a class="anchor" id="a1b8ec0fbc4c84d92bf8016bc42e21d8b"></a><!-- doxytag: member="QBtServiceDiscoverer::error" ref="a1b8ec0fbc4c84d92bf8016bc42e21d8b" args="(QBtServiceDiscoverer::ServiceDiscoveryError error)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::error </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695">QBtServiceDiscoverer::ServiceDiscoveryError</a> </td>
- <td class="paramname"><em>error</em></td><td>)</td>
- <td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Signal to be emitted when error occurs. </p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">error</td><td>error code. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="af9d1e5edcf33c98916c0e0f19f6f860a"></a><!-- doxytag: member="QBtServiceDiscoverer::getInquiredServices" ref="af9d1e5edcf33c98916c0e0f19f6f860a" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a> QBtServiceDiscoverer::getInquiredServices </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_service_discoverer.html#af9d1e5edcf33c98916c0e0f19f6f860a">getInquiredServices()</a></p>
- <p>Returns a service list containing the inquired services (if any) </p>
- </div>
- </div>
- <a class="anchor" id="aeb26141d651e9de842a642b9b5b9df7e"></a><!-- doxytag: member="QBtServiceDiscoverer::getTargetDevice" ref="aeb26141d651e9de842a642b9b5b9df7e" args="() const " -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">const <a class="el" href="class_q_bt_device.html">QBtDevice</a>& QBtServiceDiscoverer::getTargetDevice </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p><a class="el" href="class_q_bt_service_discoverer.html#aeb26141d651e9de842a642b9b5b9df7e">getTargetDevice()</a></p>
- <p>Returns the remote device selected for service discovery. If "startDiscovery" function (both overloads) was already called then returns "targetDevice" which was passed as argument else returns NULL </p>
- </div>
- </div>
- <a class="anchor" id="a4ef53714d58c33586a6cf01cd74f43a0"></a><!-- doxytag: member="QBtServiceDiscoverer::isBusy" ref="a4ef53714d58c33586a6cf01cd74f43a0" args="() const " -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QBtServiceDiscoverer::isBusy </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Returns true if a discovery operation is in progress. </p>
- </div>
- </div>
- <a class="anchor" id="a2ef2eb229485582e224d91aec67d7773"></a><!-- doxytag: member="QBtServiceDiscoverer::newServiceFound" ref="a2ef2eb229485582e224d91aec67d7773" args="(const QBtDevice &targetDevice, const QBtService &service)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::newServiceFound </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td>
- <td class="paramname"><em>targetDevice</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="class_q_bt_service.html">QBtService</a> & </td>
- <td class="paramname"><em>service</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td><code> [signal]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Signaled for every service detected The targetDevice's field "supportedServices" is updated every time this signal is emitted.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table class="params">
- <tr><td class="paramname">targetDevice</td><td>The remote device where the service was found </td></tr>
- <tr><td class="paramname">service</td><td>The remote service found </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a3477976884356670db43a5ab337976f7"></a><!-- doxytag: member="QBtServiceDiscoverer::startDiscovery" ref="a3477976884356670db43a5ab337976f7" args="(const QBtDevice &targetDevice)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::startDiscovery </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td>
- <td class="paramname"><em>targetDevice</em></td><td>)</td>
- <td><code> [slot]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Starts service discovery for OBEX and RFCOMM services. New services found are reported through signal "newServiceFound" or can be acquired through "getInquiredServices" function </p>
- </div>
- </div>
- <a class="anchor" id="a5d7b7b163c75bcea62c019f5f8013792"></a><!-- doxytag: member="QBtServiceDiscoverer::startDiscovery" ref="a5d7b7b163c75bcea62c019f5f8013792" args="(const QBtDevice &targetDevice, const QBtUuid &uuid)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::startDiscovery </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td>
- <td class="paramname"><em>targetDevice</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> & </td>
- <td class="paramname"><em>uuid</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td><code> [slot]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Starts service discovery for the service (or protocol) identified by the uuid parameter. New services found are reported through signal "newServiceFound" or can be acquired through "getInquiredServices" function. </p>
- </div>
- </div>
- <a class="anchor" id="a74f923472145fdddc5d130d5d5b28543"></a><!-- doxytag: member="QBtServiceDiscoverer::startDiscovery" ref="a74f923472145fdddc5d130d5d5b28543" args="(const QBtDevice &targetDevice, const QList< QBtUuid > &uuids)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::startDiscovery </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td>
- <td class="paramname"><em>targetDevice</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QList< <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> > & </td>
- <td class="paramname"><em>uuids</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td><code> [slot]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Starts service discovery for UUIDs provided in the list. New services found are reported through signal "newServiceFound" or can be acquired through "getInquiredServices" function. </p>
- </div>
- </div>
- <a class="anchor" id="aae806e6fee34de855a75c5ab605b186a"></a><!-- doxytag: member="QBtServiceDiscoverer::startObexDiscovery" ref="aae806e6fee34de855a75c5ab605b186a" args="(const QBtDevice &targetDevice)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::startObexDiscovery </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td>
- <td class="paramname"><em>targetDevice</em></td><td>)</td>
- <td><code> [slot]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Starts service discovery for OBEX services only. New services found are reported through signal "newServiceFound" or can be aquired through "getInquiredServices" function </p>
- </div>
- </div>
- <a class="anchor" id="a35a98e923c80959f995996a6a1164eb3"></a><!-- doxytag: member="QBtServiceDiscoverer::startRfcommDiscovery" ref="a35a98e923c80959f995996a6a1164eb3" args="(const QBtDevice &targetDevice)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::startRfcommDiscovery </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> & </td>
- <td class="paramname"><em>targetDevice</em></td><td>)</td>
- <td><code> [slot]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Starts service discovery for RFCOMM services only. New services found are reported through signal "newServiceFound" or can be acquired through "getInquiredServices" function. </p>
- </div>
- </div>
- <a class="anchor" id="a149960c3f21c6d7920e246f525d792f8"></a><!-- doxytag: member="QBtServiceDiscoverer::stopDiscovery" ref="a149960c3f21c6d7920e246f525d792f8" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QBtServiceDiscoverer::stopDiscovery </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [slot]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Stops service discovery. Services found so far can be acquired using "getInquiredServices" function. </p>
- </div>
- </div>
- <hr/><h2>Friends And Related Function Documentation</h2>
- <a class="anchor" id="a8333f6f086348948fe08473271ccd4ab"></a><!-- doxytag: member="QBtServiceDiscoverer::QBtServiceDiscovererPrivate" ref="a8333f6f086348948fe08473271ccd4ab" args="" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">friend class QBtServiceDiscovererPrivate<code> [friend]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li><a class="el" href="_q_bt_service_discoverer_8h_source.html">QBtServiceDiscoverer.h</a></li>
- </ul>
- </div>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="class_q_bt_service_discoverer.html">QBtServiceDiscoverer</a> </li>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Defines</a></div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <li class="footer">Generated on Wed Jan 4 2012 21:05:39 for QBluetoothZero by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
- </ul>
- </div>
- </body>
- </html>
|