You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running this example ussd_demo.py and i get this error, I can see exactly what is wrong.
Sending USSD string: *123#
Traceback (most recent call last):
File "ussd_demo.py", line 41, in <module>
main()
File "ussd_demo.py", line 30, in main
response = modem.sendUssd(USSD_STRING) # response type: gsmmodem.modem.Ussd
File "/home/sav/.local/lib/python2.7/site-packages/gsmmodem/modem.py", line 667, in sendUssd
cusdResponse = self.write('AT+CUSD=1,"{0}",15'.format(ussdString), timeout=responseTimeout) # Should respond with "OK"
File "/home/sav/.local/lib/python2.7/site-packages/gsmmodem/modem.py", line 428, in write
raise CommandError(data)```
Activity