Hello,
I have UE Capabilities messages following a 5G NR Registration Request.
After retrieving the ue-CapabilityRAT-Container and seting up the Capability message according to the rat-Type, if I try to get the json representation, it work fine for the UE_MRDC_Capability, but I get an error TypeError: Object of type bytes is not JSON serializable when doing the same to UE_NR_Capability.
Attached the sample code showing the behavior, with an eutra-nr and a nr messages. I process both messages the same way, but with a different outcome.
nr_json.py
No sure if this is linked to the content of the message, my understanding of the operation or something else.
Thanks for any hints
Hello,
I have UE Capabilities messages following a 5G NR Registration Request.
After retrieving the ue-CapabilityRAT-Container and seting up the Capability message according to the rat-Type, if I try to get the json representation, it work fine for the UE_MRDC_Capability, but I get an error TypeError: Object of type bytes is not JSON serializable when doing the same to UE_NR_Capability.
Attached the sample code showing the behavior, with an eutra-nr and a nr messages. I process both messages the same way, but with a different outcome.
nr_json.py
No sure if this is linked to the content of the message, my understanding of the operation or something else.
Thanks for any hints