I'm making an application in Java that is meant to run on my Raspberry Pi. It uses usb4java to detach the kernel's driver and give me its data directly. The scanner itself works like a keyboard. When it detects something, it sends it with a new-line character. The barcode that was scanned above corresponded to "K1215500". I'm not sure why there were several inputs that were just 0s (might be delimiters for a driver), but now I have no idea what kind of encoding this is. It is definitely not ASCII. If the first row is "K", then it seems like "1" is 30, "2" is 31, "5" is 34, "0" is 39, and "\n" is 40, so there is some coherence to this, I just don't know what it is. Do they correspond to some sort of keycode schema a keyboard driver would know? Thanks in advance
I can't figure out this barcode scanner's encoding
135 Views Asked by HydroPage At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in RASPBERRY-PI
- Raspberry Pi Sense Hat with Pyinstaller
- Waiting for several hours before resuming execution
- Using compositor in Gstreamer to merge imagesequence with video/audio stream
- How to make this sensor keep taking readings once its when_in_range function has been activated?
- Emulating an HID device with a raspberry pi 5
- How to stream PCM audio to a speakers both on mac and linux in Node.js?
- I want to use NRF24L01 transceiver with raspberry pi but some GPIO pins are already occupied by 3.5 inch display how do i connect transceiver
- voron 2.4 mainsail kiauh error install crowsnest (solved problem)
- Pi4J minimal example's LED doesn't blink
- How can I connect and send data from react-native to raspberry pi
- Xpt 2046 Display with Pn532 RFID reader
- Google SDK for Raspberry pi
- How to use a RaspberryPi camera with the cv2.videoCapture() function?
- How do I capture audio from the system bus in a node app (or from sox) on a raspberry pi?
- Can't open /dev/mem: Operation not permitted Raspberry Pi
Related Questions in USB
- How to "Enable mobile data" on a Huawei E3372 4G USB dongle using a bash script in Windows
- onCompletion(mp: MediaPlayer?) is unintentionally called after USB storage is connected
- How to detect a pc from android
- Raspberry Pi sending/receiving data over usb
- Process incoming USB message without sitting in a while loop
- Linux to QNX USB driver convert
- To execute a program from a USB drive
- How do I create a way to communicate between a phone and a computer using a usb in Java
- USB is not recognized
- Transfer SQLite Database via USB-Cable
- Updating Ublox module via commandline with file
- RS422 communication using PySerial (Raspberry PI)
- USB and GPIB devices not recognized with PyVISA using ni-visa and ni-488.2 on Ubuntu 22.04 Linux
- How to write a Android native linux app to communicate via usb to PC?
- transfer data and/or receive data via a USB cable by connecting Android applications with Windows applications
Related Questions in USB4JAVA
- Detect input coming from which barcode scanner in Java
- Executing .jar file does not write a file every time... could it be a memory leak?
- I can't figure out this barcode scanner's encoding
- Get drive letters of USB 3.0 devices (Java under Windows)
- file.listRoots not working for a portable USB drive in Java
- how i get string path of device with usb4java?
- USB error 9: Unable to submit control message: Pipe error
- Java usb4java reading from usb device on windows 10 platform
- How to get button press event from camera
- Convert USB keyboard data from byte array to String USB4Java
- Caused by: org.usb4java.LoaderException: Native library not found in classpath /org/usb4java/windows-x86_64/libusb-1.0.dll
- No COM ports identified with usb4java
- How to Set BaudRate in order to communicate with USB CDC Serial
- usb4java: Unable to submit control message: Input/Output Error
- LibUsb error: device address collision with root hub
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

I figured it out after some more research. For anyone interested, this encoding is specifically the USB keyboard specification for keyboard commands. Check out page 83 of this PDF:
https://www.usb.org/sites/default/files/hut1_22.pdf
Cheers!