class_q_bt_service_discoverer.html 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <title>QBluetoothZero: QBtServiceDiscoverer Class Reference</title>
  6. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  7. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  8. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="resize.js"></script>
  11. <script type="text/javascript" src="navtree.js"></script>
  12. <script type="text/javascript">
  13. $(document).ready(initResizable);
  14. </script>
  15. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  16. <script type="text/javascript" src="search/search.js"></script>
  17. <script type="text/javascript">
  18. $(document).ready(function() { searchBox.OnSelectItem(0); });
  19. </script>
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectlogo"><img alt="Logo" src="projecticonBlue.png"/></td>
  28. <td style="padding-left: 0.5em;">
  29. <div id="projectname">QBluetoothZero
  30. &#160;<span id="projectnumber">2.0</span>
  31. </div>
  32. </td>
  33. </tr>
  34. </tbody>
  35. </table>
  36. </div>
  37. <!-- Generated by Doxygen 1.7.5.1 -->
  38. <script type="text/javascript">
  39. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  40. </script>
  41. <div id="navrow1" class="tabs">
  42. <ul class="tablist">
  43. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  44. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  45. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  46. <li><a href="files.html"><span>Files</span></a></li>
  47. <li>
  48. <div id="MSearchBox" class="MSearchBoxInactive">
  49. <span class="left">
  50. <img id="MSearchSelect" src="search/mag_sel.png"
  51. onmouseover="return searchBox.OnSearchSelectShow()"
  52. onmouseout="return searchBox.OnSearchSelectHide()"
  53. alt=""/>
  54. <input type="text" id="MSearchField" value="Search" accesskey="S"
  55. onfocus="searchBox.OnSearchFieldFocus(true)"
  56. onblur="searchBox.OnSearchFieldFocus(false)"
  57. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  58. </span><span class="right">
  59. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  60. </span>
  61. </div>
  62. </li>
  63. </ul>
  64. </div>
  65. <div id="navrow2" class="tabs2">
  66. <ul class="tablist">
  67. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  68. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  69. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  70. </ul>
  71. </div>
  72. </div>
  73. <div id="side-nav" class="ui-resizable side-nav-resizable">
  74. <div id="nav-tree">
  75. <div id="nav-tree-contents">
  76. </div>
  77. </div>
  78. <div id="splitbar" style="-moz-user-select:none;"
  79. class="ui-resizable-handle">
  80. </div>
  81. </div>
  82. <script type="text/javascript">
  83. initNavTree('class_q_bt_service_discoverer.html','');
  84. </script>
  85. <div id="doc-content">
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#pub-types">Public Types</a> &#124;
  89. <a href="#pub-slots">Public Slots</a> &#124;
  90. <a href="#signals">Signals</a> &#124;
  91. <a href="#pub-methods">Public Member Functions</a> &#124;
  92. <a href="#friends">Friends</a> </div>
  93. <div class="headertitle">
  94. <div class="title">QBtServiceDiscoverer Class Reference</div> </div>
  95. </div>
  96. <div class="contents">
  97. <!-- doxytag: class="QBtServiceDiscoverer" -->
  98. <p><code>#include &lt;<a class="el" href="_q_bt_service_discoverer_8h_source.html">QBtServiceDiscoverer.h</a>&gt;</code></p>
  99. <p><a href="class_q_bt_service_discoverer-members.html">List of all members.</a></p>
  100. <table class="memberdecls">
  101. <tr><td colspan="2"><h2><a name="pub-types"></a>
  102. Public Types</h2></td></tr>
  103. <tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695">ServiceDiscoveryError</a> { <br/>
  104. &#160;&#160;<a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695aedf592b050399f972ff01616c37c46ee">ServiceDiscoveryNotAbleToComplete</a>,
  105. <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695ab30906264a0b072c9cf92c010152d046">UnableToRetrieveServiceAttributes</a>,
  106. <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a1958217b6e6a49ba1f84b10899238b19">ProblemRequestingNextServiceRecord</a>,
  107. <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695ad335945d550ba57aa29a31f6241e9dda">ProblemAcquiringNextServiceAttributes</a>,
  108. <br/>
  109. &#160;&#160;<a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a4641a4041e213c7d2a685a2c201a387c">NotSupported</a>,
  110. <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a8aaab60b08d6d7a37e7cf017ec13fdd1">NoDeviceSelected</a>,
  111. <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695a23f1488734344b642f4aef484b96fa2f">UnknownError</a>
  112. <br/>
  113. }</td></tr>
  114. <tr><td colspan="2"><h2><a name="pub-slots"></a>
  115. Public Slots</h2></td></tr>
  116. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;targetDevice)</td></tr>
  117. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;targetDevice)</td></tr>
  118. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;targetDevice)</td></tr>
  119. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;targetDevice, const <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> &amp;uuid)</td></tr>
  120. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;targetDevice, const QList&lt; <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> &gt; &amp;uuids)</td></tr>
  121. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a149960c3f21c6d7920e246f525d792f8">stopDiscovery</a> ()</td></tr>
  122. <tr><td colspan="2"><h2><a name="signals"></a>
  123. Signals</h2></td></tr>
  124. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a365067629ee1244ec143696a14084a97">discoveryStarted</a> ()</td></tr>
  125. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#ae8c4aba259a3e132e3ca8aa59d8d6d4a">discoveryStopped</a> ()</td></tr>
  126. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;targetDevice, const <a class="el" href="class_q_bt_service.html">QBtService</a> &amp;service)</td></tr>
  127. <tr><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  128. <tr><td colspan="2"><h2><a name="pub-methods"></a>
  129. Public Member Functions</h2></td></tr>
  130. <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#abfb92b5722d1a8cfea85d8021bf74a98">QBtServiceDiscoverer</a> (QObject *parent=0)</td></tr>
  131. <tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a1e4c270d61438af3e8764af82188165f">~QBtServiceDiscoverer</a> ()</td></tr>
  132. <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#af9d1e5edcf33c98916c0e0f19f6f860a">getInquiredServices</a> ()</td></tr>
  133. <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#aeb26141d651e9de842a642b9b5b9df7e">getTargetDevice</a> () const </td></tr>
  134. <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a4ef53714d58c33586a6cf01cd74f43a0">isBusy</a> () const </td></tr>
  135. <tr><td colspan="2"><h2><a name="friends"></a>
  136. Friends</h2></td></tr>
  137. <tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_bt_service_discoverer.html#a8333f6f086348948fe08473271ccd4ab">QBtServiceDiscovererPrivate</a></td></tr>
  138. </table>
  139. <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
  140. <div class="textblock"><p>This class provides the mechanism to inquire a given device for the bluetooth services it supports.</p>
  141. <p>If startDiscovery (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;) is called, then the device is inquired for all the bluetooth services it supports.</p>
  142. <p>If user is searching for a specific service then startDiscovery (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;, const <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> &amp;) or startDiscovery (const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;, <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>
  143. <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> &amp;, const <a class="el" href="class_q_bt_service.html">QBtService</a> &amp;) signal.</p>
  144. <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>
  145. <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>
  146. </div><hr/><h2>Member Enumeration Documentation</h2>
  147. <a class="anchor" id="a2776d507cff4b617b06d286b2a859695"></a><!-- doxytag: member="QBtServiceDiscoverer::ServiceDiscoveryError" ref="a2776d507cff4b617b06d286b2a859695" args="" -->
  148. <div class="memitem">
  149. <div class="memproto">
  150. <table class="memname">
  151. <tr>
  152. <td class="memname">enum <a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695">QBtServiceDiscoverer::ServiceDiscoveryError</a></td>
  153. </tr>
  154. </table>
  155. </div>
  156. <div class="memdoc">
  157. <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
  158. <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695aedf592b050399f972ff01616c37c46ee"></a><!-- doxytag: member="ServiceDiscoveryNotAbleToComplete" ref="a2776d507cff4b617b06d286b2a859695aedf592b050399f972ff01616c37c46ee" args="" -->ServiceDiscoveryNotAbleToComplete</em>&nbsp;</td><td>
  159. </td></tr>
  160. <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695ab30906264a0b072c9cf92c010152d046"></a><!-- doxytag: member="UnableToRetrieveServiceAttributes" ref="a2776d507cff4b617b06d286b2a859695ab30906264a0b072c9cf92c010152d046" args="" -->UnableToRetrieveServiceAttributes</em>&nbsp;</td><td>
  161. </td></tr>
  162. <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a1958217b6e6a49ba1f84b10899238b19"></a><!-- doxytag: member="ProblemRequestingNextServiceRecord" ref="a2776d507cff4b617b06d286b2a859695a1958217b6e6a49ba1f84b10899238b19" args="" -->ProblemRequestingNextServiceRecord</em>&nbsp;</td><td>
  163. </td></tr>
  164. <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695ad335945d550ba57aa29a31f6241e9dda"></a><!-- doxytag: member="ProblemAcquiringNextServiceAttributes" ref="a2776d507cff4b617b06d286b2a859695ad335945d550ba57aa29a31f6241e9dda" args="" -->ProblemAcquiringNextServiceAttributes</em>&nbsp;</td><td>
  165. </td></tr>
  166. <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a4641a4041e213c7d2a685a2c201a387c"></a><!-- doxytag: member="NotSupported" ref="a2776d507cff4b617b06d286b2a859695a4641a4041e213c7d2a685a2c201a387c" args="" -->NotSupported</em>&nbsp;</td><td>
  167. </td></tr>
  168. <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a8aaab60b08d6d7a37e7cf017ec13fdd1"></a><!-- doxytag: member="NoDeviceSelected" ref="a2776d507cff4b617b06d286b2a859695a8aaab60b08d6d7a37e7cf017ec13fdd1" args="" -->NoDeviceSelected</em>&nbsp;</td><td>
  169. </td></tr>
  170. <tr><td valign="top"><em><a class="anchor" id="a2776d507cff4b617b06d286b2a859695a23f1488734344b642f4aef484b96fa2f"></a><!-- doxytag: member="UnknownError" ref="a2776d507cff4b617b06d286b2a859695a23f1488734344b642f4aef484b96fa2f" args="" -->UnknownError</em>&nbsp;</td><td>
  171. </td></tr>
  172. </table>
  173. </dd>
  174. </dl>
  175. </div>
  176. </div>
  177. <hr/><h2>Constructor &amp; Destructor Documentation</h2>
  178. <a class="anchor" id="abfb92b5722d1a8cfea85d8021bf74a98"></a><!-- doxytag: member="QBtServiceDiscoverer::QBtServiceDiscoverer" ref="abfb92b5722d1a8cfea85d8021bf74a98" args="(QObject *parent=0)" -->
  179. <div class="memitem">
  180. <div class="memproto">
  181. <table class="memname">
  182. <tr>
  183. <td class="memname">QBtServiceDiscoverer::QBtServiceDiscoverer </td>
  184. <td>(</td>
  185. <td class="paramtype">QObject *&#160;</td>
  186. <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
  187. <td></td>
  188. </tr>
  189. </table>
  190. </div>
  191. <div class="memdoc">
  192. </div>
  193. </div>
  194. <a class="anchor" id="a1e4c270d61438af3e8764af82188165f"></a><!-- doxytag: member="QBtServiceDiscoverer::~QBtServiceDiscoverer" ref="a1e4c270d61438af3e8764af82188165f" args="()" -->
  195. <div class="memitem">
  196. <div class="memproto">
  197. <table class="memname">
  198. <tr>
  199. <td class="memname">virtual QBtServiceDiscoverer::~QBtServiceDiscoverer </td>
  200. <td>(</td>
  201. <td class="paramname"></td><td>)</td>
  202. <td><code> [virtual]</code></td>
  203. </tr>
  204. </table>
  205. </div>
  206. <div class="memdoc">
  207. </div>
  208. </div>
  209. <hr/><h2>Member Function Documentation</h2>
  210. <a class="anchor" id="a365067629ee1244ec143696a14084a97"></a><!-- doxytag: member="QBtServiceDiscoverer::discoveryStarted" ref="a365067629ee1244ec143696a14084a97" args="()" -->
  211. <div class="memitem">
  212. <div class="memproto">
  213. <table class="memname">
  214. <tr>
  215. <td class="memname">void QBtServiceDiscoverer::discoveryStarted </td>
  216. <td>(</td>
  217. <td class="paramname"></td><td>)</td>
  218. <td><code> [signal]</code></td>
  219. </tr>
  220. </table>
  221. </div>
  222. <div class="memdoc">
  223. <p>Signal to report that discovery has started. Alternative is error. </p>
  224. </div>
  225. </div>
  226. <a class="anchor" id="ae8c4aba259a3e132e3ca8aa59d8d6d4a"></a><!-- doxytag: member="QBtServiceDiscoverer::discoveryStopped" ref="ae8c4aba259a3e132e3ca8aa59d8d6d4a" args="()" -->
  227. <div class="memitem">
  228. <div class="memproto">
  229. <table class="memname">
  230. <tr>
  231. <td class="memname">void QBtServiceDiscoverer::discoveryStopped </td>
  232. <td>(</td>
  233. <td class="paramname"></td><td>)</td>
  234. <td><code> [signal]</code></td>
  235. </tr>
  236. </table>
  237. </div>
  238. <div class="memdoc">
  239. <p>Signal to report that discovery has stopped (either cancelled or no new devices to detect) </p>
  240. </div>
  241. </div>
  242. <a class="anchor" id="a1b8ec0fbc4c84d92bf8016bc42e21d8b"></a><!-- doxytag: member="QBtServiceDiscoverer::error" ref="a1b8ec0fbc4c84d92bf8016bc42e21d8b" args="(QBtServiceDiscoverer::ServiceDiscoveryError error)" -->
  243. <div class="memitem">
  244. <div class="memproto">
  245. <table class="memname">
  246. <tr>
  247. <td class="memname">void QBtServiceDiscoverer::error </td>
  248. <td>(</td>
  249. <td class="paramtype"><a class="el" href="class_q_bt_service_discoverer.html#a2776d507cff4b617b06d286b2a859695">QBtServiceDiscoverer::ServiceDiscoveryError</a>&#160;</td>
  250. <td class="paramname"><em>error</em></td><td>)</td>
  251. <td><code> [signal]</code></td>
  252. </tr>
  253. </table>
  254. </div>
  255. <div class="memdoc">
  256. <p>Signal to be emitted when error occurs. </p>
  257. <dl><dt><b>Parameters:</b></dt><dd>
  258. <table class="params">
  259. <tr><td class="paramname">error</td><td>error code. </td></tr>
  260. </table>
  261. </dd>
  262. </dl>
  263. </div>
  264. </div>
  265. <a class="anchor" id="af9d1e5edcf33c98916c0e0f19f6f860a"></a><!-- doxytag: member="QBtServiceDiscoverer::getInquiredServices" ref="af9d1e5edcf33c98916c0e0f19f6f860a" args="()" -->
  266. <div class="memitem">
  267. <div class="memproto">
  268. <table class="memname">
  269. <tr>
  270. <td class="memname"><a class="el" href="class_q_bt_service.html#a974979a1bd488d5e39fa87d187d65c38">QBtService::List</a> QBtServiceDiscoverer::getInquiredServices </td>
  271. <td>(</td>
  272. <td class="paramname"></td><td>)</td>
  273. <td></td>
  274. </tr>
  275. </table>
  276. </div>
  277. <div class="memdoc">
  278. <p><a class="el" href="class_q_bt_service_discoverer.html#af9d1e5edcf33c98916c0e0f19f6f860a">getInquiredServices()</a></p>
  279. <p>Returns a service list containing the inquired services (if any) </p>
  280. </div>
  281. </div>
  282. <a class="anchor" id="aeb26141d651e9de842a642b9b5b9df7e"></a><!-- doxytag: member="QBtServiceDiscoverer::getTargetDevice" ref="aeb26141d651e9de842a642b9b5b9df7e" args="() const " -->
  283. <div class="memitem">
  284. <div class="memproto">
  285. <table class="memname">
  286. <tr>
  287. <td class="memname">const <a class="el" href="class_q_bt_device.html">QBtDevice</a>&amp; QBtServiceDiscoverer::getTargetDevice </td>
  288. <td>(</td>
  289. <td class="paramname"></td><td>)</td>
  290. <td> const</td>
  291. </tr>
  292. </table>
  293. </div>
  294. <div class="memdoc">
  295. <p><a class="el" href="class_q_bt_service_discoverer.html#aeb26141d651e9de842a642b9b5b9df7e">getTargetDevice()</a></p>
  296. <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>
  297. </div>
  298. </div>
  299. <a class="anchor" id="a4ef53714d58c33586a6cf01cd74f43a0"></a><!-- doxytag: member="QBtServiceDiscoverer::isBusy" ref="a4ef53714d58c33586a6cf01cd74f43a0" args="() const " -->
  300. <div class="memitem">
  301. <div class="memproto">
  302. <table class="memname">
  303. <tr>
  304. <td class="memname">bool QBtServiceDiscoverer::isBusy </td>
  305. <td>(</td>
  306. <td class="paramname"></td><td>)</td>
  307. <td> const</td>
  308. </tr>
  309. </table>
  310. </div>
  311. <div class="memdoc">
  312. <p>Returns true if a discovery operation is in progress. </p>
  313. </div>
  314. </div>
  315. <a class="anchor" id="a2ef2eb229485582e224d91aec67d7773"></a><!-- doxytag: member="QBtServiceDiscoverer::newServiceFound" ref="a2ef2eb229485582e224d91aec67d7773" args="(const QBtDevice &amp;targetDevice, const QBtService &amp;service)" -->
  316. <div class="memitem">
  317. <div class="memproto">
  318. <table class="memname">
  319. <tr>
  320. <td class="memname">void QBtServiceDiscoverer::newServiceFound </td>
  321. <td>(</td>
  322. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  323. <td class="paramname"><em>targetDevice</em>, </td>
  324. </tr>
  325. <tr>
  326. <td class="paramkey"></td>
  327. <td></td>
  328. <td class="paramtype">const <a class="el" href="class_q_bt_service.html">QBtService</a> &amp;&#160;</td>
  329. <td class="paramname"><em>service</em>&#160;</td>
  330. </tr>
  331. <tr>
  332. <td></td>
  333. <td>)</td>
  334. <td></td><td><code> [signal]</code></td>
  335. </tr>
  336. </table>
  337. </div>
  338. <div class="memdoc">
  339. <p>Signaled for every service detected The targetDevice's field "supportedServices" is updated every time this signal is emitted.</p>
  340. <dl><dt><b>Parameters:</b></dt><dd>
  341. <table class="params">
  342. <tr><td class="paramname">targetDevice</td><td>The remote device where the service was found </td></tr>
  343. <tr><td class="paramname">service</td><td>The remote service found </td></tr>
  344. </table>
  345. </dd>
  346. </dl>
  347. </div>
  348. </div>
  349. <a class="anchor" id="a3477976884356670db43a5ab337976f7"></a><!-- doxytag: member="QBtServiceDiscoverer::startDiscovery" ref="a3477976884356670db43a5ab337976f7" args="(const QBtDevice &amp;targetDevice)" -->
  350. <div class="memitem">
  351. <div class="memproto">
  352. <table class="memname">
  353. <tr>
  354. <td class="memname">void QBtServiceDiscoverer::startDiscovery </td>
  355. <td>(</td>
  356. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  357. <td class="paramname"><em>targetDevice</em></td><td>)</td>
  358. <td><code> [slot]</code></td>
  359. </tr>
  360. </table>
  361. </div>
  362. <div class="memdoc">
  363. <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>
  364. </div>
  365. </div>
  366. <a class="anchor" id="a5d7b7b163c75bcea62c019f5f8013792"></a><!-- doxytag: member="QBtServiceDiscoverer::startDiscovery" ref="a5d7b7b163c75bcea62c019f5f8013792" args="(const QBtDevice &amp;targetDevice, const QBtUuid &amp;uuid)" -->
  367. <div class="memitem">
  368. <div class="memproto">
  369. <table class="memname">
  370. <tr>
  371. <td class="memname">void QBtServiceDiscoverer::startDiscovery </td>
  372. <td>(</td>
  373. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  374. <td class="paramname"><em>targetDevice</em>, </td>
  375. </tr>
  376. <tr>
  377. <td class="paramkey"></td>
  378. <td></td>
  379. <td class="paramtype">const <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> &amp;&#160;</td>
  380. <td class="paramname"><em>uuid</em>&#160;</td>
  381. </tr>
  382. <tr>
  383. <td></td>
  384. <td>)</td>
  385. <td></td><td><code> [slot]</code></td>
  386. </tr>
  387. </table>
  388. </div>
  389. <div class="memdoc">
  390. <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>
  391. </div>
  392. </div>
  393. <a class="anchor" id="a74f923472145fdddc5d130d5d5b28543"></a><!-- doxytag: member="QBtServiceDiscoverer::startDiscovery" ref="a74f923472145fdddc5d130d5d5b28543" args="(const QBtDevice &amp;targetDevice, const QList&lt; QBtUuid &gt; &amp;uuids)" -->
  394. <div class="memitem">
  395. <div class="memproto">
  396. <table class="memname">
  397. <tr>
  398. <td class="memname">void QBtServiceDiscoverer::startDiscovery </td>
  399. <td>(</td>
  400. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  401. <td class="paramname"><em>targetDevice</em>, </td>
  402. </tr>
  403. <tr>
  404. <td class="paramkey"></td>
  405. <td></td>
  406. <td class="paramtype">const QList&lt; <a class="el" href="class_q_bt_uuid.html">QBtUuid</a> &gt; &amp;&#160;</td>
  407. <td class="paramname"><em>uuids</em>&#160;</td>
  408. </tr>
  409. <tr>
  410. <td></td>
  411. <td>)</td>
  412. <td></td><td><code> [slot]</code></td>
  413. </tr>
  414. </table>
  415. </div>
  416. <div class="memdoc">
  417. <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>
  418. </div>
  419. </div>
  420. <a class="anchor" id="aae806e6fee34de855a75c5ab605b186a"></a><!-- doxytag: member="QBtServiceDiscoverer::startObexDiscovery" ref="aae806e6fee34de855a75c5ab605b186a" args="(const QBtDevice &amp;targetDevice)" -->
  421. <div class="memitem">
  422. <div class="memproto">
  423. <table class="memname">
  424. <tr>
  425. <td class="memname">void QBtServiceDiscoverer::startObexDiscovery </td>
  426. <td>(</td>
  427. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  428. <td class="paramname"><em>targetDevice</em></td><td>)</td>
  429. <td><code> [slot]</code></td>
  430. </tr>
  431. </table>
  432. </div>
  433. <div class="memdoc">
  434. <p>Starts service discovery for OBEX services only. New services found are reported through signal "newServiceFound" or can be aquired through "getInquiredServices" function </p>
  435. </div>
  436. </div>
  437. <a class="anchor" id="a35a98e923c80959f995996a6a1164eb3"></a><!-- doxytag: member="QBtServiceDiscoverer::startRfcommDiscovery" ref="a35a98e923c80959f995996a6a1164eb3" args="(const QBtDevice &amp;targetDevice)" -->
  438. <div class="memitem">
  439. <div class="memproto">
  440. <table class="memname">
  441. <tr>
  442. <td class="memname">void QBtServiceDiscoverer::startRfcommDiscovery </td>
  443. <td>(</td>
  444. <td class="paramtype">const <a class="el" href="class_q_bt_device.html">QBtDevice</a> &amp;&#160;</td>
  445. <td class="paramname"><em>targetDevice</em></td><td>)</td>
  446. <td><code> [slot]</code></td>
  447. </tr>
  448. </table>
  449. </div>
  450. <div class="memdoc">
  451. <p>Starts service discovery for RFCOMM services only. New services found are reported through signal "newServiceFound" or can be acquired through "getInquiredServices" function. </p>
  452. </div>
  453. </div>
  454. <a class="anchor" id="a149960c3f21c6d7920e246f525d792f8"></a><!-- doxytag: member="QBtServiceDiscoverer::stopDiscovery" ref="a149960c3f21c6d7920e246f525d792f8" args="()" -->
  455. <div class="memitem">
  456. <div class="memproto">
  457. <table class="memname">
  458. <tr>
  459. <td class="memname">void QBtServiceDiscoverer::stopDiscovery </td>
  460. <td>(</td>
  461. <td class="paramname"></td><td>)</td>
  462. <td><code> [slot]</code></td>
  463. </tr>
  464. </table>
  465. </div>
  466. <div class="memdoc">
  467. <p>Stops service discovery. Services found so far can be acquired using "getInquiredServices" function. </p>
  468. </div>
  469. </div>
  470. <hr/><h2>Friends And Related Function Documentation</h2>
  471. <a class="anchor" id="a8333f6f086348948fe08473271ccd4ab"></a><!-- doxytag: member="QBtServiceDiscoverer::QBtServiceDiscovererPrivate" ref="a8333f6f086348948fe08473271ccd4ab" args="" -->
  472. <div class="memitem">
  473. <div class="memproto">
  474. <table class="memname">
  475. <tr>
  476. <td class="memname">friend class QBtServiceDiscovererPrivate<code> [friend]</code></td>
  477. </tr>
  478. </table>
  479. </div>
  480. <div class="memdoc">
  481. </div>
  482. </div>
  483. <hr/>The documentation for this class was generated from the following file:<ul>
  484. <li><a class="el" href="_q_bt_service_discoverer_8h_source.html">QBtServiceDiscoverer.h</a></li>
  485. </ul>
  486. </div>
  487. </div>
  488. <div id="nav-path" class="navpath">
  489. <ul>
  490. <li class="navelem"><a class="el" href="class_q_bt_service_discoverer.html">QBtServiceDiscoverer</a> </li>
  491. <!-- window showing the filter options -->
  492. <div id="MSearchSelectWindow"
  493. onmouseover="return searchBox.OnSearchSelectShow()"
  494. onmouseout="return searchBox.OnSearchSelectHide()"
  495. onkeydown="return searchBox.OnSearchSelectKey(event)">
  496. <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  497. <!-- iframe showing the search results (closed by default) -->
  498. <div id="MSearchResultsWindow">
  499. <iframe src="javascript:void(0)" frameborder="0"
  500. name="MSearchResults" id="MSearchResults">
  501. </iframe>
  502. </div>
  503. <li class="footer">Generated on Wed Jan 4 2012 21:05:39 for QBluetoothZero by
  504. <a href="http://www.doxygen.org/index.html">
  505. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
  506. </ul>
  507. </div>
  508. </body>
  509. </html>