Re: [MM] [PATCH] novatel-lte: use $NWMDN to read own number when +CNUM fails
- From: Aleksander Morgado <aleksander lanedo com>
- To: Ben Chan <benchan chromium org>
- Cc: networkmanager-list gnome org
- Subject: Re: [MM] [PATCH] novatel-lte: use $NWMDN to read own number when +CNUM fails
- Date: Mon, 05 Nov 2012 13:48:12 +0100
On 04/11/12 02:00, Ben Chan wrote:
> +CNUM may return ERROR when the modem fails to read the own numbers from
> the SIM card or when the SIM card hasn't been activated. Use $NWMDN to
> read the MDN as a fallback, which distinguishes these two cases.
Just wondering, shouldn't the plugin try to read always both? OwnNumbers
is an array of strings, you can both the one retrieved from +CNUM (if
any) and the MDN in there.
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]