Device identification and logging

When you use glob paths, for example, /dev/ttyUSB*, to expose multiple similar devices, the GDP allocates devices based on availability. However, if your application needs to connect to an exactly specified physical device, for example, serial device 3 out of 10, using broad glob paths might be insufficient. In such cases, configure individual device entries in the config.yaml file using more stable and unique identifiers such as:

  • Specific device paths, for example, /dev/video0.

  • Symbolic links provided by the operating system, for example, /dev/serial/by-id/ or /dev/serial/by-path/.

  • USB vendor ID, product ID, and serial number combinations for precise USB device targeting.