Hi Philippe,
On 07/02/2012 10:45 AM, Philippe Nunes wrote:
---
test/send-ussd | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
test/test-ussd | 75 --------------------------------------------------------
2 files changed, 75 insertions(+), 75 deletions(-)
create mode 100755 test/send-ussd
delete mode 100755 test/test-ussd
Why don't we just get rid of test-ussd and create a new send-ussd script
that doesn't do any stdin handling. Something along the lines of:
ss.GetProperties()
if state == 'idle'
rsp = ss.Initiate()
elif state == 'user-response'
rsp = ss.Respond()
print response
And perhaps another ussd related script that just cancels the request.
Would this satisfy your requirements?
Regards,
-Denis
_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono