Skip to content

Command Error #90

Open
Open

Description

@saviour123

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions