1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/// Parsed representation of the `Flag` field in HJ212.
///
/// Per HJ 212—2025 (6.3.3), `Flag` is an integer in range 0..=255, and bits map to:
/// - Bits 2..=7: standard version (V0..V5)
/// - Bit 1: whether packet fields (`PNUM`/`PNO`) exist (A)
/// - Bit 0: whether the command requires acknowledgement (D)