All devices managed by HsM have at least one component with a QR codes that carries information about the component. The data encoded in these QR codes is used by clients (like Apps) to identify devices or to identify components.
Most of the data encoded in the QR-code (content) is usually also printed next to the QR-code in plain text.
The content is a UTF-8 encoded string without Byte order Mark. It consists of several lines separated by a linefeed (0x0A) character. The content of the first two lines is the same for all HsM QR codes (see 152), the contents of the following lines depend on the QR-code content type and subtype encoded in the first line.
Content part |
Location in content |
Description |
|---|---|---|
Content type |
All characters up to the first hyphen (U+002D, 0x2D) |
Content type and subtype define the structure and information of the rest of the content. |
Content subtype |
All characters after the first hyphen and up to the second hyphen (U+002D, 0x2D) |
|
Component-type code |
All characters after the second hyphen (U+002D, 0x2D) and up to the third hyphen. |
The component-type code of the component this QR-code is on. |
Item number |
All characters after the third hyphen (U+002D, 0x2D) and up to the first new line (U+000A, 0x0A) |
The item number of the component this QR-code is on. |
Serial number |
All characters of the second line in the QR-code content. |
The serial number of the component. |
Table 152: Content parts of the first line of a HsM QR-code
Content type |
Content subtype |
Name of QR-code type |
Description |
|---|---|---|---|
50 |
01 |
Used for 4Plus devices. |
|
50 |
02 |
Used on components that support BLE communication. |
|
50 |
03 |
Used for components that do not support network communication. |
|
50 |
05 |
Used for components that do not have a serial number. |
Table 153: Content types and content subtypes of QR-code content used by HsM