From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/3] atmodem: add signal strength support for huawei
Date: Fri, 23 Apr 2010 10:53:28 -0500 [thread overview]
Message-ID: <201004231053.28533.denkenz@gmail.com> (raw)
In-Reply-To: <87pr1qrxbw.fsf@potku.valot.fi>
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
Hi Kalle,
> >> Huawei doesn't support CIND indications, so use CSQ instead. But
> >> naturally the response from modem is not according to standard:
> >
> > is this true for all Huawei modems?
>
CSQ is not unsolicited, so you'd need to poll it. Not a good idea.
> >> ofonod[6401]: < \r\n^BOOT:38645652,0,0,0,87\r\n
> >> ofonod[6401]: < \r\n^RSSI:23\r\n
I suggest you simply support this ^RSSI notification, it looks like it has the
same 0-31 range as CSQ. Also, sometimes values from vendor-specific commands
differ from CSQ, so if a query of ^RSSI is supported, use that.
> Actually I didn't check that. I'll investigate more.
>
ModemManager has done more work integrating ppp devices, poking around there
can get you some hints.
Regards,
-Denis
next prev parent reply other threads:[~2010-04-23 15:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 13:40 [PATCH 0/3] Huawei E1552 hacks Kalle Valo
2010-04-23 13:40 ` [PATCH 1/3] atmodem: add signal strength support for huawei Kalle Valo
2010-04-23 14:22 ` Marcel Holtmann
2010-04-23 15:40 ` Kalle Valo
2010-04-23 15:53 ` Denis Kenzior [this message]
2010-04-26 10:45 ` Kalle Valo
2010-04-23 13:40 ` [PATCH 2/3] atmodem: add a huawei hack to check attachment status Kalle Valo
2010-04-23 14:24 ` Marcel Holtmann
2010-04-23 15:43 ` Kalle Valo
2010-04-23 15:50 ` Denis Kenzior
2010-04-26 10:44 ` Kalle Valo
2010-04-23 13:40 ` [PATCH 3/3] huawei: add gprs context Kalle Valo
2010-04-23 14:26 ` 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=201004231053.28533.denkenz@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.