Closed williamd1k0 closed 2 years ago
I see it's yet another brand.
I'm gonna try another app, because it's a) by same vendor, b) looks cleaner ok, still that dirty, c) seems made for world I think it's also machine translated... "also"...
I don't think it's a fast process, since it's really different.
Hi, you may help me to find the Bluetooth "Characteristics" of YT01. Use nRF Connect, open the printer, find it with "Scanner" and see what's inside.
(the original app has really bad UI logic)
(the original app has really bad UI logic)
Yeah :sweat_smile:, I've tried this "Fun Print" now and it's actually the same as iBleem with slight differences in the UI.
Some pics:
Use nRF Connect, open the printer, find it with "Scanner" and see what's inside.
Ok, I will try it out.
Oh thank you, it's very detailed 😄 Next step for me is to trick the app to send data, dump it & analyze. The tool is also nRF Connect. And I feel these steps are universal and worth to make a tutorial later 🙃
The printer is completely different, maybe including communication "magic data". Let me gather more...
Oh, wait, Services/Characteristics UUID needs to be full. Long tap on each entry (and sub-entry) in connected YT01 "Client", on right-top there's copy button. Put them in a text file, and be sure to label corresponding Properties (read, write, notify, etc) It's a repeating process, but maybe worthwhile 😉
Some side notes:
assets
(of apk). but obfuscatedif
everywhere for different printer models)In order to really support all YTXX
I think we need more people, for sharing & testing.
But I have no ability to do them all by myself 😢
I will continue slowly.
EDIT: just now I see the "magic data" is likely to be the same (or very similar) as GBXX
models.
Oh, wait, Services/Characteristics UUID needs to be full. Long tap on each entry (and sub-entry) in connected YT01 "Client", on right-top there's copy button. Put them in a text file, and be sure to label corresponding Properties (read, write, notify, etc) It's a repeating process, but maybe worthwhile :wink:
No problem, I'll do that as soon as possible! (I'm a bit busy right now)
It's a repeating process, but maybe worthwhile
Thanks to KDE Connect I was able to share the text directly to my PC instead of copying/pasting everything manually :sweat_smile:
Let me know if anything is still missing.
Generic Access:
UUID: 0x1800
PRIMARY SERVICE:
Device Name:
UUID: 0x2A00
Properties: READ, WRITE
Parsed value: YT01
Raw value: (0x) 59-54-30-31, "YT01"
Unknown Service:
UUID: 0000ae30-0000-1000-8000-00805f9b34fb
PRIMARY SERVICE:
Unknown Service:
UUID: 0000ae01-0000-1000-8000-00805f9b34fb
Properties: WRITE NO RESPONSE
Unknown Service:
UUID: 0000ae02-0000-1000-8000-00805f9b34fb
Properties: NOTIFY
Unknown Service:
UUID: 0000ae03-0000-1000-8000-00805f9b34fb
Properties: WRITE NO RESPONSE
Unknown Service:
UUID: 0000ae04-0000-1000-8000-00805f9b34fb
Properties: NOTIFY
Unknown Service:
UUID: 0000ae05-0000-1000-8000-00805f9b34fb
Properties: INDICATE
Unknown Service:
UUID: 0000ae10-0000-1000-8000-00805f9b34fb
Properties: READ, WRITE
Parsed value: (0x) 00-00-00-00
Raw value: (0x) 00-00-00-00
Unknown Service:
UUID: 0000ae3a-0000-1000-8000-00805f9b34fb
PRIMARY SERVICE:
Unknown Service:
UUID: 0000ae3b-0000-1000-8000-00805f9b34fb
Properties: WRITE NO RESPONSE
Unknown Service:
UUID: 0000ae3c-0000-1000-8000-00805f9b34fb
Properties: NOTIFY
I see they are just very alike. Please test if this brute way would work:
printer_lib/models.py
, inside add a model YT01
as the same as any other:
Models = {
'YT01': Model(384, False),
'GB01': Model(384, False),
# ...
}
Edit: I've made this change in newest commit. You can simply try it by cloning repo.
It's working!!
Ah great 😄 So next times I should not overlook other models. They have big chance to be the same 😅 But who knows when I will meet a really different one...
Side note: this appearance (printer face) is the newest kind of my local Online store Off-topic: our laptop is very similar
Off-topic: our laptop is very similar
Hehe, mine is a Lenovo Ideapad S145.
So, I will close the issue now. Thanks again for working on this project, it's really helpful. I will definitely help improve the app (UI, features, i18n etc) in the future, one thing I was looking forward to before buying the printer was this specific project: https://github.com/receiptline/receiptline (I really like to automate things through the command-line :sweat_smile:).
FWIW, I was able to get my cat printer model (MX05) to work using the YT01 settings.
So there are many "unknown but supported" models. That may mean I should put a "Test other devices" feature, with existing settings :)
I bought this model recently and ended up getting a little frustrated because the only way to use it was through a suspicious mobile app. I will be very grateful if you can add support for this model. I can help you with any information, testing and maybe even coding.
Recommended app: (iBleem) https://play.google.com/store/apps/details?id=com.bleem.liugm
Thank you so much for working on this project.