Disconnected
data class Disconnected(val reason: DisconnectReason = DisconnectReason.Unknown) : BleConnectionState(source)
The peripheral is disconnected.
Parameters
reason
why the disconnect occurred. DisconnectReason.Unknown when the platform doesn't provide status information (e.g. JavaScript) or when the disconnect was synthesised locally without a GATT callback.