decode/encode configuration file db_user_cfg.xml
Some example of tests performed without results:
$ python3 examples/info.py db_user_cfg.xml
Payload Type: 6 (UNKNOWN)
Payload Start: 60
Decompressed size: 0 bytes
2nd last chunk: 0
Chunk size: 0 bytes
Payload CRC: 0
Header CRC: 0
Any attempt to run python3 examples/auto.py,decode.py,... returns the error:
python3 examples/auto.py --serial ZTEGCDD12345 --mac 50:5A:7A:AE:52:54 db_user_cfg.xml config.xml
Traceback (most recent call last):
File "zte-config-utility/examples/auto.py", line 367, in main()
File "zte-config-utility/examples/auto.py", line 330, in main
zcu.zte.read_header(infile, little_endian=args.little_endian)
File ".local/lib/python3.10/site-packages/zcu-0.5.3-py3.10.egg/zcu/zte.py", line 14, in read_header
struct.error: unpack requires a buffer of 16 bytes
python3 examples/decode.py --serial ZTEGCDD12345 --mac 50:5A:7A:AE:52:54 db_user_cfg.xml config.xml
Traceback (most recent call last):
File "zte-config-utility/examples/decode.py", line 296, in
main()
File "zte-config-utility/examples/decode.py", line 244, in main
zcu.zte.read_header(infile, little_endian=args.little_endian)
File ".local/lib/python3.10/site-packages/zcu-0.5.3-py3.10.egg/zcu/zte.py", line 14, in read_header
struct.error: unpack requires a buffer of 16 bytes
Note: MAC and serial number modified....
attached db_user_cfg.xml file
decode/encode configuration file db_user_cfg.xml
Some example of tests performed without results:
$ python3 examples/info.py db_user_cfg.xml
Payload Type: 6 (UNKNOWN)
Payload Start: 60
Decompressed size: 0 bytes
2nd last chunk: 0
Chunk size: 0 bytes
Payload CRC: 0
Header CRC: 0
Any attempt to run
python3 examples/auto.py,decode.py,...returns the error:python3 examples/auto.py --serial ZTEGCDD12345 --mac 50:5A:7A:AE:52:54 db_user_cfg.xml config.xml
Traceback (most recent call last):
File "zte-config-utility/examples/auto.py", line 367, in main()
File "zte-config-utility/examples/auto.py", line 330, in main
zcu.zte.read_header(infile, little_endian=args.little_endian)
File ".local/lib/python3.10/site-packages/zcu-0.5.3-py3.10.egg/zcu/zte.py", line 14, in read_header
struct.error: unpack requires a buffer of 16 bytes
python3 examples/decode.py --serial ZTEGCDD12345 --mac 50:5A:7A:AE:52:54 db_user_cfg.xml config.xml
Traceback (most recent call last):
File "zte-config-utility/examples/decode.py", line 296, in
main()
File "zte-config-utility/examples/decode.py", line 244, in main
zcu.zte.read_header(infile, little_endian=args.little_endian)
File ".local/lib/python3.10/site-packages/zcu-0.5.3-py3.10.egg/zcu/zte.py", line 14, in read_header
struct.error: unpack requires a buffer of 16 bytes
Note: MAC and serial number modified....
attached db_user_cfg.xml file