From: Lasse Kunnasluoto <lasse.kunnasluoto@tieto.com>
To: ofono@ofono.org
Subject: Re: [PATCH] ste: Use UTF-8 as a default character set
Date: Tue, 18 Jan 2011 17:10:23 +0200 [thread overview]
Message-ID: <1295363423.10484.78.camel@lkunnasl-desktop> (raw)
In-Reply-To: <1295361134.3873.183.camel@aeonflux>
[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]
Hi Marcel,
On Tue, 2011-01-18 at 16:32 +0200, Marcel Holtmann wrote:
> Hi Lasse,
>
> > plugins/ste.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/plugins/ste.c b/plugins/ste.c
> > index 7bb7232..cc01f7b 100644
> > --- a/plugins/ste.c
> > +++ b/plugins/ste.c
> > @@ -247,7 +247,7 @@ static int ste_enable(struct ofono_modem *modem)
> > return -EIO;
> >
> > data->chat = g_at_chat_new_blocking(channel, syntax);
> > - g_at_chat_send(data->chat, "AT&F E0 V1 X4 &C1 +CMEE=1",
> > + g_at_chat_send(data->chat, "AT&F E0 V1 X4 &C1 +CMEE=1;+CSCS=\"UTF-8\"",
> > NULL, NULL, NULL, NULL);
>
> is it guaranteed that every single STE modem supports UTF-8 character
> set?
>
Based on information I have, yes, every single ste modem support UTF-8.
> I would rather see a new command checking for supported character sets
> and then picking the default. And intermixing with ATE is not really
> clean from my perspective.
You want this to be changed accordingly? I tried to to follow minimalism
in this simple change and not to introduce new functions. If command
fails for some reason, modem uses its default value, which is IRA. It
could be on a separate line, but still I would not add a call back for
it, nothing to do if the command fails. I prefer the patch I sent, but
you can decide
>
> Regards
>
> Marcel
>
>
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
next prev parent reply other threads:[~2011-01-18 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 13:38 [PATCH] ste: Use UTF-8 as a default character set Lasse Kunnasluoto
2011-01-18 14:32 ` Marcel Holtmann
2011-01-18 15:10 ` Lasse Kunnasluoto [this message]
2011-01-18 15:14 ` Marcel Holtmann
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=1295363423.10484.78.camel@lkunnasl-desktop \
--to=lasse.kunnasluoto@tieto.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.