<!-- Canonical page: https://reversedwithai.com/p/cat-printer-ble-chatgpt -->
Canonical page: https://reversedwithai.com/p/cat-printer-ble-chatgpt

# Reverse engineered a Bluetooth cat-shaped thermal printer with ChatGPT's help

> No Bluetooth background, a cat-shaped printer, and dithered images printing.

Captured the Fun Print app's Bluetooth traffic with Apple's PacketLogger, worked out the command and 48-byte line format with ChatGPT, and printed dithered images from custom CoreBluetooth code.

## Key facts

- Target: Cat-shaped BLE thermal printer
- Category: Firmware and hardware
- Platform: macOS / BLE
- Models: ChatGPT
- Tools: PacketLogger, CoreBluetooth
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: yes; Verified by others: not reported
- Author: Mertol Kasanan
- Added: 2026-10-14
- Updated: 2026-10-14
- Sources reviewed: 2026-10-14 (editor)

## What was done

Mertol Kasanan reverse engineered a cheap cat-shaped Bluetooth thermal printer that only works with the vendor's Fun Print app. With ChatGPT explaining Bluetooth and writing code, Kasanan captured the app's traffic with Apple's PacketLogger, decoded the commands and line format, and printed dithered images from custom CoreBluetooth code.

Existing open-source libraries did not support the printer's hardware version, and Kasanan had no Bluetooth background. Kasanan installed Apple's Bluetooth logging profile on an iPhone and used PacketLogger to record the traffic between Fun Print and the printer, then read through the HCI, L2CAP and ATT layers, where the printer commands sit. ChatGPT helped build a CoreBluetooth class to scan, connect and discover characteristics, and Kasanan replayed the captured commands while changing values to see what happened.

Kasanan found a header command that changes with the print length and a darkness command with values from 1 to 100. Sending 384 values per line produced a garbled, sliding pattern. Trial and error showed that 48 values per line worked. Since 384 divided by 48 is 8, each byte packs eight 1-bit pixels. The image pipeline converts to grayscale, resizes, dithers, splits into lines and packs the bits.

The code sends dithered images over Bluetooth, and with proper flow control it can print long images until the roll runs out. ChatGPT had suggested Wireshark or dedicated sniffing hardware, which Kasanan calls bad advice because PacketLogger was simpler and free. The app's HD mode, which prints true gray tones, uses a different encoding and was left for a part 2.

## Human work and limitations

The author had no Bluetooth background and relied on the LLM for explanations and code. ChatGPT suggested Wireshark or sniffing hardware, which the author calls bad advice. Grayscale printing was left for a part 2.

## Sources

- [Write-up](https://mertol.substack.com/p/reverse-engineering-a-cat-printer)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Mertol Kasanan (2026). Reverse engineered a Bluetooth cat-shaped thermal printer with ChatGPT's help. Reversed with AI. https://reversedwithai.com/p/cat-printer-ble-chatgpt
