From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Clarification on USSD support in ofono
Date: Tue, 31 Aug 2010 11:07:09 -0500 [thread overview]
Message-ID: <4C7D28AD.8030509@gmail.com> (raw)
In-Reply-To: <B668883EB5DD7144ADFC248A72176EA802A0E1B9@fioues07.ebgroup.elektrobit.com>
[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]
Hi Jeevaka,
On 08/31/2010 10:48 AM, Jeevaka.Badrappan(a)elektrobit.com wrote:
>
> Hi Denis,
>
>> The original USSD API actually did look like this. It used binary
> data
>> + dcs field. However, we quickly found that all modems are screwed up
>> in this area. The specification added binary PDU mode to SMS and CBS,
> but never bothered with USSD. So all modems get this part wrong.
>
>> Currently about the best we can do is pass UTF8 around. If you have a
> modem that gets this part right, we'd like to hear about it. If the
> Send USSD proactive command is
>> not handled by the modem, then oFono will try to do its best.
> However, we make no guarantees ;)
>
> I think its better to send the dcs and the binary data to the atom
> driver. If the modem doesn't support other than GSM 7-bit alphabet, then
> the conversion can be done in the atom driver. This way it will be
> general to any modem.
The send part is not really the problem, and can be easily done as pdu +
dcs. However, it is the reception that is screwed up. By convention,
all APIs in oFono must be symmetric. E.g. what the driver sends it must
also accept.
According to 27.007, +CUSD is converted into the current character set
used by CSCS. It is not a binary PDU at all. So the driver now has to
fake this information...
Go ahead and send your suggested approach as a patch to this mailing
list and we can continue from there. Just remember the symmetry part ;)
Regards,
-Denis
prev parent reply other threads:[~2010-08-31 16:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 8:58 Clarification on USSD support in ofono Jeevaka.Badrappan
2010-08-31 12:29 ` Marcel Holtmann
2010-08-31 13:59 ` Jeevaka.Badrappan
2010-08-31 14:52 ` Pekka Pessi
2010-08-31 15:05 ` Andrzej Zaborowski
2010-08-31 15:39 ` Jeevaka.Badrappan
2010-08-31 16:13 ` Denis Kenzior
2010-08-31 16:44 ` Jeevaka.Badrappan
2010-09-01 10:59 ` Jeevaka.Badrappan
2010-08-31 15:07 ` Marcel Holtmann
2010-08-31 15:15 ` Jeevaka.Badrappan
2010-08-31 15:12 ` Denis Kenzior
2010-08-31 15:48 ` Jeevaka.Badrappan
2010-08-31 16:07 ` 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=4C7D28AD.8030509@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