[sorry for the last mails where I got your last name mixed up...]
On 08/10/2017 07:03 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote:
> Could you send me the exact modem description you are using? So that we can write quirk?
> I am using TELIT 910 EUG Modem.
Okay, maybe that is already enough. I saw that in drivers/telit.c there
is already some code to handle variants of the modem. The matching is
done on these strings.
Are there any vid/pid available fot his modem?
From: Richard Röjfors <richard(a)puffinpack.se>
In case the gprs_netreg_update is called from somewhere else
than the actual netreg update before any netreg updates have
happened. It can not make proper decisions. For instance
we might run on EUTRAN but it does not know yet. So check
if the technology is known to netreg, if not just return
since netreg will kick us when its finished initialising,
which will be very soon.
src/gprs.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index bdb8c8a2..4e79c528 100644
@@ -1660,6 +1660,16 @@ static void gprs_netreg_removed(struct ofono_gprs *gprs)
static void gprs_netreg_update(struct ofono_gprs *gprs)
+ int technology;
+ technology = ofono_netreg_get_technology(gprs->netreg);
+ /* If we are called before netreg has updated us, just return
+ * we will get called again when the technology is available
+ * and we can make better decisions
+ if (technology == -1)
attach = gprs->netreg_status == NETWORK_REGISTRATION_STATUS_REGISTERED;
@@ -1670,8 +1680,7 @@ static void gprs_netreg_update(struct ofono_gprs *gprs)
DBG("attach: %u, driver_attached: %u", attach, gprs->driver_attached);
- if (ofono_netreg_get_technology(gprs->netreg) ==
- ACCESS_TECHNOLOGY_EUTRAN && have_read_settings(gprs))
+ if (technology == ACCESS_TECHNOLOGY_EUTRAN && have_read_settings(gprs))
* For LTE we set attached status only on successful
* context activation.
I'd like for my device to automatically connect to 3G data in roaming
wherever the GSM network permits it. I'd very much like to set this up
as default during manufacturing regardless of the SIM inserted. ofono
version 1.21 (debian buster).
I can tell ofono to enable roaming manually - either via the config file
(e.g. /var/lib/ofono/248030010014875/gprs) or dbus interface (e.g.
dbus-send --system --print-reply --dest=org.ofono /quectel_0
variant:boolean:true), but it does not seem to be stored persistently.
After a reboot ofono has disabled roaming again and the config file
So my questions are:
1. can I set up ofono to always permit data connections in roaming?
2. if not, can I at least store RoamingAllowed persistently per SIM card?
As context: working on a 3G-equipped gateway device, factory-installed
with a roaming-enabled SIM card and typically shipped to a foreign
country (mostly within EU where data roaming incurs no penalty). It's
rather desirable that 3G comes online without requiring any setup
whatsoever once the gateway is powered on in destination country.
Hello et al,
So there are a few modems that org.ofono.VoiceCallManager interfaces
but don't have Dial support, and there is no programmatic way to check
without dialing attempting to dial a valid phone number.
Can't pass an empty string to test since it would fail the
Error.InvalidFormat test before Error.NotImplemented. The usecase for
this is we are using several modems per device (including HandsFree)
and want to know in the userspace application which can dial a
respective phone number.