I get a text response in +CUSD for both text and PDU modes.

The documentation for my modem (Siemens MC35i) says this about how the
second parameter in the +CUSD response is handled. Maybe you can check with
the documentation for your particular modem.
-------------
+CUSD: <m>[<str_urc>[<dcs>]]

<str_urc>
String type USSD-string .
If <dcs> indicates that GSM 03.38 default alphabet is used TA converts GSM
alphabet into current TE character
set according to rules of GSM 07.05 Annex A. Otherwise in case of invalid
or omitted <dcs> conversion of
<str_urc> is not possible.
-------------

On Mon, Nov 14, 2011 at 8:12 PM, Nick Chan <[email protected]> wrote:

> thanks again nizam, very much appreciated, it does work, but I still get
> that long hex string. I use the same gateway to send SMS, which is set to
> PDU and binary. does it have something to do with it ?
>
>
> On Mon, Nov 14, 2011 at 10:38 PM, Nizam Mohideen <[email protected]
> > wrote:
>
>> Try if this works:
>> AT+CUSD=1,"*100#",15
>>
>>
>> On Mon, Nov 14, 2011 at 11:19 AM, henrik <[email protected]> wrote:
>>
>>> thanks a lot nizam. i was able to use sendUSSDCommand, but what it
>>> returns is I think a PDU string. using hyperterminal gives me the same
>>> PDU/hex thingy. I tested with AT command
>>>
>>> AT+CUSD=1,"*100#"
>>>
>>> and what I got it this
>>>
>>> +CUSD:
>>> 0,"0053006F007200720079002C0020007700650020006100720065002000680061007600
>>>
>>> 69006E006700200073006F006D006500200074006500630068006E006900630061006C0020006400
>>>
>>> 6900660066006900630075006C0074006900650073002E00200050006C0065006100730065002000
>>> 7200650074007200790020006C0061007400650072002E",72
>>>
>>> is that expected?
>>>
>>> On Nov 10, 8:01 pm, Nizam <[email protected]> wrote:
>>> > You can try the Service.sendUSSDRequest method.
>>> >
>>> > On Nov 2, 2:08 pm, henrik <[email protected]> wrote:
>>> >
>>> >
>>> >
>>> > > hi there, is it possible to send/receive short code? namely to check
>>> > > prepaid sim card value balance
>>> >
>>> > > thanks in advance
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "SMSLib Discussion 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.
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "SMSLib Discussion 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.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "SMSLib Discussion 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion 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.

Reply via email to