Nothing to See Here

Once again I spent my night working on WristCoin. It turns out that doing asynchronous lookups of Bitcoin prices and sending them to the Pebble as they come in is a recipe for bad times. The Pebble can only handle a single incoming message, which it must process before it will accept another incoming message. There is no way that I’ve found to check from the phone side whether or not the Pebble is ready to accept another message so I had to switch over to synchronous lookups, which is not ideal in my book (I like firing and forgetting as opposed to waiting around for each price to arrive before looking up the next price). Considering how resource constrained the Pebble is I do understand this design decision but it’s a pain in my ass.