School of Specs 24.501v20.0.0

3GPP 24.501 v20.0.0 — the document's own text

9.1.2 Field format and mapping

Taught in 7. What a NAS message looks like on the wire (CT1 — the group that writes what your phone says, in depth), 4. Inside TS 24.501, the document at the centre (CT1 — the group that writes what your phone says, overview).

When a field is contained within a single octet, the lowest numbered bit of the field represents the least significant bit.

When a field extends over more than one octet, the order of bit values progressively decreases as the octet number increases. In that part of the field contained in a given octet, the lowest numbered bit represents the least significant bit. The most significant bit of the field is represented by the highest numbered bit of the lowest numbered octet of the field. The least significant bit of the field is represented by the lowest numbered bit of the highest numbered octet of the field.

For example, a bit number can be identified as a couple (o, b) where o is the octet number and b is the relative bit number within the octet. Figure 9.1.2.1 illustrates a field that spans from bit (1, 3) to bit (2, 7). The most significant bit of the field is mapped on bit (1, 3) and the least significant bit is mapped on bit (2, 7).

87654321
2423221st octet of field
21202nd octet of field

Figure 9.1.2.1: Field mapping convention