Python Multithreading Chat over Serial Port with Qt interface and Encryption
The purpose of this project is to provide a multi-threading chat application with a friendly qt interface.
The idea behind serialChat is half-duplex communication over radio through serial port.
The serialChat is use Python 2.7
The serialChat depends on pyside project which is available on:
pip:
pip2 install pyside
the pyserial project:
github: https://github.com/pyserial/pyserial
For compatibility issues with WIN_XP it uses pyserial v2.7
It doesn't work with higher versions of pyserial.
pip :
pip2 install pyserial==2.7
the playsound:
pip:
pip2 install playsound
and the pycrypto :
pip:
pip2 install pycrypto
SOS to install pycrypto on windows XP it required to install first the Microsoft Visual C++ 9 for Python 2.7 from the internet
OR just:
pip2 install -r requirements.txt
There is no need for installation process.
Just clone the project to your computer and run the serialChat.py
python2.7 serialChat.py
Tested on:
- WIN_XP
- WIN7
- WIN10
- Linux
pip install pyinstaller
Inside the folder of SerialChat enter the command
pyinstaller --noconsole --onefile --icon resources\icons\chat.ico serialChat.py
Now put the serialChat.exe from the folder dist in the same folder with the folders config and resources and then you will able to run the serialChat by clicking on the serialChat.exe
After you start the application, you can go to the settings menu item and configure the serialChat with your specific configuration.
- Choose your serial port from the dropdown list.
- Change the serial port configuration to your needs.
- Enable ACP-127 text based protocol (optional).
- Enable AES-CBC encryption (optional).
- Enter your nickname.
- Change the path with one that you wish the incoming files to be saved.
Then you're ready to GO...