Skip to content

ESP32 BLE printer server for reverse engineering the protocol on my cheapo thermal printer

Notifications You must be signed in to change notification settings

hayleyxyz/esp32-ble-printer-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 BLE Printer Server

This project is a good exercise in understanding the Bluetooth protocol and how easy it is to implement a fake/mimic device in code to ease in reverse engineering, or adapting products outside their indented purpose.

This code advertises a service UUID our target apps are looking for, and then creates a service with write and notify characteristics (think of these as endpoints you can write/read/push data to/from), then we simply dump what the Android printer apps send us.

This code has some protocol-specific packet decoding, but that can simply be removed and replaced.

About

ESP32 BLE printer server for reverse engineering the protocol on my cheapo thermal printer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages