Kingal1337 / flipper-barcode-generator

A barcode generator for the Flipper Zero that supports UPC-A, EAN-8, EAN-13, Code-39, Codabar, & Code-128
MIT License
56 stars 8 forks source link

Wrong # of characters when loading saved barcode file #9

Closed AlexNashZemlyak closed 8 months ago

AlexNashZemlyak commented 9 months ago
flipper error

Latest flipper firmware, app is up to date, I can successfully create barcode (no matter what Type) but when I trying to load it, I get this message ( "Wrong # of characters") what am I doing wrong?

Kingal1337 commented 9 months ago

which barcode type are you using and what did you put in the data field? Some barcode types require a specific number of characters

AlexNashZemlyak commented 8 months ago

С128 and all I had coded on flipper was numbers, the app generated the file but unable to read it back

which barcode type are you using and what did you put in the data field? Some barcode types require a specific number of characters

AlexNashZemlyak commented 8 months ago

actually i had tried different types but result is the same

Kingal1337 commented 8 months ago

I just did a fresh install of the official flipper firmware and installed the barcode app via the flipper app store. I have no problems with any of the barcode types. I also installed RogueMasters firmware and it works fine there.

Which firmware are you on? Official? RogueMaster? Unleased? Xtreme? other? How did you get the app? app store? manual install? third-party firmware? Also if it is possible could you send me the barcode file from your SD card?

To get the file 1) Plug in your SD card to your computer 2) go to apps_data folder 3) go to barcodes folder 4) open your barcode file 5) copy the contents and paste it here. (Note: you could also attach the barcode.txt)

AlexNashZemlyak commented 8 months ago

I just changed type of my unreadable file from Code 128C to Code 128 and it works ( but reader can't read the code from Flipper's screen anyway)

My firmware is Unleashed

I got the app via store Per.txt - this one is opens PerC.txt - this one is not

Kingal1337 commented 8 months ago

I see what the problem is now, Code128C must have an even number of characters in order for it to work, that is why you got the error "Wrong # of Characters". I will change it so it gives more descriptive errors.

The reason why it cant be read with the reader is because the screen is way too small to show that many characters, the flipper can probably show about 8 maybe 9 characters (using code128) before the code gets too large and overflows off the screen. The code you sent me is 21 characters, way too many for the flipper to handle