Repository navigation
Android 1.3
One APK for every device: Android 5.0 and newer, all CPU types. Sideloading needs "Install unknown apps" allowed. It is signed with the same key as earlier releases, so it installs over them and existing licence keys keep working.
New in 1.3
ePOS over HTTPS. A POS page served over https cannot call an http address, so the phone now serves ePOS on https port 8443 as well as http 8080. The certificate is self-signed, made by the phone for its own addresses. Each client device trusts it once: Copy certificate link copies https://<phone address>:8443/cert; open it on the client, accept the warning, and the page confirms the device trusts the bridge and offers the .cer for a permanent install.
ePOS device id. The endpoint answers the id you set (local_printer by default, or a name such as kitchen) and replies DeviceNotFound to any other, as a real printer does. The header shows both links with ?devid= filled in, and Copy ePOS link copies one ready to paste. A change applies at once.
Clearer logs when a client gets it wrong. A client that speaks HTTPS to the http port is named, with the port to use instead. A client that speaks plain http to the https port is pointed at the certificate page. A request that never completes is logged with its request line.
Device, Battery and Cool-down cards.
- Tiles and 60-second graphs for USB, Wi-Fi, Bluetooth, processor, RAM and temperatures, with a touch tooltip. Each tile says how the reading was obtained: Android hides system CPU load from apps, so the processor tile shows the cores' clock and is marked as an estimate; GPU load is not available to apps at all.
- Every printer event is marked on the same timeline and listed with its time.
- A battery card with level and current graphs that flips over to everything Android reports.
- A cool-down timer. Android lets no app slow the CPU, so the bridge throttles itself: normal Wi-Fi lock, discovery paused, Print-menu pages rendered at 100 dpi, slower sensor reads. Prints still go through.
- Everything is logged to
telemetry-YYYYMMDD.csvin the app's files folder, one row every 5 seconds, kept 14 days, with Share and Clear buttons.
Fold and reorder. Every card, and every block inside the Device and Battery cards, is an accordion section: tap its heading to fold it (a one-line summary stays in the heading), drag its ≡ grip to move it. Folds and order are remembered.
Verified
Built from a fresh clone of the android branch. Desktop checks pass: 24 for the status responder, 93 for the core including a real TLS handshake against the phone's certificate builder, and 21 that run the ePOS server over http and https.
On a real phone (Ulefone Armor 9E, Android 10): the cards, folding and dragging, a cool-down started and stopped, and from a PC against the phone: the certificate page and download over https, a ticket printed over https to an Epson TM on the LAN, DeviceNotFound for another id, and the log naming a client that used the wrong scheme. The CPU thermal zone is not readable on that phone, so its temperature graph shows the battery sensor only.
Not yet tested: the certificate page opened from a phone or tablet browser, and printing through the USB-OTG, Bluetooth and Sunmi routes.
SHA-256 of UsbLanPrinterBridge-android.apk:
6e1c20dabec4d6a06df7281181f1bb35689c3136058916f1bce78f610c892800