triggerWrite

suspend fun triggerWrite(characteristic: UUID, value: ByteArray, device: ConnectedDevice = MockConnectedDevice(), offset: Int = 0): GattResponse.WriteResponse

Simulates a connected central writing value to characteristic by invoking the captured write action.

Return

the GattResponse.WriteResponse produced by the server-side delegate.