On Disconnect Event

With reference to this thread:

It would be extremely useful to expose a bluetooth disconnect event that can be hooked via the existing programCommandsToRunOnEvent method.  In my use case I would like to be able to switch off the Accelerometer and configure the LED to indicate disconnect to the user, but with control over what the firmware does at disconnect there are a world of options  opened up.

This discussion has been closed.