All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] Add SIM reset button
Date: Mon, 22 Nov 2010 09:40:45 -0600	[thread overview]
Message-ID: <4CEA8EFD.90409@gmail.com> (raw)
In-Reply-To: <1289940516-14843-1-git-send-email-padovan@profusion.mobi>

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

Hi Gustavo,

On 11/16/2010 02:48 PM, Gustavo F. Padovan wrote:
> +CRST now send a reset resquest command
> ---
>  src/control.cpp    |    6 ++++++
>  src/control.h      |    1 +
>  src/controlbase.ui |   40 ++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 47 insertions(+), 0 deletions(-)
> 
> diff --git a/src/control.cpp b/src/control.cpp
> index ab71752..014e657 100644
> --- a/src/control.cpp
> +++ b/src/control.cpp
> @@ -84,6 +84,7 @@ ControlWidget::ControlWidget(const QString &ruleFile, Control *parent)
>      connect(ui->cbSimInserted, SIGNAL(clicked()), this, SLOT(simInsertRemove()));
>      connect(ui->pbStart, SIGNAL(clicked()), this, SLOT(simAppStart()));
>      connect(ui->pbAbort, SIGNAL(clicked()), this, SLOT(simAppAbort()));
> +    connect(ui->pbReset, SIGNAL(clicked()), this, SLOT(simAppReset()));
>  
>      QStringList headers;
>      headers << "Sender" << "Priority" << "Notification Status";
> @@ -466,6 +467,11 @@ void ControlWidget::simAppAbort()
>      p->simAppAbort();
>  }
>  
> +void ControlWidget::simAppReset()

Can you rename this slot into modemSilentReset or something?  This
really has nothing to do with the SIM Application.

> +{
> +    emit unsolicitedCommand("+CRST:");
> +}
> +
>  Script::Script(QObject *obj, Ui_ControlBase *ui) : QDBusAbstractAdaptor(obj)
>  {

Otherwise looks good

Regards,
-Denis

  reply	other threads:[~2010-11-22 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 20:48 [PATCH] Add SIM reset button Gustavo F. Padovan
2010-11-22 15:40 ` Denis Kenzior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-09 20:21 Gustavo F. Padovan

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=4CEA8EFD.90409@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 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.