From: Giacinto Cifelli <gciofono@gmail.com>
To: ofono@ofono.org
Subject: [PATCH v2 2/2] plugins/gemalto: added voice support
Date: Sun, 14 Oct 2018 16:17:28 +0200 [thread overview]
Message-ID: <20181014141728.20227-3-gciofono@gmail.com> (raw)
In-Reply-To: <20181014141728.20227-1-gciofono@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]
The plugin for Gemalto modems is enriched with all voice-related atoms,
as well as USSD.
All except the voicecall itself are from the atmodem, while the
voicecall is from gemaltomodem.
---
plugins/gemalto.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/plugins/gemalto.c b/plugins/gemalto.c
index 0fcf30d8..8a965748 100644
--- a/plugins/gemalto.c
+++ b/plugins/gemalto.c
@@ -571,6 +571,10 @@ static void gemalto_pre_sim(struct ofono_modem *modem)
ofono_devinfo_create(modem, 0, "atmodem", data->app);
ofono_location_reporting_create(modem, 0, "gemaltomodem", data->app);
+
+ ofono_modem_set_integer(modem, "GemaltoVtsQuotes", 1);
+ ofono_voicecall_create(modem, 0, "gemaltomodem", data->app);
+
data->sim = ofono_sim_create(modem, OFONO_VENDOR_GEMALTO, "atmodem",
data->app);
@@ -597,6 +601,13 @@ static void gemalto_post_sim(struct ofono_modem *modem)
if (gprs && gc)
ofono_gprs_add_context(gprs, gc);
+ ofono_ussd_create(modem, 0, "atmodem", data->app);
+
+ ofono_call_forwarding_create(modem, 0, "atmodem", data->app);
+ ofono_call_settings_create(modem, 0, "atmodem", data->app);
+ ofono_call_meter_create(modem, 0, "atmodem", data->app);
+ ofono_call_barring_create(modem, 0, "atmodem", data->app);
+
if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x))
ofono_lte_create(modem, OFONO_VENDOR_CINTERION,
"atmodem", data->app);
--
2.17.1
next prev parent reply other threads:[~2018-10-14 14:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-14 14:17 [PATCH v2 0/2] Gemalto: support for voicecall Giacinto Cifelli
2018-10-14 14:17 ` [PATCH v2 1/2] Gemalto: voicecall atom Giacinto Cifelli
2018-10-14 16:48 ` Jonas Bonn
2018-10-14 17:10 ` Giacinto Cifelli
2018-10-14 14:17 ` Giacinto Cifelli [this message]
2018-10-14 16:50 ` [PATCH v2 2/2] plugins/gemalto: added voice support Jonas Bonn
2018-10-14 17:03 ` Giacinto Cifelli
-- strict thread matches above, loose matches on Subject: below --
2018-10-17 20:24 [PATCH v2 1/2] Gemalto: voicecall atom Giacinto Cifelli
2018-10-17 20:24 ` [PATCH v2 2/2] plugins/gemalto: added voice support Giacinto Cifelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181014141728.20227-3-gciofono@gmail.com \
--to=gciofono@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox