package com.waytous.anticollision.serial

import android.hardware.usb.UsbDevice
import com.hoho.android.usbserial.driver.UsbSerialDriver

/**
 * USB串口设备信息
 * @param deviceId 设备id
 * @param portNum usb port id
 * @param baudRate 波特率
 * */
data class SerialDeviceInfo(
    val deviceId: Int,
    val portNum: Int,
    val baudRate: Int,
    val device: UsbDevice,
    val driver: UsbSerialDriver?
)