Commit 2101ea9df33adf62c32a3e4dbff7abdb89431a06

Authored by Adhidarma Hadiwinoto
1 parent 3b0a070667
Exists in master

verbose ussd

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -23,6 +23,7 @@ modem.waitForNetworkCoverage(10)
23 23 logging.info('Modem ready')
24 24  
25 25 ussd_command = sys.argv[1]
  26 +logging.info(u'Executing USSD command: {0}'.format(ussd_command))
26 27 response = modem.sendUssd(ussd_command)
27 28 message = response.message.strip()
28 29 logging.info(u'USSD response: {0}'.format(message))