<@U0B8ZP13Q> So a little more detail on this is th...
# getting-started
b
@cedric So a little more detail on this is that I have a command queue that executes bluetooth commands on Android. The communication process is obviously asynchronous, but due to the instability of Android’s bluetooth stack and with repeated testing, I’ve found that using bluetooth as synchronously as possible makes it the most stable. I make a command and get a response and then I tell the queue to go ahead an send another command only after I get a response. Checking the type of the command completed against the type of the command sent is just a sanity check to see that commands aren’t being completed sent out of order, it’s not perfect, but I hope it will give me insight to when things are going bad.