Denis Kenzior
a3099bfd8d
plugins: Add stktest plugin
2012-10-03 09:10:42 -05:00
Christopher Vogl
03c4ccfd59
telit: enable extended sim status notification
...
Use AT#QSS=2 instead of AT#QSS=1 to get an URC when the SIM is not only
inserted but also when PIN is unlocked and when SMS + phonebook are
ready to be used.
Disable sim state notification in telit_enable() so that we sure get a
notification when we enable it later again. This way we don't have to
query the state the first time. Without this the Telit modem does not
always send an URC when AT#QSS=2 is sent.
Remove sim_inserted_source and sim_inserted_timeout_cb which are not
needed anymore as a consequence.
By the way the 1 second timeout was an ugly hack.
Don't query current SIM status in cfun_enable_cb() as the SIM is
disabled due to prior AT+CFUN=4.
Register '#QSS:' before enabling sim state notifications.
Remove telit_qss_cb() which was used as a callback for querying the
current SIM status.
Move sms atom creation into switch_sim_state_status() and add creation
of phonebook atom. These are created when QSS: 3 is received.
2012-08-30 09:45:27 -05:00
Christopher Vogl
f94d112d2c
telit: Avoid resetting the SIM
...
Avoid a reset when switching between online and offline (airplane)
mode in telit_set_online(). +CFUN accepts a second parameter (0), which
disables a reset: AT+CFUN=x,0.
2012-08-30 09:45:27 -05:00
Christopher Vogl
92cb2fd045
telit: disable auto attach procedures with AUTOATT
2012-08-21 14:34:31 -05:00
Denis Kenzior
c7e123530b
telit: Fix warning
...
plugins/telit.c: In function ‘rsen_disable_cb’:
plugins/telit.c:446:21: error: unused variable ‘data’
2012-08-20 08:10:27 -05:00
Christopher Vogl
0d724c7a34
telit: add additional port for data connection
...
Use MDM port for data service and AUX for the AT chat.
Disable DCD so that the modem does not hangup after a data connection.
2012-08-20 08:09:53 -05:00
Christopher Vogl
71cf14d5b1
udevng: rename aux port from Data to Aux for telit
...
Telit software user guide says:
USB AUX doesn't support any flow control method. Therefore, this port
isn't suitable for DATA service port.
We recommend this port should be used only for AT command and URC
processing.
2012-08-20 08:08:25 -05:00
Denis Kenzior
8112a025b9
mbm: Fix crash from processing multiple *EMRDY
...
Sometimes we see the *EMRDY notification before we query, and trigger
initialization procedures twice.
2012-08-16 11:39:22 -05:00
Denis Kenzior
cdb3de4d03
mbm: Remove spurious ';'
2012-08-16 11:20:45 -05:00
Christopher Vogl
1c6f585555
telit: pass vendor at sim atom creation
2012-08-16 01:16:16 -05:00
Denis Kenzior
8c18295350
telit: Fix 80 character per line violation
2012-08-16 01:15:39 -05:00
Christopher Vogl
e6905e003f
telit: move gprs atom into post sim phase
2012-08-16 01:12:48 -05:00
Marcel Holtmann
5a549e1ef7
bluetooth: Avoid shadowing of connection variable
2012-07-15 20:19:47 -03:00
Marcel Holtmann
38bea83fda
stemgr: Avoid shadowing of connection variable
2012-07-15 20:19:28 -03:00
Lucas De Marchi
d00e030f80
stemgr: watch for signals only on MGR_SERVICE
2012-07-02 11:04:38 -05:00
Lucas De Marchi
b84e107f08
bluetooth: watch for signals only on BLUEZ_SERVICE
2012-07-02 11:04:35 -05:00
Marcel Holtmann
e3bbfdcd15
gobi: Add support for USSD atom driver
2012-06-25 20:14:29 -07:00
Marcel Holtmann
eb0cbb1cf0
gobi: The location reporting is available even without SIM card present
2012-06-25 12:28:08 -07:00
Marcel Holtmann
96a8cf12cd
gobi: Add support for voice call atom driver
2012-06-25 12:11:45 -07:00
Marcel Holtmann
50d3c2600d
gobi: Cancel all requests and notifications on device shutdown
2012-06-25 10:25:49 -07:00
Marcel Holtmann
9a2d97e494
gobi: Use shared DMS for power and online operations
2012-06-25 09:31:02 -07:00
Luiz Augusto von Dentz
fa77d46f9d
bluetooth: ignore error if driver returns -EALREADY
2012-06-22 02:46:46 -05:00
Marcel Holtmann
6ac55c1924
gobi: Add support for radio settings atom driver
2012-06-24 22:55:08 -07:00
Marcel Holtmann
7da569f9e7
gobi: Disable UIM support for now and allow DMS fallback
2012-06-24 22:41:32 -07:00
Marcel Holtmann
be4423e523
gobi: Use QMI support to drive this modem
2012-06-21 16:09:57 -07:00
Pablo Neira Ayuso
8d319d0cca
wavecom: add support for Wavecom Q2403/Q2686 modems
2012-05-31 09:47:27 -05:00
Pablo Neira Ayuso
2049fb4c84
udev: add Wavecom support
...
This adds OFONO_WAVECOM_MODEL that can set in the udev rules file
to indicate the modem model, eg.
ENV{OFONO_WAVECOM_MODEL}="Q2XXX"
2012-05-31 09:45:28 -05:00
Marcel Holtmann
2d95541f3b
gobi: Use the correct modem property for AT command device
2012-05-26 07:36:30 +02:00
Marcel Holtmann
d5dc9c967d
udev: Fix matching to prefer entries with VID and PID
2012-05-26 07:35:58 +02:00
Marcel Holtmann
fba1efe1a5
udev: Add support for detecting Huawei QMI devices
2012-05-26 07:35:25 +02:00
Marcel Holtmann
6a62729e32
udev: Add support for detecting Gobi QMI devices
2012-05-26 07:01:42 +02:00
Marcel Holtmann
f986bcbe35
udev: Add matching support for CDC WDM device nodes
2012-05-26 06:46:54 +02:00
Marcel Holtmann
27d79055ba
icera: Select USSD driver based on USSD mode setting
2012-05-25 13:09:27 +02:00
Marcel Holtmann
897e99aceb
udev: Add detection for Nokia 21M-01 modems
2012-05-25 12:35:45 +02:00
Marcel Holtmann
8fed16f541
udev: Add detection for Samsung GT-Y3300 modems
2012-05-25 12:35:25 +02:00
Marcel Holtmann
aa5e661c55
udev: Extend port mapping for Icera modems
2012-05-25 12:30:40 +02:00
Marcel Holtmann
a5ae2e37df
icera: Request USSD mode and firmware details
2012-05-25 12:29:59 +02:00
Marcel Holtmann
6d83fbdf00
icera: Query initial state of SIM init status
2012-05-25 10:41:10 +02:00
Marcel Holtmann
f163708a85
icera: Enable support for radio settings handling
2012-05-25 10:33:14 +02:00
Marcel Holtmann
d514c4fd88
icera: Use SIM init nofitication instead of polling
2012-05-24 05:41:44 +02:00
Marcel Holtmann
81973b6d0a
icera: Enable SMS sending and receiving support
2012-05-24 03:56:36 +02:00
Marcel Holtmann
0bdc0119c7
icera: Enable USSD support and ensure default character set
2012-05-24 03:44:31 +02:00
Daniel Wagner
83becec832
bluetooth: Add Serial interface definition
2012-05-22 18:44:46 +02:00
Denis Kenzior
91cbcbf371
hfp_hf: Fix up whitespace corruption
2012-05-21 21:26:19 -05:00
Marcel Holtmann
c26cc80b08
icera: Add SIM, network registration and GPRS handling
2012-05-22 12:04:13 +02:00
Lucas De Marchi
e0d6f9f0ce
Do not set signature and reply in GDBus tables
...
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi
b3489f2ee8
Convert GDBus methods to use macro helpers
...
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida
63bbdebdf2
Constify GDBus method tables
...
Constify method tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Mikel Astiz
c9d3ce5c22
hfp_hf: Fix modifying hash table while iterating
...
Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().
A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.
This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().
2012-04-19 07:41:27 -05:00
Guillaume Zajac
a3fc044be4
zte: Update to new sim_state_query API
2012-04-18 04:08:44 -05:00