how to deal with the serial port in android mobile?
问题 actually I know no thing about serial port. but I see an example of sending it an at-command: echo -e "AT" > /dev/smd0 What is /dev/smd0 and why they sometimes replace it with /dev/ttyS0. 回答1: /dev/smd0 and /dev/ttyS0 are device files. Such files are virtual files that provide a file I/O operation interface for working with some underlying thing like for instance hardware resources like serial ports, hard disks and memory, or with non-hardware resources like process information, random number