# Deli XiangYinBao X1: reconstructing a Bluetooth label printer protocol

> Deli XiangYinBao X1 reconstructs the portable label printer's proprietary Bluetooth printing protocol from HCI captures and Frida observations. It documents CRC32 framing, 384-dot bitmap encoding, replies, and print sequencing, with Python and JavaScript implementations, capture parsers, and regression tests.

- Type: Case study
- Targets: Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/laishouchao/deli-xiangyinbao-x1-reverse>
- Primary source: <https://github.com/laishouchao/deli-xiangyinbao-x1-reverse/blob/b83bcc6921e6f207e30bfc503df28c9f70ad8bde/README.md>
- Catalog page: <https://awesomerea.org/resources/deli-xiangyinbao-x1-protocol-case/>
- Record JSON: <https://awesomerea.org/resources/deli-xiangyinbao-x1-protocol-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/deli-xiangyinbao-x1-protocol-case/index.md)

## Requirements & limits

- **Prerequisites:** A Deli XiangYinBao X1 printer is required for physical printing; protocol tests can use the included captures without hardware.
- **Prerequisites:** The PC client uses bleak, pyserial, Pillow, and segno.
- **License:** MIT license.

## Primary sources

1. <https://github.com/laishouchao/deli-xiangyinbao-x1-reverse/blob/b83bcc6921e6f207e30bfc503df28c9f70ad8bde/README.md>
2. <https://github.com/laishouchao/deli-xiangyinbao-x1-reverse/blob/b83bcc6921e6f207e30bfc503df28c9f70ad8bde/docs/PROTOCOL.md>

## More in Protocols

- [KardiaMobile 6L Unlocked: a direct BLE ECG client](https://awesomerea.org/resources/kardiamobile-6l-unlocked-case/index.md) · Case study
- [Elan 04f3:0903: reconstructing a fingerprint sensor's Linux interface](https://awesomerea.org/resources/elan-0903-fingerprint-linux-case/index.md) · Case study
- [FIIL 耳机控制: a Windows client for FIIL headphone BLE commands](https://awesomerea.org/resources/fiil-headphone-control-case/index.md) · Case study
- [Wireless AA Bridge: reconstructing a wireless Android Auto relay](https://awesomerea.org/resources/wireless-aa-bridge-case/index.md) · Case study
- [atmos-lcd: a replacement client for the MasterLiquid Atmos II LCD](https://awesomerea.org/resources/atmos-lcd-case/index.md) · Case study
- [B&K 2318: reconstructing a thermal printer's serial interface](https://awesomerea.org/resources/bk2318-esp32-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
