Bluetooth low energy system design, response protocol
<p>I currently have a bluetooth low energy peripheral device (written in swift, an OSX machine) with a single service. The service has two characteristics, one that is to be written to by a central device (Android) with a string representing a command, and another that the peripheral writes to with a response corresponding to the command it has received.</p>

<p>The question I have is this: is that a normal way to go about this? Or is there a better way to respond to a write from the central device?</p>

<p>I am also having some trouble writing the Android side of this, I have been using BLE Scanner to test and it has worked perfectly but I cannot find the source of an example that works similarly.</p>