struct io.SerialPortDesc

Overview

This struct holds information about the serial port device. More…

import "io_base.jncx"
import "io_Serial.jnc"

struct SerialPortDesc {
    // fields

    io.SerialPortDesc const* m_next;
    string_t m_deviceName;
    string_t m_description;
    string_t m_manufacturer;
    string_t m_hardwareIds;
    string_t m_driver;
    string_t m_location;
};

Detailed Documentation

This struct holds information about the serial port device.

A list of serial port descriptions is returned by io.enumerateSerialPorts.

See also:

io.enumerateSerialPorts

Fields

io.SerialPortDesc const* m_next

Holds a pointer to the next serial port description or null if this is the last adapter.

string_t m_deviceName

Holds the serial port device name; use this name as name argument in io.Serial.open method.

string_t m_description

Holds a human-readable description of the serial port.

string_t m_manufacturer

Holds the name of the manufacturer of this serial port.

string_t m_hardwareIds

Holds hardware ID(s) of this serial port.

string_t m_driver

Holds information about the device driver for this serial port.

string_t m_location

Holds a string identifying the location of this serial port in the system device tree.