Thanasis, I'm working to extend the basic USSD support contributed under issue 216, but my phone seems to behave differently to yours and the contributor's. Instead of immediately returning "OK\r" in response to a +CUSD=1,"*123#",15 or similar, it comes back with a +CUSD response, followed immediately by an OK. It looks like this in raw form:
AT+CUSD=1,"#646#",15 +CUSD: 0,"You have 0 Whenever Minutes remaining. Your FlexAcct balance is .4.80 " OK There's about a three-second pause between sending the +CUSD command to the phone and receiving the +CUSD response. I recorded a movie of it to remove any question: http://jeffg.org/~jeffg/tmp/cusd-response.mov The phone is a SonyEricsson W760i, originally from the Central America market but used here with a T-Mobile USA prepay SIM. AT+CGMI Sony Ericsson OK AT+CGMM AAD-3252041-BV OK AT+CGMR R3BA036 080605 1726 12089180_GENERIC_VT_DE I think I know how to code around this differing behavior, and see that there's already a SonyEricsson ATHandler derived class where I can do so. My question is what phone or phones you and the contributor of issue 216 used that came back with an OK followed by the +CUSD response. I have tried the other phones I have access to (Motorola RAZRv3 and A1200m, Samsung Blackjack II) but none of these seems to support the +CUSD command at all. I want to be sure that my changes work just as well with "normal" phones as with my quirky SE model. Any guidance would be most appreciated. Thanks, -jeff -- Jeff Gehlbach mailto|sip:[email protected] The OpenNMS Group, Inc. ph: +1 919.533.0160 x7754 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/smslib?hl=en -~----------~----~----~----~------~----~------~--~---
