Cancel GATT connect

This is a simple test to check if gatt.connect() can be cancelled by gatt.disconnect().

Step 1

Press the button to load the code to the Espruino IDE. From there, flash any Bluetooth capable Espruino device.

View source.

Step 2

Press the button to start pairing.

Step 3

Unplug the Espruino Pixl.js from power source and click the button.

Status: