Category : serial-communication

I am trying to tap into the communication between a proprietary legacy software installed on a 32-bit Windows PC and a serial device: Device—COM1—legacy software I am aware that this topic has been frequently discussed before, I linked some of the discussions here: Listening to Serial Com Ports that are In use Creating a pair ..

Read more

I am finding way to send hex data via serial communication i searched it several times and followed some ways but it didn’t work. i checked that protocol is working with using other software that sending hex data to device below is my code const char data[]={0xAA,0xAA,0x01,0x00,0x00,0x0E,0x00,0x01,0x00,0x00,0x00,0x2D,0x37,0x1D,0xAA,0xAA,0x01,0x00,0x00,0x0E,0x00,0x0C,0x10,0x00,0x00,0x01,0x76,0x13}; serial->setPortName(("COM8")); initSerialPort(); // baud rate and etc if(serial->open(QIODevice::ReadWrite)) ..

Read more