From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] Parse +CUSD responses.
Date: Fri, 16 Oct 2009 17:47:04 -0500 [thread overview]
Message-ID: <200910161747.05507.denkenz@gmail.com> (raw)
In-Reply-To: <fb249edb0910161412l7bf189bar4eb9a28062df067c@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1301 bytes --]
Hi Andrew,
> > Actually valid_ussd_string will accept just about everything.
>
> Ah true. However I think we should never try to send a UCS2 USSD - we
> would first need to know that the modem supports this (so a vendor
> quirk set by the plugin would tell us this) and then that the network
> supports this too.
You're absolutely right that we shouldn't, I was just pointing out the need to
always be paranoid ;)
> > What about the evil set of DCSes which indicate a ISO639 2 character code
> > preceding the message?
>
> The comment refers to this. I think 27.007 tries to say the modem has
> to take care of this and only give us the actual characters of the
> string.
>
> "- if TE character set other than "HEX" (refer command Select TE
> Character Set +CSCS): MT/TA converts GSM alphabet into current TE
> character set according to rules of 3GPP TS 27.005 [24] Annex A
So this part really only talks about the modem performing character set
conversion between GSM and IRA/UCS2/UTF8 or whatever is set by CSCS. I
suspect the DCS is simply never looked at by most networks/modems :)
Patch has been applied, with some fixes afterward. I think this is good enough
until we find a network / modem that supports this stuff properly.
Regards,
-Denis
prev parent reply other threads:[~2009-10-16 22:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-16 18:12 [PATCH] Parse +CUSD responses Andrzej Zaborowski
2009-10-16 18:06 ` Denis Kenzior
2009-10-16 21:12 ` andrzej zaborowski
2009-10-16 22:47 ` Denis Kenzior [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200910161747.05507.denkenz@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox