readPacket
Reads the next complete NCI packet from the controller, or returns null if closed.
Throws
IOException
if reading from the controller transport fails.
CancellationException
if the coroutine is cancelled.
Reads the next complete NCI packet from the controller, or returns null if closed.
if reading from the controller transport fails.
if the coroutine is cancelled.