hi,
i did by using linux syscalls.I used these codes in my qt application. but the i could not get the output i desired. Thats what i went for this package. but this also did not work. :( Looking for some other way..:confused:
Printable View
hi,
i did by using linux syscalls.I used these codes in my qt application. but the i could not get the output i desired. Thats what i went for this package. but this also did not work. :( Looking for some other way..:confused:
Are you working with Qt or QTopia?
I'm working with qt-embedded -3.3.5 version.
It could be the reason this is not working, since it could be that the low level port handling is diefferent on your embeded system.Quote:
I'm working with qt-embedded -3.3.5 version.
In the docs of QexstSerialPort 0.70:
You might try one of these defines, in case your system is compatible with one of them.Quote:
Posix_QextSerialPort::Posix_QextSerialPort ( )
Default constructor. Note that the name of the device used by a QextSerialPort constructed with this constructor will be determined by defined constants, or lack thereof - the default behavior is the same as _TTY_LINUX_. Possible naming conventions and their associated constants are:
Constant Used By Naming Convention
---------- ------------- ------------------------
_TTY_WIN_ Windows COM1, COM2
_TTY_IRIX_ SGI/IRIX /dev/ttyf1, /dev/ttyf2
_TTY_HPUX_ HP-UX /dev/tty1p0, /dev/tty2p0
_TTY_SUN_ SunOS/Solaris /dev/ttya, /dev/ttyb
_TTY_DIGITAL_ Digital UNIX /dev/tty01, /dev/tty02
_TTY_LINUX_ Linux /dev/ttyS0, /dev/ttyS1
<none> Linux /dev/ttyS0, /dev/ttyS1
This constructor assigns the device name to the name of the first port on the specified system. See the other constructors if you need to open a different port.
And next time post QTopia questions under the QTopia forum.
hello dear all,
will anybody pls post any working qt3 example of qextserial.
thanks in advance
see post 21 in this thread.
It is an example for Qt4, but the differences are minimal, or none.
With reading the docs this example is more then enough to get started.