mirror of git://git.sysmocom.de/ofono
ublox: Add voicecall support
This commit is contained in:
parent
ef3ebe5840
commit
f9cde76095
|
@ -40,6 +40,7 @@
|
||||||
#include <ofono/gprs-context.h>
|
#include <ofono/gprs-context.h>
|
||||||
#include <ofono/netmon.h>
|
#include <ofono/netmon.h>
|
||||||
#include <ofono/lte.h>
|
#include <ofono/lte.h>
|
||||||
|
#include <ofono/voicecall.h>
|
||||||
|
|
||||||
#include <drivers/atmodem/atutil.h>
|
#include <drivers/atmodem/atutil.h>
|
||||||
#include <drivers/atmodem/vendor.h>
|
#include <drivers/atmodem/vendor.h>
|
||||||
|
@ -286,6 +287,14 @@ static void ublox_pre_sim(struct ofono_modem *modem)
|
||||||
DBG("%p", modem);
|
DBG("%p", modem);
|
||||||
|
|
||||||
ofono_devinfo_create(modem, 0, "atmodem", data->aux);
|
ofono_devinfo_create(modem, 0, "atmodem", data->aux);
|
||||||
|
/*
|
||||||
|
* Call support is technically possible only after sim insertion
|
||||||
|
* with the module online. However the EMERGENCY_SETUP procedure of
|
||||||
|
* the 3GPP TS_24.008 is triggered by the same AT command,
|
||||||
|
* and namely 'ATD112;' and 'ATD911;'. Therefore it makes sense to
|
||||||
|
* add the voice support as soon as possible.
|
||||||
|
*/
|
||||||
|
ofono_voicecall_create(modem, 0, "atmodem", data->aux);
|
||||||
sim = ofono_sim_create(modem, data->vendor_family, "atmodem",
|
sim = ofono_sim_create(modem, data->vendor_family, "atmodem",
|
||||||
data->aux);
|
data->aux);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue