state

val state: StateFlow<ConnectionState>

The current state of the peripheral as a state flow.