[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?
This patch reads and writes the call forwarding unconditional status
from and to the SIM depending on the SIM file availability.
New property needs to be added due to the fact that number won't be
available from the cphs-cff file.
Incase of SIM, EFcphs-cff file holds call forwarding status and it
is represented as a flag. In case of USIM(EFcfis), we have the status
flag and also number.So, adding new property for status and using the
existing VoiceUnconditional with number will work for both SIM and USIM cases.
Other option is to have 2 properties, "VoiceUnconditional" and "Number".
"VoiceUnconditional" will have the status of the call forwarding( "enabled",
"disabled") whereas the "Number" property will have the call forwared number.
offline-online state transitions results in caching the call forwaring status
every time. To avoid this, call forwarding atom is moved to the post sim and
its moved also due to the fact that call forwarding status doesn't change in
Jeevaka Badrappan (7):
call-forwarding: Read/Write cfis/cphs-cff
ifx: Move call forwarding to post sim
isigen: Move call forwarding to post sim
plugins/n900: Move call forwarding to post sim
phonesim: Move call forwarding to post sim
doc: Add new property to call forwarding
TODO: Marking the Read/Write EFcfis task as done
TODO | 9 --
doc/call-forwarding-api.txt | 5 +
doc/features.txt | 5 +
plugins/ifx.c | 2 +-
plugins/isigen.c | 2 +-
plugins/n900.c | 2 +-
plugins/phonesim.c | 3 +-
src/call-forwarding.c | 242 ++++++++++++++++++++++++++++++++++++++++++-
8 files changed, 256 insertions(+), 14 deletions(-)
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.