pan class="token keyword">suspend </span><span class="token keyword">fun </span><a href="connect.html"><span class="token function">connect</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">peripheral<span class="token operator">: </span><a href="index.html">P</a></span></span><span class="token punctuation">)</span></div><p class="paragraph">Connects to the given device.</p><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterab