# Detecting Serial Port's ID in processing?

**URL:** <https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342>\
**Category:** Libraries\
**Created:** [June 28, 2018, 4:48pm UTC](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342 "2018-06-28T16:48:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liudr](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@liudr](https://discourse.processing.org/u/liudr)\
**Post date:** [June 28, 2018, 4:48pm UTC](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342/1 "2018-06-28T16:48:14Z")

</div>

I am new here, for the 3rd time. My prior experience with Processing \<1.0 was great and I remember using serial port with it. I am wondering whether it is feasible to detect serial port’s unique ID from within Processing. A serial port chip such as FTDI232R has an embedded ID on board so if I can detect it, I can distinguish which serial port is which chip/microcontroller instead of always assuming the last one on the list is the one I need. It’s crucial to what I’m doing. I can do this in Python using Pyserial module but there seems to be a bug on windows and the serial number was not 100% correctly obtained. I’m hoping to see better results in Processing. Thanks.

---

<div class="post-metadata">

**Author:** ![liudr](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@liudr](https://discourse.processing.org/u/liudr)\
**Post date:** [June 28, 2018, 5:13pm UTC](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342/2 "2018-06-28T17:13:12Z")

</div>

I found some discouraging posts saying about a call getProperties() being implemented on Linux not Windows. Tried some code and the call returned blanks.

[https://forum.processing.org/two/discussion/2848/automatic-connection-to-device-with-new-serial-library](https://forum.processing.org/two/discussion/2848/automatic-connection-to-device-with-new-serial-library)
