mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Zepp OS: Map barcode types for ITF, PDF_417 and DATA_MATRIX
This commit is contained in:
@@ -236,7 +236,10 @@ public class ZeppOsLoyaltyCardService extends AbstractZeppOsService {
|
||||
private static final Map<BarcodeFormat, Byte> BARCODE_FORMAT_CODES = new HashMap<BarcodeFormat, Byte>() {{
|
||||
put(BarcodeFormat.CODE_128, (byte) 0x00);
|
||||
put(BarcodeFormat.CODE_39, (byte) 0x01);
|
||||
put(BarcodeFormat.ITF, (byte) 0x02);
|
||||
put(BarcodeFormat.QR_CODE, (byte) 0x03);
|
||||
put(BarcodeFormat.PDF_417, (byte) 0x04);
|
||||
put(BarcodeFormat.DATA_MATRIX, (byte) 0x05);
|
||||
put(BarcodeFormat.UPC_A, (byte) 0x06);
|
||||
put(BarcodeFormat.EAN_13, (byte) 0x07);
|
||||
put(BarcodeFormat.EAN_8, (byte) 0x08);
|
||||
|
Reference in New Issue
Block a user