UEPolSectionMgmtSubresult has a length field which it sets to the length in octets of the results plus the length of the plmnId field rather than the number of results.
|
self[0].set_valauto(lambda: 3 + self[2].get_len()) |
From TS 24501 D.6.3
Number of results (octet d)
This field contains the binary encoding of number of results included in the UE policy section management subresult.
The 'Len' field should be a Uint8 and set to the number of elements in the sequence of UePolResult.
The field name of 'Len' may also be worth reviewing ;-)
I'm happy to assist with testing.
Thanks.