connect
Initiates a connection, suspending until connected, or failure occurs. Multiple concurrent invocations will all suspend until connected (or failure occurs). If already connected, then returns immediately.
Throws
when a connection request is rejected by the system (e.g. bluetooth hardware unavailable).
if Peripheral's Coroutine scope has been cancelled.