aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2020-09-10 21:35:01 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2020-09-10 21:35:01 +0200
commit0e7ad7616f08567c208b170aa94c41990ec916d1 (patch)
treee59e9821ec728be7ba5b3e3668fa3a7ea6b9490f
parentde31d9f88b6817eedb071caee7ce5357b2e62c95 (diff)
downloadsysmo-usim-tool-0e7ad7616f08567c208b170aa94c41990ec916d1.tar.gz
sysmo-usim-tool-0e7ad7616f08567c208b170aa94c41990ec916d1.tar.bz2
sysmo-usim-tool-0e7ad7616f08567c208b170aa94c41990ec916d1.tar.xz
sysmo-usim-tool-0e7ad7616f08567c208b170aa94c41990ec916d1.zip
experiments.py: remove unused code
The code in this file was used for experiments while implementing the support for sysmo-isim-sja2, it is not needed anymore
-rwxr-xr-xexperiments.py75
1 files changed, 0 insertions, 75 deletions
diff --git a/experiments.py b/experiments.py
deleted file mode 100755
index 4d72fa0..0000000
--- a/experiments.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-from utils import *
-from sysmo_isim_sja2 import *
-
-
-
-if __name__ == "__main__":
-
- print("HELLO EF_SIM_AUTH_KEY!")
- myfile = SYSMO_ISIMSJA2_FILE_EF_SIM_AUTH_KEY()
- print myfile
- myfile.use_opc = True
- myfile.sres_dev_func = 2
- myfile.opc = [0x23] * 16
- myfile.key = [0x42] * 16
- print myfile
- myfile2 = SYSMO_ISIMSJA2_FILE_EF_SIM_AUTH_KEY(myfile.encode())
- print myfile2
-
- print("=========================================================")
-
-
-
- myfile = SYSMO_ISIMSJA2_FILE_EF_USIM_AUTH_KEY_2G()
- print myfile
-
- myfile.algo = SYSMO_ISIMSJA2_ALGO_MILENAGE;
- myfile.sres_dev_func = 2
- myfile.opc = [0x23] * 16
- myfile.key = [0x42] * 16
- print myfile
-
- myfile2 = SYSMO_ISIMSJA2_FILE_EF_USIM_AUTH_KEY_2G(myfile.encode())
- print myfile2
-
-
- print("==========================================================")
-
-
-
- myfile = SYSMO_ISIMSJA2_FILE_EF_MILENAGE_CFG()
- print myfile
-
- myfile.R1 = 0xAA
- myfile.R2 = 0xBB
- myfile.R3 = 0xCC
- myfile.R4 = 0xDD
- myfile.R5 = 0xEE
- myfile.C1 = [0xDE] * 16
- myfile.C2 = [0xAD] * 16
- myfile.C3 = [0xBE] * 16
- myfile.C4 = [0xEF] * 16
- myfile.C5 = [0x12] * 16
-
-
- print myfile
-
- myfile2 = SYSMO_ISIMSJA2_FILE_EF_MILENAGE_CFG(myfile.encode())
- print myfile2
-
-
- print("==========================================================")
-
- myfile = SYSMO_ISIMSJA2_FILE_EF_USIM_SQN()
- print myfile
- print myfile.encode()
-
- myfile2 = SYSMO_ISIMSJA2_FILE_EF_USIM_SQN(myfile.encode())
- print myfile2
- print myfile2.encode()
-
-
-