I have succeeded using the stack in Windows and I am trying to use BACnet in Linux with MSTP as datalink. I use an Arduino as USB/TTL converter but I can't find the port for my Arduino.
I understand that I should change the port throught BACnet_IFACE variable but I dont know the port for my arduino. I tried /dev/ttyUSB0 but it is not the right one
Is there a Linux command for finding the name of the right port?
Thanks for any reply
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have succeeded using the stack in Windows and I am trying to use BACnet in Linux with MSTP as datalink. I use an Arduino as USB/TTL converter but I can't find the port for my Arduino.
I understand that I should change the port throught BACnet_IFACE variable but I dont know the port for my arduino. I tried /dev/ttyUSB0 but it is not the right one
Is there a Linux command for finding the name of the right port?
Thanks for any reply
The Linux command to find things attached to USB ports is:
Or just list the /dev/tty* file names:
There is a discussion about how to find specific serial ports here:
http://unix.stackexchange.com/questions/81754/how-can-i-match-a-ttyusbx-device-to-a-usb-serial-device
Thank you Mr.Karg
It was /dev/ttyACM0 the port I needed.