Disconnected

constructor(reason: ConnectionState.Disconnected.Reason? = null)

Parameters

reason

Reason of disconnection or null if the connection was never initiated. This is the initial state of the peripheral.