Hi Denis,

> > ---
> >   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?

are the existing test/initiate-ussd and test/cancel-ussd not good
enough?

Regards

Marcel


_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to