You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
When creating a new msg object and using from_json to fill the data, all of the json data is not getting updated. Is there an easy way to solve this.
I am using the pycrate 0.7 and python 3.11
Create a sample json text to use.
pdu = unhexlify( '074300035200c2' ) # EMM Attach Complete
m, e = parse_NAS_MT(pdu)
att_complete_json = m.to_json()
print( att_complete_json )
Thanks for bringing this issue.
A new pycrate repository has been setup, including new fixes. This repo will keep being maintained : https://github.com/pycrate-org/pycrate.
Please checkout the latest 0.7.1 version which provides extended JSON support for mobile NAS messages, what should fix your case (I hope).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When creating a new msg object and using from_json to fill the data, all of the json data is not getting updated. Is there an easy way to solve this.
I am using the pycrate 0.7 and python 3.11
The new_msg json is different and also the new_msg.to_bytes()
print ( hexlify( new_msg.to_bytes() ))
"07430003000000" this is different from the starting pdu.
The text was updated successfully, but these errors were encountered: