Re: [MM] [PATCH] novatel-lte: use $NWMDN to read own number when +CNUM fails



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]