CodeSOD: High Temperature
thedailywtf.com·9h
Flag this post

Brian (previously)found himself contracting for an IoT company, shipping thermostats and other home automation tools, along with mobile apps to control them.

Brian was hired because the previous contractor had hung around long enough for the product to launch, cashed the check, and vanished, never to be heard from again.

And let’s just say that Brian’s predecessor had a unique communication style.

private class NoOpHandler extends AsyncCharisticHandler {
public NoOpHandler(Consumer<BluetoothGattCharacteristic> consumer) {
super(null, consumer);
}

@Override
public void Execute() {
// Don't do any actual BLE Communication here, and just go straight to the callback, This
// handler is just to allow people to get a callback ...

Similar Posts

Loading similar posts...