Do you really need to send barcodes from Android to Bangle each time a user wants to show a barcode in a store?
Well, it seems like the best user experience as it allows you to keep managing your loyalty cards on your phone instead of having to duplicate the cards you care about.
Sending bitmaps via BLE each time may be not a best way to do it.
Barcodes are basically 1 row of pixels expanded vertically. I would send 1 row bitmap and then expand it in Bangle JS. 176/8 will be just 12 bytes.
Well, the "standard" barcodes are. But Aztec, Data Matrix, PDF 417 and QR codes are not. So this optimization would only be possible for some barcode types.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sending bitmaps via BLE each time may be not a best way to do it.
Barcodes are basically 1 row of pixels expanded vertically. I would send 1 row bitmap and then expand it in Bangle JS. 176/8 will be just 12 bytes.