Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Serial port communication

tangentksai
Beginner
641 Views
I did a research on serial port communication. It seems to me that intel fortran compiler for linux doesn't support the serial port communication. Instead, sport_XXX routines are only for windows. I am just wondering whether I missed something that enables me to do the serial port communication in linux. Or is there any way to do or any library to use?

thanks in adavance!
0 Kudos
1 Reply
Yuan_C_Intel
Employee
641 Views
Quoting - tangentksai
I did a research on serial port communication. It seems to me that intel fortran compiler for linux doesn't support the serial port communication. Instead, sport_XXX routines are only for windows. I am just wondering whether I missed something that enables me to do the serial port communication in linux. Or is there any way to do or any library to use?

thanks in adavance!

Linuxuse device file toaccess device by users.For serial port device, normally it named as /dev/ttyS0, /dev/ttyS1 for com0 and com1.You can refer toserial portprogrammingunder linux for details on how to access it through file operations.
0 Kudos
Reply