简体   繁体   中英

About Serial ports in linux

I am writing some code for xbee devices (RF module).

In Windows I connect app to com port writing COM10 - COM255 but in linux its like /dev/ttyUSB0 ....

I would like to know that is it goes like windows in linux to 255. Or exactly how many serial port does Linux support?

I think the easiest way is to install cutecom (it is in apt repository in Debian). It is a very light hyperterminal and the "Device" button show you all COM on your computer.

Another method is to install Arduino development interface. If you know it you can open a COM terminal in the option (or with ctrl+maj+m if I remember).

Hope it will help!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM