+ CH347-HIDAPI Github Page +
This project is the API library of CH347T USB-SPI/I2C/UART bridge chip based on Python.
Standard USB-HID mode setting of CH347T chip supported only
This library provides full access of SPI/I2C/UART settings and communication with CH347 USB-SPI/I2C/UART bridge chip in Python language.
For demonstration and code reference please refer to the demo.py file in source page.
CH347-Chip Official Site
pip install ch347api
Python >= 3.7
hidapi
The communication protocol with CH347 through USB-HID I wrote in this project based on the official demonstration APP. In other words that it was inferred from captured HID package when APP communicates.
THUS, THIS API MAY NOT FULLY CAPABLE OF EVERY FUNCTION IN OFFICIAL API FROM CH347DLL.DLL.
demo.py to demonstrate the usage of classes added above (simplified code)