All of lore.kernel.org
 help / color / mirror / Atom feed
From: Viallard Anthony <viallard@syscom-instruments.com>
To: ofono@ofono.org
Subject: Re: SIMCOM support
Date: Thu, 24 Jan 2013 18:13:28 +0100	[thread overview]
Message-ID: <51016BB8.7090403@syscom-instruments.com> (raw)
In-Reply-To: <51015FA4.4050300@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2293 bytes --]

On 24. 01. 13 17:21, Denis Kenzior wrote:

> How closely related is this one to SIMCOM 900? We already do have a
> plugin for it in the tree, so it might be a good idea to merge the two
> if they are closely related.

I don't known if SIM900 works with my driver plugin. SIMCOM were not 
given us this information whereas we inquired them. It will be glad if 
someone check it.

The only main difference i see between the two plugins, it's the 
AT+CSCS="GSM" command. I don't exactly why there is this command. Maybe 
its a behavior need it to work correctly with the operator where the guy 
has wrote the code and done the test. If someone tell me how to check 
(with an AT command ?) if we need this command, I will do the job.

In the SIMCOM doc, I see this about AT+CSCS :

  - “IRA” : International reference alphabet.
  - “GSM” : GSM default alphabet; this setting causes easily software 
flow control (XON /XOFF) problems.
  - “UCS2” 16-bit universal multiple-octet coded character set; UCS2 
character strings are converted to hexadecimal numbers from 0000 to FFFF.

>
> Please use git send-email to send patches.
>

ok.

> oFono core expects the sim atom driver to return from PIN entry function
> when the SIM initialization procedures have been completed. Many modems
> have an unsolicited notification that is fired when this is done, to
> avoid CPIN? polling. Are you saying your modem fires off a 'CPIN: READY'
> as an unsolicited notification? If so, then you can follow the same type
> of mechanism as VENDOR_IFX or VENDOR_STE
>

Right. My modem fires off a 'CPIN: READY' as an unsolicited 
notification. I will check the VENDOR_IFX or VENDOR_STE mechanism.

>> * I would like to do a reset of the modem at start and at end of ofono
>> life (with AT+CFUN=6 or AT+CRESET). The purpose is having a modem always
>> in init state for ofono and the others programs. Do you think its a good
>> idea ?
>>
>
> In general that is not desirable. The modem should be initialized when
> the enable driver method is called. Why do you want to do this?

I guessed it will be nicer to have this but if you say no, ok, it was 
just an idea to have always a chips in same state at start and when 
ofono stops.

Thanks,
avd.


  reply	other threads:[~2013-01-24 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 12:48 SIMCOM support Viallard Anthony
2013-01-24 16:21 ` Denis Kenzior
2013-01-24 17:13   ` Viallard Anthony [this message]
2013-01-24 18:21     ` Denis Kenzior
2013-01-25  9:01       ` Renat Zaripov
  -- strict thread matches above, loose matches on Subject: below --
2013-07-19 13:33 Viallard Anthony
2013-07-19 13:55 ` Jesper Larsen

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=51016BB8.7090403@syscom-instruments.com \
    --to=viallard@syscom-instruments.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.