gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Samsung s105 w/ gnokii


From: Ladislav Michl
Subject: Re: Samsung s105 w/ gnokii
Date: Tue, 21 Jan 2003 13:33:36 +0100
User-agent: Mutt/1.2.5i

On Mon, Jan 20, 2003 at 09:15:20AM +0100, Ladislav Michl wrote:
> On Sat, Jan 18, 2003 at 03:00:52PM -0500, Bob Copeland wrote:
> > Hello all,
> 
> Hi!
> 
> > I just thought I'd drop a note and say that I managed to download
> > phone entries from my Samsung S105 as a generic AT phone, using the 
> > latest snapshot.  I had to modify the SetCharset() function to do 
> > nothing because the S105 starts in PCCP437 and ATT+CSCS="GSM" 
> > returns "ERROR" causing the program to terminate.
> 
> There are some more phones which cannot get/set charset. Look at 
> common/phones/atbosch.c how to do it. I know, it is a litle bit ungly
> and I'm fixing it right now :-)

done. please run cvs update. AT_SetCharset should now work correctly.
for phones which don't allow charset manipulation do following in phone
init routine:

  at_insert_send_function(GN_OP_AT_GetCharset, FakeCharset, state);
  at_insert_send_function(GN_OP_AT_SetCharset, FakeCharset, state);

where FakeCharset is defined as

static gn_error FakeCharset(gn_data *data, struct gn_statemachine *state)
{
  AT_DRVINST(state)->charset = YOUR_PHONE_CHARSET;
  return GN_ERR_NONE;
}

please bear in mind that AT driver is not PCCP437 ready, so more work is
required.

btw, is there any Samsung S105 AT cmd specification. Google didn't return
anything useful. It's hard to believe that Samsung's manufacturers left phone
without any "useful" charset.

        ladis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]