Hello
I can access my ZTE Modem and read values from the SIM card like IMSI with
AT commands.
Welcome to minicom 2.8
OPTIONS: I18n
Port /dev/ttyUSB2, 18:23:09
Press CTRL-A Z for help on special keys
AT
OK
AT+CSIM=?
OK
ATI
Manufacturer: ZTE INCORPORATED
Model: MF626
Revision: BD_MOBINILP673M3V1.0.0B02
IMEI: 357034037160973
+GCAP: +CGSM,+FCLAS
I would like to try pySIM-shell to access the same modem with SIM, but I am
getting the error below:
(venv) root@ubuntu-HP-Notebook:/home/ubuntu/pysim# python3 pySim-shell.py
--modem-device /dev/ttyUSB2
DEBUG:root:Sending AT command: AT
INFO:root:Command finished with timeout >= 0.2s
DEBUG:root:Command took 0.201042s (89 cycles a 0.002000s)
DEBUG:root:Got response from modem: [b'']
Traceback (most recent call last):
File "/home/ubuntu/pysim/pySim-shell.py", line 1117, in <module>
sl = init_reader(opts, proactive_handler = Proact())
File "/home/ubuntu/pysim/pySim/transport/__init__.py", line 362, in
init_reader
sl = ModemATCommandLink(opts, **kwargs)
File "/home/ubuntu/pysim/pySim/transport/modem_atcmd.py", line 51, in
__init__
self._check_echo()
File "/home/ubuntu/pysim/pySim/transport/modem_atcmd.py", line 127, in
_check_echo
raise ReaderError('Interface \'%s\' does not respond to \'AT\' command'
% self._device)
pySim.exceptions.ReaderError: Interface '/dev/ttyUSB2' does not respond to
'AT' command
(venv) root@ubuntu-HP-Notebook:/home/ubuntu/pysim#
I tried increasing the timeout in send_at_cmd() to 1 second and 2 seconds,
but i get the same result.
Any ideas how I can access the modem via pySim-shell ?
Thanks
Abdelmuhaimen Seaudi, CCIE # 25265
Email: aseaudi(a)gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
Good day,
I have been trying to get Simtrace2 to connect to a 'newish' phone model, but to no avail. I can not get the SIM to be recognised in the tray (I confirmed that the ribbon flex cable's continuity is OK too).
I saw a sysmocom thread <https://osmocom.org/issues/6181> where a Google Pixel 5 succeeded in tracing some TPDUs.
Does anyone have some hints as to how to get this working on a non-M.2 form factor modem and ideally in a handled?
I have tested with the following phone models, all with the same result of no SIM detection:
Google Pixel 3A & 5, Samsung S21-S24, iPhone 13 & 14 and OnePlus 9
Kind regards,
Nico