peripage-python
peripage-python copied to clipboard
USB communication
Based on recent research, this printer supports USB communications using the same protocol as bluetooth.
The task is to implement the USB protocol and all supply all requirements to make it work.
Steps:
- Implement abstract IO layer supporting^
- connect / disconnect
- read / write
- is_connected
- based on this implementation, port library from bluetooth to AbstractIO communication and support both: bluetooth and USB
Second step: CUPS driver using this module and/or native implementation in C/C++