[Ruby] Generate a concatenated QR code with rqrcode (Knowledge)

What is a linked QR code?

How can I get a linked QR code?

- length Contents to record
E 4bit Encoding mode(See table below)
SS (variable) Record the length of data to be recorded in the QR code
Encoding mode Value representing the mode
numeric 1 (0b0001)
alpha_numeric 2 (0b0010)
8bit_byte 4 (0b0100)
- length Contents to record
3 4bit Mode showing concatenated QR code(0b0011)
N 4bit Sequence number of QR code to be concatenated(Serial number from 0 to 15)
T 4bit Last sequence number of QR code(Serial number from 0 to 15)
PP 8bit Parity value of all data(XOR value of all bytes)
E 4bit Encoding mode(8bit_byte = 4)
SS (variable) Record the length of data to be recorded in one QR code

Please note that each reader behaves differently.

References

This article was written with reference to the following information.

Recommended Posts

[Ruby] Generate a concatenated QR code with rqrcode (Knowledge)
[Ruby] Generate a concatenated QR code with rqrcode (Practice)
Format Ruby with VS Code
Read and generate QR code [Android]
Make a typing game with ruby
Let's make a smart home with Ruby!
I made a risky die with Ruby
Extract a part of a string with Ruby
A memorandum to clean up the code Ruby
AtCoder Beginner Contest 169 A, B, C with ruby
Creating a browser automation tool with Ruby + Selenium
[Android] Read from QR code image with zxing
I built a Code Pipeline with AWS CDK.
[Ruby] How to generate a random alphabet string
Try debugging a Java program with VS Code
I made a portfolio with Ruby On Rails
Build a Java development environment with VS Code