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