the Android application code.</p>

<p>Once Bluetooth is enabled with the code shown above, the accessory listens for connection
requests. The ADK library handles listening and connection details, so the accessory calls
<code>ADK::adkEventProcess()</code> once during each loop execution:</p>

<pre>
void loop(void)
{
  ...
  L.adkEventProcess(); //let the adk framework do its thing
  ...
}
</pre>

<p>If a Bluetooth connection has been established, any commands are routed to the
<code>btAdkPortRx()</code> call