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
Guillaume Zajac
8d92f0394f
speedup: Update to new sim_state_query API
2012-04-18 04:08:29 -05:00
Guillaume Zajac
1d2432ac85
samsung: Update to new sim_state_query API
2012-04-18 04:08:15 -05:00
Guillaume Zajac
fd5e7ed37e
mbm: Update to new sim_state_query API
2012-04-18 04:08:02 -05:00
Guillaume Zajac
1666a5d2f2
alcatel: Update to new sim_state_query API
2012-04-18 04:07:43 -05:00
Bertrand Aygon
ab6be24c58
speedup: enable online/offline support
...
Add speedup_set_online.
Add a polling mechanism since most speedup dongles failed in couple of
AT commands following the CFUN=1 when they are offline.
Cleanup online polling in case modem is removed during online process.
2012-04-18 04:02:43 -05:00
Nicolas Bertrand
eb8645e6f5
speedup: Use speedup specific driver for ussd
2012-04-17 03:11:00 -05:00
Bertrand Aygon
de29df012f
Add udev rules for SpeedUp U3501
2012-04-06 09:32:15 -05:00
Marcel Holtmann
c23d4c7823
icera: Add skeleton for Icera modem plugin
2012-04-06 16:28:35 +02:00
Marcel Holtmann
19b187a654
udev: Add detection support for Icera based devices
2012-04-06 16:19:36 +02:00
Bertrand Aygon
27992cd9a6
zte: Add support for radio settings
2012-03-26 16:51:24 -05:00
Marcel Holtmann
9abf49fa2b
udev: Only detect Sierra Wireless devices with DirectIP
2012-03-21 21:17:33 -07:00
Marcel Holtmann
1605dbadb4
sierra: Add support for DirectIP connections
2012-03-21 21:13:52 -07:00
Renat Zaripov
edd6634fce
sim900: Add ussd and voice call support
2012-03-13 21:31:21 -05:00
Renat Zaripov
e98bdcffc2
sim900: Use SIMCOM quirk for SMS atom
2012-02-27 20:30:28 -06:00
Neil Jerram
fb43a32743
hso: Don't access freed data, in hso_set_online
2012-02-27 15:16:37 -08:00
Denis Kenzior
f1fde3c33f
sim900: Fix minor coding style violation
2012-02-22 04:16:56 -06:00
Renat Zaripov
cdfcd6f55b
sim900: Add support for PIN retry counters
2012-02-22 04:16:05 -06:00
Marcel Holtmann
1a5895f428
udev: Remove empty line
2012-02-18 13:26:26 +01:00
Marcel Holtmann
ef3ea60913
udev: Add support for detecting Sierra network interfaces
2012-02-18 13:18:53 +01:00
Marcel Holtmann
d61e815c7f
hso: Open modem port to log extra notifications
2012-02-18 13:02:42 +01:00
Marcel Holtmann
efaf74a9fa
udev: Also detect modem port of Option HSO devices
2012-02-18 13:01:42 +01:00
Marcel Holtmann
7ec8466f8a
sierra: Rename some variables
2012-02-16 19:18:17 +01:00
Marcel Holtmann
1a3752c174
udev: Detect more ports for Sierra modems
2012-02-16 19:17:40 +01:00
Marcel Holtmann
91bd71e996
udev: Add sanity check for ports on old Option devices
2012-02-16 18:36:23 +01:00
Marcel Holtmann
caad8378d9
udev: Detect old Option cards without high-speed interface
2012-02-16 18:07:07 +01:00
Marcel Holtmann
7693007d2e
ifx: Add support for Assisted Satellite Navigation
2012-02-16 13:06:52 +01:00
Marcel Holtmann
e3ef803a75
ifx: Setup CSCS to use GSM for the aux port
...
This change is needed since otherwise umlauts and other characters
for USSD responses will not work properly.
2012-02-10 12:20:58 +01:00
Denis Kenzior
2708ca3b63
ifx: Take out bad merge
2012-02-09 22:35:21 -06:00
Marcel Holtmann
e2fe4e4940
ifx: Use CFUN=0 (Minimum Functionality) to disable modem
2012-02-10 02:42:43 +01:00
Marcel Holtmann
b1b0fe761e
ifx: Remove handling of audio settings setup
...
The audio settings setup is now done as port of the audio settings atom.
2012-02-10 01:17:06 +01:00
Marcel Holtmann
31efecfe72
ifx: Fix compilation issue
2012-02-02 21:51:26 -08:00
Denis Kenzior
6b44e65993
ifx: Make sure query XSIMSTATE
...
XSIMSTATE=1 does not seem to reliably activate XSIM notifications
anymore. So query the XSIMSTATE at startup instead.
2012-02-02 09:15:36 -06:00
Denis Kenzior
1b5b46a23e
ifx: Use a proper prefix for XGENDATA
2012-02-02 05:53:53 -06:00
Marcel Holtmann
5086f5f43a
udev: Limit ZTE port selection to specific product identifiers
2012-01-17 10:38:07 +01:00
Marcel Holtmann
d6d86ff938
udev: Keep vendor and product identifiers around
2012-01-17 10:35:23 +01:00
Marcel Holtmann
f2bfaed174
udev: Add detection support for SIM COM modems
2012-01-13 04:56:02 +01:00
Renat Zaripov
4d388a684b
udev: Add SIMCOM SIM900 detection support
...
This allows for detection of SIM900 modem module in case
of appropriate driver specified in udev rules.
Example rule:
KERNEL=="gsmtty3", ENV{OFONO_DRIVER}="sim900"
2012-01-11 23:48:24 -06:00
Renat Zaripov
969ad0acd7
plugins: Add support for sim900 by SIMCOM
...
This patch add support for SIM900 GSM module
http://wm.sim.com/Sim/FrontShow_en/wireless/detail.aspx?cid=6&nid=770
2012-01-11 23:48:24 -06:00
Marcel Holtmann
2292753f4e
huawei: Select USSD atom driver based on firmware mode
2012-01-12 06:02:27 +01:00
Marcel Holtmann
aba7731fdc
speedup: Setup CSCS after SIM card has been detected
2012-01-12 04:38:50 +01:00
Marcel Holtmann
d4eeced43c
hso: Setup CSCS after SIM card has been detected
2012-01-12 04:37:40 +01:00
Marcel Holtmann
0043f4735e
huawei: Setup CSCS after SIM card has been detected
2012-01-12 04:37:03 +01:00
Denis Kenzior
7f431e714f
udev: Use g_ascii_isalnum instead of isalnum
2012-01-11 14:31:45 -06:00
Marcel Holtmann
e0853c7f20
huawei: Print and store NDIS support results
2012-01-11 21:35:25 +01:00
Denis Kenzior
60890653e3
huawei: Refactor logic slightly
2012-01-11 06:49:46 -06:00
Guillaume Zajac
b1eb2209ab
huawei: Create sim atom for cdma modems
...
Don't create atom if sim is embedded.
Atom will use "atmodem-noef" drivers to support PIN management
and IMSI retrieval.
2012-01-11 06:46:38 -06:00
Denis Kenzior
89c757f49d
zte: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
845deec554
speedup: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
9afba48128
nokia: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
908eadf4d1
huawei: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
e8f56215d9
hso: Setup CSCS properly
2012-01-11 06:38:28 -06:00
Marcel Holtmann
8e110af6e1
huawei: Check for NDIS vs modem dial-up mode
2012-01-11 16:33:02 +01:00
Denis Kenzior
bddacd8774
ofono.rules: Add N900 rule for stock kernels
...
From a patch set by Luke Dash
2012-01-07 13:20:09 -06:00
Philippe Nunes
9631d53ad0
cdma-provision: Add cdma provisioning plugin
2012-01-07 12:40:47 -06:00
Guillaume Zajac
de2e92fc86
udevng: Remove huaweicdma label from driver_list
2012-01-07 12:26:31 -06:00
Marcel Holtmann
57604ec2b7
huawei: Adapt to changed atom driver name for CDMA netreg
2012-01-06 19:56:46 -08:00
Marcel Holtmann
c7ec6efa4e
huawei: Use CFUN=5 for CDMA offline state handling
...
The Huawei CDMA modems only support CFUN=5 for offline mode and so
enforce this one if CDMA support has been detected. Even if the modem
would indicate AT^RFSWITCH support.
2012-01-06 19:16:43 -08:00
Marcel Holtmann
18a1fbca84
huawei: Handle modems with ROM based SIM cards
...
Some modem contain ROM based SIM cards indicated by SIM state 240 and
these need to be treated as SIM present.
2012-01-06 19:11:03 -08:00
Marcel Holtmann
cdfea3601e
huawei: Create CDMA atoms if support has been detected
...
In case the modem supports CDMA (+CIS707-A capability), then enable
CDMA atoms. However only enable if GSM support is not detected.
2012-01-06 19:08:13 -08:00
Marcel Holtmann
1600d4fdcc
hso: Enable voice call handling if support has been detected
...
Check if AT_OPCMENABLE is supported and if so, then enable the voice
call handling as well.
2012-01-06 18:52:12 -08:00
Marcel Holtmann
09c7a1cdd1
huawei: Create GSM/UMTS atoms only if support has been detected
2012-01-06 18:30:12 -08:00
Guillaume Zajac
d432561a12
huaweicdma: Delete unused plugin
2012-01-06 13:44:34 -08:00
Guillaume Zajac
ba06f8e2fa
udev: Simplify vendor_list for Huawei constructor
...
According to Huawei constructor, the port mapping is identical
for all the modems. We can decide to use GSM or CDMA drivers into
the plugin.
2012-01-06 13:43:17 -08:00
Marcel Holtmann
991822cb61
huawei: Check for supported modem capabilities first
...
Use ATI and +GCAP response to determine supported modem capabilities
and check if modem does support GSM.
2012-01-06 13:31:38 -08:00
Marcel Holtmann
cd4528e7a3
huawei: Change state variable name for voice support
2012-01-06 13:19:30 -08:00
Marcel Holtmann
0b82269b11
hso: Add support for detecting is no SIM card is present
2012-01-01 18:00:39 -08:00
Syam Sidhardhan
9c89410c44
telit: Fix empty parameter list in function
2011-12-28 16:24:12 -06:00
Syam Sidhardhan
7a01c16a4a
hfp_ag: Fix empty parameter list in functions
2011-12-28 16:18:07 -06:00
Philippe Nunes
a740baa3e5
Add-udev-rules-for-Speedup-dongles
2011-12-21 07:58:58 -08:00
Philippe Nunes
4e2fc09083
udevng: Do only label assignment for Speedup dongles
2011-12-20 09:24:03 -08:00
Guillaume Zajac
3b6cb3a2c2
speedupcdma: Create cdma-netreg atom
...
According to SpeedUp 7300 specifications, SpeedUp uses
same AT command as Huawei so we can create cdma-netreg atom
using huaweicdma drivers.
2011-12-15 22:39:57 -06:00
Christopher Vogl
557201c2da
udevng: add another driver name for telit
...
some telit hardware needs option driver.
2011-12-15 22:38:29 -06:00
Guillaume Zajac
fb009fafd6
speedupcdma: Tweak plugin to notify dormant state
2011-12-10 18:49:46 -06:00
Philippe Nunes
cf7ad87bc6
huaweicdma: Use pcui port for cdma_netreg
2011-12-09 06:10:44 -06:00
Guillaume Zajac
aa917e5be1
huaweicdma: Tweak plugin to notify dormant state
...
Specify vendor in creating cdma-connman atom.
Set PCUI interface as slave of MODEM interface to receive dormant
state notification during data call.
2011-12-08 06:23:28 -06:00
Guillaume Zajac
0a6189c15e
sierra: Fix memory leak
2011-11-29 11:30:21 -06:00
Daniel Wagner
a7b69ac661
sap: Add modem type sap
2011-11-22 20:34:48 -06:00
Daniel Wagner
410914197b
hfp_hf: Add modem type hfp
2011-11-22 20:34:48 -06:00
Denis Kenzior
f454dea15b
plugins: Make the code a bit prettier
2011-11-16 03:59:40 -06:00
Philippe Nunes
07c33cdee9
mbpi: Add mbpi_lookup_cdma_provider_name API
2011-11-16 03:53:28 -06:00
Philippe Nunes
8e6da29392
provision: Update to the new mbpi API
2011-11-14 14:10:54 -06:00
Philippe Nunes
56e7c056cf
mbpi: mbpi_lookup becomes mbpi_lookup_apn
2011-11-14 14:10:43 -06:00
Denis Kenzior
1b95913b60
hfp_hf: Fix minor style issue from previous commit
2011-11-01 18:51:34 -05:00
Mikel Astiz
33a3ddfbb1
hfp_hf: BT address exposed through Serial property
...
Accomplished by adding the devinfo atom in pre_sim stage
2011-11-01 18:51:34 -05:00
Denis Kenzior
8e882b75a0
phonesim: Add handsfree atom to localhfp
2011-10-21 13:57:13 -05:00
Oleg Zhurakivskyy
975c916789
mbpi: Minor style issues
2011-10-20 12:43:27 -05:00
Oleg Zhurakivskyy
0ec773614f
mbpi: Rename mbpi_provision_data_free()
2011-10-20 12:42:16 -05:00
Oleg Zhurakivskyy
3c117e3ea3
mbpi: Add mbpi_ap_type()
2011-10-20 12:39:52 -05:00
Oleg Zhurakivskyy
807a98e0bb
provision: Add provisioning plugin
2011-10-20 12:38:54 -05:00
Gustavo F. Padovan
5371c28773
udev: add a driver name for telit
...
telit hardware needs usbserial.
2011-10-15 17:29:10 -07:00
Mikel Astiz
4cd3bf5733
hfp_hf: Switch to permissive AT syntax parser
...
Some phones can have trouble when using the strict AT syntax parser for
HFP. So far, this has only been evidenced with the Samsung Wave, which
works fine with the permissive syntax parser.
Several other phones have been tested with the permissive parser and
seem to work OK.
2011-10-13 13:52:18 -05:00
Denis Kenzior
c091b3537a
hfp_hf: Fix crash
...
If BlueZ exits during an outstanding Connect/Disconnect operation,
oFono can crash due to the pending call finishing on an already-removed
modem object.
2011-10-12 18:30:12 -05:00
Oleg Zhurakivskyy
d24d5219e7
mbpi: Add filename and line information on error
2011-10-12 16:59:31 -05:00
Oleg Zhurakivskyy
3501d76b94
mbpi: Improve mbpi_lookup() error reporting
2011-10-12 16:30:33 -05:00
Oleg Zhurakivskyy
d02e0c42b6
mbpi: Fix handling of the usage element
2011-10-12 16:29:19 -05:00
Oleg Zhurakivskyy
1e44b29de9
mbpi: Reflow gsm_end()
2011-10-12 16:24:03 -05:00
Oleg Zhurakivskyy
8f26272f01
mbpi: Split gsm_start() for readability
2011-10-12 16:20:51 -05:00
Marcel Holtmann
c867c9f9bf
plugins: Update copyright information
2011-10-10 13:39:54 -07:00
Marcel Holtmann
63a65e73ba
zte: Use own vendor quirk for SMS atom driver
2011-10-06 15:29:52 -07:00
Gustavo F. Padovan
ee2ba5b256
sap: also accept err = 0 in enable()
2011-09-29 14:03:45 -05:00
Gustavo F. Padovan
0e4a351282
telit: fix shutdown of bluetooth socket
2011-09-29 14:03:45 -05:00
Gustavo F. Padovan
53e005b200
sap: add sap modem disable() support
2011-09-29 14:03:45 -05:00
Gustavo F. Padovan
77aa9ef9d1
sap: clean up extra blank line
2011-09-29 11:21:57 -05:00
Gustavo F. Padovan
7a30f2e431
sap: add full support to SAP modem
...
Add pre_sim, post_sim, set_online and post_online calls
2011-09-29 11:21:54 -05:00
Gustavo F. Padovan
fa56fe78c5
telit: add post_online to SAP Client
2011-09-29 11:19:22 -05:00
Gustavo F. Padovan
fde698c2a5
telit: add set_online to SAP Client
2011-09-29 11:19:03 -05:00
Gustavo F. Padovan
9c7f0aa45e
telit: add post_sim to SAP Client
2011-09-29 11:18:51 -05:00
Gustavo F. Padovan
93fd2afd02
telit: add pre_sim support to SAP Client
2011-09-29 11:18:40 -05:00
Gustavo F. Padovan
e07b4217aa
telit: init modem normally once SAP was enabled
2011-09-29 11:17:12 -05:00
Gustavo F. Padovan
deca4a32d3
telit: add suport the disable SAP client
2011-09-29 11:13:05 -05:00
Gustavo F. Padovan
d4da014f6f
sap: enable SAP modem, when BlueZ replies
2011-09-29 10:49:47 -05:00
Denis Kenzior
019f0c9265
telit: Reflow sap_enable logic
...
To cover some conditions where we do not clean up properly
2011-09-29 10:48:23 -05:00
Denis Kenzior
c035b1af48
telit: Remove unneeded if
2011-09-29 10:02:33 -05:00
Gustavo F. Padovan
b722540594
telit: add support the enable the SAP client modem
2011-09-29 09:57:29 -05:00
Gustavo F. Padovan
06544a4c4d
sap: remove connect callback if enable fails
2011-09-29 09:11:34 -05:00
Gustavo F. Padovan
02a6d7b3a9
sap: clean up sap modem destruction
2011-09-28 02:24:36 -05:00
Gustavo F. Padovan
4f54a18539
sap: remove server_path
...
We use ofono_modem_set_string() instead to store it.
This also remove the need to have sap_data allocation on
bluetooth_sap_probe().
2011-09-28 02:24:04 -05:00
Gustavo F. Padovan
1f774bc1de
sap: fix sap modem remove
...
prefix NULL means that the modem needs to be removed
2011-09-27 23:43:27 -05:00
Gustavo F. Padovan
e73244a4a3
sap: retrigger bluetooth GetProperties call
...
When plugging a SAP capable modem, GetProperties need to be called again
to fetch the SAP Server devices from BlueZ.
2011-09-27 23:36:23 -05:00
Gustavo F. Padovan
9667db0b14
telit: add #RSEN notify
...
RSEN URC tells if the SAP Client was enabled or not
2011-09-26 13:38:19 -05:00
Gustavo F. Padovan
c30e7265d9
sap: add support to connect the RFCOMM link
2011-09-26 13:38:12 -05:00
Gustavo F. Padovan
4f3b9ff36c
telit: add support to enable SAP client
2011-09-26 13:37:55 -05:00
Denis Kenzior
7771fa07c8
sap: Fix minor whitespace issues
2011-09-26 13:37:06 -05:00
Gustavo F. Padovan
64e2b33465
sap: Add basic sap plugin
2011-09-25 11:45:54 -05:00
Gustavo F. Padovan
39f39b37c9
bluetooth: track DBus call pending
2011-09-13 00:14:15 -05:00
Mikel Astiz
4b2b707a30
hfp_hf: add handsfree atom
2011-09-09 01:05:47 -05:00
Denis Kenzior
a33c546694
plugins: Fix unused var warning
2011-09-09 00:10:06 -05:00
Denis Kenzior
cbe83ead62
plugins: Add mobile-broadband-provider-info parser
2011-09-08 23:50:19 -05:00
Marcel Holtmann
036707e42a
hso: Switch modem to use error numbers instead of strings
2011-08-22 17:42:36 -07:00
Daniel Wagner
75603a546f
udev: Fix typo for Huawei diagnostic interfaces
2011-08-17 17:16:00 -07:00
Denis Kenzior
9fb9d2385c
sim-poll: Remove unused code
2011-08-14 22:56:45 -05:00
Marcel Holtmann
de8b4621c2
udev: Add automatic detection for Linktop devices
2011-08-11 15:27:33 -07:00
Marcel Holtmann
8240fe9684
udev: Detect Diagnostic (QCDM) port for Telit devices
2011-08-11 10:53:54 -07:00
Marcel Holtmann
5d6ac7342f
udev: Add automatic detection for Telit modems
2011-08-11 10:40:59 -07:00
Marcel Holtmann
f5c4be8160
udev: Add support for automatic ISI USB modem detection
2011-08-11 10:28:48 -07:00
Marcel Holtmann
ea8e97bdc8
udev: Prepare for supporting different bus types
2011-08-11 10:03:25 -07:00