api/serialport library
Classes
- LddSerialPortInfo
- LddSerialPortType
- LddSerialPortType_BluetoothPort
- LddSerialPortType_PciPort
- LddSerialPortType_Unknown
- LddSerialPortType_UsbPort
- LddUsbPortInfo
-
Contains all possible USB information about a
SerialPort
Functions
-
getAvailablePorts(
) → List< LddSerialPortInfo> - 获取可用的端口
-
tryGetPort(
{required String path, required int baudRate}) → NavitePort - 查找