Skip to content

Testing tools (binary/text) for RS232, QTcpSocket, QLocalSocket

Notifications You must be signed in to change notification settings

alphaonex86/debug-devel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is tools to do multiple test with QLocalServer/QLocalSocket, QTcpServer/QTcpSocket and RS232.
It allow import/export binary on file, send raw hexa or raw text, for the server: multiple client is managed.

=============== Licence ===============
All the code is under GPL3.

============== Compression ============
The compression on the QTcpSocket is compatible with QSslSocket.
The generic interface is used, multiple algorithm like zlib, gzip, lz4, lz4hc is implemented. Can be extended.
The compression can be hot added/removed, but is not used with this application.
The zlib/gzip can be compressed only as packet due to qtiocompressor bug (I think).
lz4/lz4hc have only compression by message (all the data sended to the compressor).

================= LZ4 =================
You can see more details about lz4 class on:
http://pokecraft.first-world.info/wiki/Lz4CompressionTcpSocket_for_Qt
For this, the size of uncompressed packet is send on usigned int before the compressed data.

About

Testing tools (binary/text) for RS232, QTcpSocket, QLocalSocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published