class methods
This describes a Serial device, what ID it has, what name it has, and the path to the device.
Describes a Serial device, including ID, name and path.
Construct an undefined serial device.
Construct an ofSerialDeviceInfo with parameters.
Parameters:
devicePathIn The path to the device.
deviceNameIn The name of the device.
deviceIDIn The ID of the device.
Gets the ID of the device
Example: 0,1,2,3 etc.
0
1
2
3
Returns: the device ID.
Gets the name of the device
Example: usbdevice-a440 or COM4.
usbdevice-a440
COM4
Returns: the device name.
Gets the path to the device
Example: /dev/tty.cu/usbdevice-a440.
/dev/tty.cu/usbdevice-a440
Returns: the device path.
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue
openFrameworks is developed and maintained by several voluntary contributors.
Donations help support the development of openFrameworks, improve the documentation and pay for third party services needed for the project.
If you are using openFrameworks commercially or would simply like to support openFrameworks development, please consider donating to the project.
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue