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; typedef String string_t m_deviceName; typedef String string_t m_description; typedef String string_t m_manufacturer; typedef String string_t m_hardwareIds; typedef String string_t m_driver; typedef String 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:
Fields
io.SerialPortDesc const* m_next
Holds a pointer to the next serial port description or null if this
is the last adapter.
typedef String string_t m_deviceName
Holds the serial port device name; use this name as name argument in
io.Serial.open method.
typedef String string_t m_description
Holds a human-readable description of the serial port.
typedef String string_t m_manufacturer
Holds the name of the manufacturer of this serial port.
typedef String string_t m_hardwareIds
Holds hardware ID(s) of this serial port.
typedef String string_t m_driver
Holds information about the device driver for this serial port.
typedef String string_t m_location
Holds a string identifying the location of this serial port in the system device tree.