hi ,
1, if the SIM card attached to the product can be set up in China real-name APN to access the Internet?
2, ngff-cardem 5G module China Unicom SIM card, how to set to identify SIM?
赵余滨
+86 17621901212 | zhaoyubin(a)yoocar.com.cn
上海优咔网络科技有限公司
地址:上海市徐汇区龙耀路175号星扬西岸中心38楼
重要提示:此邮件及附件具保密性质,包含商业秘密、受法律保护不得泄露。
IMPORTANT NOTE: This email and any attachment are confidential and may contain trade secrets and may also be legally privileged or otherwise protected from disclosure.
Hi Team,
I am getting the following error while running the pySim-read.py , This
program runs fine on old SIM cards but in new SIM cards it gives the below
error.
I did a comparison of directories on both the SIM cards and there is a
difference, Kindly guide how to fix it . Although EF.ICCID exists in both
the SIM cards .
Additionally pySim-shell.py works well .
python3 pySim-read.py -p 1
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21
Smart Card Reader] 01 00]
Reading ...
Autodetection failed
Traceback (most recent call last):
File "/home/lab3/pysim/pySim-read.py", line 105, in <module>
(res, sw) = card.read_iccid()
File "/home/lab3/pysim/pySim/legacy/cards.py", line 62, in read_iccid
(res, sw) = self._scc.read_binary(EF['ICCID'])
File "/home/lab3/pysim/pySim/commands.py", line 320, in read_binary
r = self.select_path(ef)
File "/home/lab3/pysim/pySim/commands.py", line 285, in select_path
data, _sw = self.select_file(i)
File "/home/lab3/pysim/pySim/commands.py", line 296, in select_file
return self.send_apdu_checksw(self.cla_byte + "a4" + self.sel_ctrl +
"02" + fid)
File "/home/lab3/pysim/pySim/commands.py", line 143, in send_apdu_checksw
return self._tp.send_apdu_checksw(pdu, sw)
File "/home/lab3/pysim/pySim/transport/__init__.py", line 218, in
send_apdu_checksw
raise SwMatchError(rv[1], sw.lower(), self.sw_interpreter)
pySim.exceptions.SwMatchError: SW match failed! Expected 9000 and got 6e00.
BR//
Niraj Kumar
Good afternoon,
I am trying to verify the CHV2 verification on an Amarisoft Test SIM Card. With a HID OMNIKEY 3121.
I have issues with the CHV2 verification with the pySim software and amarisoft simcard.
I get the error below.
Can you please give me some hints on how to fix this issue as I have no idea of how to start.
Sincerely,
Valentin M.
pySIM-shell (00:MF)> verify_chv --pin-nr 1 1234
CHV verification successful
pySIM-shell (00:MF)> verify_chv --pin-nr 2 1234
EXCEPTION of type 'SwMatchError' occurred with message: SW match failed! Expected 9000 and got 6b00.
To enable full traceback, run the following command: 'set debug true'
pySIM-shell (00:MF)> set debug true
debug - was: False
now: True
pySIM-shell (00:MF)> verify_chv --pin-nr 2 1234
Traceback (most recent call last):
File "/home/keas/.local/lib/python3.10/site-packages/cmd2/cmd2.py", line 2399, in onecmd_plus_hooks
stop = self.onecmd(statement, add_to_history=add_to_history)
File "/home/keas/.local/lib/python3.10/site-packages/cmd2/cmd2.py", line 2852, in onecmd
stop = func(statement)
File "/home/keas/.local/lib/python3.10/site-packages/cmd2/decorators.py", line 382, in cmd_wrapper
return func(*args_list, **kwargs) # type: ignore[call-arg]
File "/home/keas/pysim/./pySim-shell.py", line 824, in do_verify_chv
(data, sw) = self._cmd.lchan.scc.verify_chv(opts.pin_nr, h2b(pin))
File "/home/keas/pysim/pySim/commands.py", line 693, in verify_chv
self._chv_process_sw('verify', chv_no, code, sw)
File "/home/keas/pysim/pySim/commands.py", line 682, in _chv_process_sw
raise SwMatchError(sw, '9000')
pySim.exceptions.SwMatchError: SW match failed! Expected 9000 and got 6b00.
EXCEPTION of type 'SwMatchError' occurred with message: SW match failed! Expected 9000 and got 6b00.
pySIM-shell (00:MF)>