Browser Bluetooth proof of concept
XPrinter XP-P323B / XP-P326B
Discover the printer, inspect BLE services, find a writable characteristic, then test label and receipt command flows from the browser.
Connect
Safest browser flow: explain first, then use the browser Bluetooth chooser. Native apps are required for fully custom pairing.
macOS/Windows: use Chrome or Edge Web Bluetooth with the native chooser.
Android POC: use Chrome Web Bluetooth if BLE is exposed; native app is safest for Classic SPP.
iOS POC: use Bluefy with BLE service 18F0; production should use a native CoreBluetooth app.
Print Test
XPrinter XP-P326B supports multiple command families; this POC starts with TSPL labels and ESC/POS receipts.
Status & Sensors
Reads come back as printer status bytes, not direct browser sensor streams. Use raw bytes to map exact XPrinter behavior for paper end, head open, gap/black mark, and errors.
GATT Inspector
Use this output to fill in stable service and characteristic UUIDs after hardware testing.