qextserialport

readyRead() signal of QextSerialPort (QIODevice) is not being called fast enough

删除回忆录丶 提交于 2020-01-24 16:17:06
问题 I am using qextserialport on a Raspberry Pi to communicate with an PanStamp (Arduino compatible device). This PanStamp connected to the Pi executes two functions: Send some sensor's readings each second (about 12 bytes); Send all data it receives through a wireless link (about 60 bytes about 6 times per second). My architecture is: Hub : PanStamp + Raspberry Pi; Satellite : PanStamp + a few sensors. There are two situations: Satellite on sending data wirelessy to the Hub. I this situation the

How to write on serial port using Qextserialport

▼魔方 西西 提交于 2019-12-22 08:48:51
问题 I am using Ubunt 10.10. I want to communicate with a microcontroller (ATmega328p) using serial through QT, so for testing I have created a dummy application on the microcontroller that reads character from the UART and responds on the serial port (replies) with the same character but in between brackets. If PC send: a , then PC receives reply [a] The application is working great, when I am using hyper terminal (GtkTerm) to send the characters from PC, but when I use QT it does not work. I am

Qt app stays in memory even after MainWindow is closed

坚强是说给别人听的谎言 提交于 2019-12-10 14:12:02
问题 The problem is as follows: if the application is closed while it's not actively doing anything, it exits correctly. If it's actively working on something (waiting in a while loop, for example), however, the main window will close but the program will continue to run in the background, as confirmed by opening the task manager. I've spent a good part of today googling the problem and implementing possible fixes, but to no avail. It seems like the quit() function simply doesn't do anything. Here

How to write on serial port using Qextserialport

Deadly 提交于 2019-12-05 15:56:22
I am using Ubunt 10.10. I want to communicate with a microcontroller (ATmega328p) using serial through QT, so for testing I have created a dummy application on the microcontroller that reads character from the UART and responds on the serial port (replies) with the same character but in between brackets. If PC send: a , then PC receives reply [a] The application is working great, when I am using hyper terminal (GtkTerm) to send the characters from PC, but when I use QT it does not work. I am sending from QT a character on the serial port, and I am waiting to receive a reply on the hyper