[PATCH] iface-modem-3gpp: add SubscriptionState property

Aleksander Morgado aleksander at lanedo.com
Tue Oct 1 00:51:02 PDT 2013


On 30/09/13 23:07, Thieu Le wrote:
> 
> I agree with Aleksander that MMModemCdmaActivationState is tied to
> Activate() and ActivateManual() so I'm not sure if we want to merge this
> property with SubscriptionState.  SubscriptionState, as proposed, is
> specific to 3GPP.  Looking forward, we can have a generic subscription
> state in the modem interface but that should come where there is a
> uniform activation/top off mechanism (eg. a walled garden portal that
> each carrier implements to allow for activation/topping off).
> 
> There are two ways the subscription state is calculated.  The first is
> by examining the registration reject code.  This approach can only
> determine if an account has been provisioned, it cannot be used to
> determine data quota availability.  Because we only examine registration
> reject code, this approach works across various modems.  The patch will
> be coming shortly.  The second way we determine subscription state is
> via PCO.  There was a PCO patch previously submitted by Altair.  We've
> asked Altair to rework that patch to use this new SubscriptionState
> property.  As it stands today, the possible values that PCO can tell us
> is if the account has been provisioned and whether it has any data left.
>  The PCO approach is new and not supported by all modems.
> 
> As far as the use case is concerned, users on Verizon can purchase
> pre-paid SIMs today that comes unactivated.  The user has to activate it
> through Verizon's portal.  We currently direct users to this portal if
> we detect that the SIM is not provisioned.
> 
> If you're okay with keeping SubscriptionState in 3GPP, we'll address the
> code review comments in the next patch.

Thanks for that info, it all makes sense I think.

-- 
Aleksander


More information about the ModemManager-devel mailing list