thenitek / catgfx Goto Github PK
View Code? Open in Web Editor NEWAdafruit GFX compatible arduino library for using cat thermal printers with the ESP32
License: The Unlicense
Adafruit GFX compatible arduino library for using cat thermal printers with the ESP32
License: The Unlicense
When calling cat.connect()
while the printer is on, my ESP32S3 crashes with the error message below. I have tried following the example code, with the only change being that I hardcode the BLEAddress so the board can actually find the printer.
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376cfc
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x43c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2a3c
SHA-256 comparison failed:
Calculated: dcde8d8a4817d9bf5d5d69a7247667264e4e10ac7493514868b61f5aa6146539
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98d8
I finally managed to build and upload your print demo example, but the Esp32-S3 does not connect to MX09 cat printer.
I used the setup instructions from: (https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples)
Attaching the serial output.
CatGFX_serial_output.txt
Hello,
I facing an issue with my MX10 printer. I replaced the string here but it still having this issue:
cat.addNameArray((char *)"MX10");
Error
08:49:20.538 -> Could not find printer!
Is there a debug mode?
Scan
Discovered Characteristics
Connected.
Discovered AE30 and AE3A Services.
Discovered Characteristics AE01, AE02, AE03, AE04, AE05, and AE10 for Service AE30.
Discovered Characteristics AE3B and AE3C for Service AE3A.
Characteristic AE01 has no Descriptors.
Discovered Client Characteristic Configuration for Characteristic AE02
Characteristic AE03 has no Descriptors.
Discovered Client Characteristic Configuration for Characteristic AE04
Discovered Client Characteristic Configuration for Characteristic AE05
Characteristic AE10 has no Descriptors.
Characteristic AE3B has no Descriptors.
Discovered Client Characteristic Configuration for Characteristic AE3C
Just tried to run the example and figured out that catGFX.h no longer exists instead <catprinter.h> would be apropriate. Maybe this is worth correcting....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.