Matthias Günther
d8e1a68264
Added Wavecom modem plugin.
...
The Wavecom WMP100 is a serial based modem, however it assumes CPIN to
be the final response. This requires some quirking in the sim driver.
Refer to commit 6d28f82dc1
for details.
2010-04-20 11:54:25 -05:00
Pekka Pessi
fa3501b8d2
Refactor isimodem and gisi/netlink
...
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20 17:47:17 +03:00
Pekka Pessi
793710d800
Parse Interface key for isimodem and n900modem
2010-04-20 17:47:16 +03:00
Denis Kenzior
92cb776fae
phonesim: Disable polling in phonesim for now
...
Seems that polling support in phonesim is less than working
2010-04-20 09:12:43 -05:00
Denis Kenzior
53a2520ab8
Trivial: Remove extra ':' from history output
2010-04-20 09:12:43 -05:00
Denis Kenzior
cc0ffd1720
Rename ofono_atmodem_poll_enable
...
This is not official oFono API
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski
14bcca32c0
Implement STATUS polling in atmodem driver.
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski
b34c35d822
Add AT driver for STK atom.
2010-04-15 16:49:42 -05:00
Andrzej Zaborowski
ddfe8acf11
Drivers can notify core of SIM insertion / removal
...
Add ofono_sim_inserted_notify function to notify the core of SIM
insertion / removal.
Make every plugin generate a sim inserted event on start. For devices
with removable card, the event should be emitted after the
plugin detects such event. For devices that need to wait for SIM card
initialization, they can emit this event later.
2010-04-15 16:49:40 -05:00
Daniel Wagner
7bbbb6949c
Add support for Option iCON 451
2010-04-14 03:36:24 -07:00
Denis Kenzior
aadc1d884d
Add support for Option iCon 452
2010-04-01 22:32:58 -05:00
Denis Kenzior
4d44103cce
Update mbm to use two ports
...
The second port might be used for a second active context via ppp
2010-03-31 18:36:21 -05:00
Denis Kenzior
149650db8d
Fix: MD300 uses two ACM ports, so set one to data
2010-03-31 18:34:32 -05:00
Denis Kenzior
b046142044
Fix: Potential crash in modemconf
2010-03-31 08:22:03 -05:00
Denis Kenzior
40a2d9034d
Add call-forwarding to mbm driver
2010-03-29 15:38:22 -05:00
Denis Kenzior
21dd4f040a
Move erinfo notify to atmodem netreg driver
2010-03-28 23:49:57 -05:00
Denis Kenzior
8b33129bac
Add phonesim vendor quirk
2010-03-26 23:00:28 -05:00
Denis Kenzior
d994ed1111
Add mbm vendor
2010-03-26 23:00:28 -05:00
João Paulo Rechi Vita
c0c682d5c0
huawei: use GSM permissive parser instead of V1.
...
With V1 parser the driver fails to detect when a SMS is successfully
sent and keeps re-trying until Max retries.
2010-03-18 16:06:07 -05:00
Yang Gu
d26e71a06a
Add support of Huawei EM770 modem
...
Comparing with general Huawei modem, EM770 is a full feature modem that
supports voicecall, phonebook, call forwarding, call barring, etc.
2010-03-16 01:33:23 -07:00
Gustavo F. Padovan
400d692e6e
hfp: add watch to trigger HUP of the file descriptor
2010-02-15 16:46:17 -06:00
Gustavo F. Padovan
f738a84588
hfp: remove modems if bluetoothd exits unexpectedly
2010-02-15 15:03:31 -06:00
Gustavo F. Padovan
e66002bbcf
hfp: remove duplicated ofono_modem_set_powered
2010-02-15 13:37:34 -06:00
Denis Kenzior
766a0bcfa5
Fix: Unregistering the agent in disable is wrong
...
What we really want to do here is set a flag that the agent has not been
released yet. If this is the case we should send the Disconnect call on
disable.
2010-02-12 20:10:29 -06:00
Denis Kenzior
7194bd03a0
Add hfp/ prefix to the path for HFP modems
2010-02-12 19:49:19 -06:00
Denis Kenzior
5d104529f9
Add support for alias changes
2010-02-12 18:42:48 -06:00
Denis Kenzior
8210719201
Set modem name from Bluetooth device alias
2010-02-12 18:30:03 -06:00
Denis Kenzior
546a9fdd14
Fix: Use persistent paths for hfp modems
2010-02-12 18:19:32 -06:00
Denis Kenzior
e3016c3bc5
Fix: Store the modem in the uuid hash
...
The modem is more useful to store than the path, particularly once we
track Aliases
2010-02-12 17:57:20 -06:00
Denis Kenzior
6ec67d79ed
Refactor the UUIDs property changed path
2010-02-12 17:52:55 -06:00
Denis Kenzior
9f74296c2b
Don't leak user_data in send_method_call_with_reply
2010-02-12 17:51:23 -06:00
Gustavo F. Padovan
4c0790da4f
hfp: Don't use Disconnect when agent was released
2010-02-12 17:35:11 -06:00
Denis Kenzior
a040ca718b
Keep track of adapter addresses
...
This will be required for peristent HFP modem path tracking.
2010-02-12 16:33:53 -06:00
Denis Kenzior
a8cd42c4d5
Fix: Add free_func to send_method_call_with_reply
2010-02-12 16:30:34 -06:00
Denis Kenzior
2b9c5ee411
Fix: ofono_dbus_get_connection does not ref it
2010-02-12 16:07:13 -06:00
Denis Kenzior
103a5fdfcb
Cleanup: No sense in creating the hash if failed
2010-02-12 16:05:09 -06:00
Denis Kenzior
ed455645f9
Refactor: Device GetProperties handling
2010-02-12 15:44:31 -06:00
Denis Kenzior
d9382dc4b2
Refactor: Use Adapter Devices property
...
Adapter interface ListDevices method is deprecated
2010-02-12 15:32:53 -06:00
Denis Kenzior
41a1dacae9
Fix: Use Manager's Adapters property instead
...
ListAdapters method on Manager interface is deprecated
2010-02-12 15:05:52 -06:00
Denis Kenzior
7a48b56ebb
Add a more sophisticated GetProperties reply parser
2010-02-12 15:05:27 -06:00
Denis Kenzior
d5577a393d
Style: No need for this to be a function
2010-02-12 12:02:39 -06:00
Denis Kenzior
35f83a7129
Fix: Use a 15 second timeout on a disconnect
2010-02-12 12:01:07 -06:00
Denis Kenzior
668dc8e42b
Style: No need for this to be a function
2010-02-12 12:01:04 -06:00
Denis Kenzior
1155a0c1a7
Style: No need for a function here
2010-02-12 11:27:02 -06:00
Gustavo F. Padovan
0d86193b34
hfp: set timeout to rfcomm establishment procedure
...
If it expires we call org.bluez.HandsfreeGateway.Disconnect()
It also modifies send_method_call and break it down into two functions.
Now we have send_method_call_with_reply, for DBus messages that needs a
reply. It sets a reply and a timeout for the message reply.
The other funcion is called send_method_call without timeout or reply
parameters.
2010-02-12 10:03:31 -06:00
Gustavo F. Padovan
46836533e0
hfp: avoid crash when hfp is declared on modem.conf
2010-02-11 17:03:31 -06:00
Gustavo F. Padovan
8f95e03d75
hfp: fix copyright notice
2010-02-11 17:03:17 -06:00
Denis Kenzior
7f9a9b0cdc
Fix: Don't use ofono_debug directly in plugins
2010-02-08 12:09:01 -06:00
Denis Kenzior
c02dc9c68b
Fix: Simplify overly complex error handling
2010-02-05 17:31:13 -06:00
Denis Kenzior
5237a12ca2
Style: Rename variables to better indicate arrays
...
Variables that hold arrays of strings should be named more appropriately
to help indicate this.
2010-02-05 17:25:53 -06:00
Denis Kenzior
8dc538e252
Style: No need for void here
2010-02-05 17:24:18 -06:00
Vinicius Costa Gomes
e20587631d
hfp: Fix memory leak when listing bluetooth devices
2010-02-05 17:15:16 -06:00
Gustavo F. Padovan
805a6c47d3
hfp: wait Disconnect reply to power down the modem
2010-02-05 13:35:43 -06:00
Gustavo F. Padovan
edb98c16e8
Fix: Don't call UnregisterAgent if already Released
...
Prevent to call UnregisterAgent on an already unregistered agent.
2010-02-05 13:34:33 -06:00
Gustavo F. Padovan
4522c9686d
hfp: create modem for new devices paired on runtime
...
It listens the UUIDs property to create a modem from the recently paired
devices. It also renames added_watch to adapter_watch, a more proper
name.
2010-02-05 13:33:13 -06:00
Denis Kenzior
d223243913
Fix: Use snprintf instead of sprintf in HFP
2010-02-05 12:00:14 -06:00
Denis Kenzior
7bab47f07b
Fix: No need to check for handsfree_path now
2010-02-04 13:49:36 -06:00
Denis Kenzior
5a6bbd113d
Cleanup: Refactor handling of failed connections
2010-02-04 13:49:36 -06:00
Denis Kenzior
4822b21b4d
Cleanup: Modem creation
2010-02-04 13:49:33 -06:00
Denis Kenzior
1cd4bf036f
Add function to handle SLC handshake failures
2010-02-04 13:13:57 -06:00
Marcel Holtmann
4d6eaa7404
Use blocking GAtChat objects for STE modems
...
Due to some missing implementation of POLLOUT, the access to the CAIF
channels of the STE modems have to be done in a blocking fashion.
2010-01-30 07:46:22 -08:00
Marcel Holtmann
16f477653d
Add support for using old CAIF subsystem with character devices
2010-01-30 07:45:24 -08:00
Marcel Holtmann
3e46541dd4
Use simple driver table for modem configuration setup helpers
2010-01-30 07:43:12 -08:00
Sjur Brændeland
ddd5582a54
Add STE voice call support.
2010-01-28 15:08:23 -06:00
Gustavo F. Padovan
bc7d0fb27f
Handle the error path from service_level_connection
2010-01-28 11:16:05 -06:00
Gustavo F. Padovan
0bb749a51f
Remove unneeded code to disable the modem on hfp
...
ofono_modem_remove() already disables the modem.
2010-01-28 10:41:28 -06:00
Marcel Holtmann
406988b94e
Disable dummy CAIF modem detection for now
2010-01-28 12:11:36 +01:00
Marcel Holtmann
badca24c5a
Add plugin for static CAIF device detection
2010-01-28 11:58:35 +01:00
Marcel Holtmann
ae6a0b32cf
Some minor style cleanups for STE support
2010-01-28 11:30:56 +01:00
Denis Kenzior
392f092ee0
Style: Various whitespace issues
2010-01-27 16:37:50 -06:00
Denis Kenzior
911b24c12d
Style: Don't go over 80 characters
2010-01-27 16:37:32 -06:00
Denis Kenzior
971e4c7345
Fix: Remove unused includes
2010-01-27 16:19:46 -06:00
Gustavo F. Padovan
abf86ae5fa
Add copyright note to the HFP plugin
2010-01-27 14:34:48 -06:00
Marcel Holtmann
59eeea0ebc
Remove wrong copyright statement within HFP plugin
2010-01-27 21:22:19 +01:00
Marcel Holtmann
49233dbc2f
Limit HFP plugin loading to D-Bus 1.3 only systems
2010-01-27 21:18:07 +01:00
Gustavo F. Padovan
ac6672e9b3
Add HFP support through BlueZ
...
It uses BlueZ through to get HFP working following the
org.bluez.HandsfreeGateway and org.bluez.HandsfreeAgent from
the BlueZ D-Bus API.
You need the HFP suport into BlueZ and the new D-Bus 1.3 or
later with fd-passing support.
Many thanks to Zhenhua Zhang <zhenhua.zhang@intel.com> for its
prototype on this code.
2010-01-27 21:18:07 +01:00
Sjur Brændeland
b0106d1225
Add STE modem support for GPRS PDP Contexts
2010-01-27 12:16:43 -06:00
Sjur Brændeland
e564dcf1cb
Add STE modem plugin
2010-01-25 20:58:34 +01:00
Jussi Kukkonen
ebe8904f39
Add quirk for cid and lac handling for Huawei
2010-01-20 10:09:54 -06:00
Denis Kenzior
9bed04ca2f
Style: Trailing whitespace & extra lines
2010-01-12 17:54:37 -06:00
Marcel Holtmann
058584e36b
Use short serial number for udev detected devices
2010-01-06 14:22:40 -08:00
Denis Kenzior
ee59512567
Port udev (temporarily) to the new framework
2010-01-06 15:51:01 -06:00
Denis Kenzior
0181d51684
Port modemconf to the new framework
2010-01-06 15:50:53 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Denis Kenzior
57512ad924
Style: Repeat for plugins
2009-12-17 21:45:39 -06:00
Martin Xu
028dc812be
New modem desc for f3607g modem in Samos platform
2009-12-09 02:37:57 -06:00
Denis Kenzior
94f71484db
Register to MBM ERINFO notification
...
This is purely for information gathering purposes
2009-12-07 18:36:27 -06:00
Denis Kenzior
749930dd18
Add HSO quirk to hso modem driver
2009-12-07 17:14:41 -06:00
Marcel Holtmann
ca5d0f9c35
Require udev-143 or later
2009-12-05 05:49:47 +01:00
Denis Kenzior
c25532df50
Fix: Convert PalmPre plugin to new world order
2009-12-02 19:11:36 -06:00
Denis Kenzior
82a4903eeb
Fix: Convert Novatel plugin to new world order
2009-12-02 19:11:36 -06:00
Denis Kenzior
ecfa61c50f
Fix: Convert MBM plugin to new world order
2009-12-02 19:11:35 -06:00
Denis Kenzior
4dc8c0aa80
Fix: Convert Huawei plugin to new world order
2009-12-02 19:11:35 -06:00
Denis Kenzior
21b9d4f017
Fix: Convert HSO plugin to new world order
2009-12-02 19:11:35 -06:00
Denis Kenzior
b77c63b73a
Fix: Convert G1 plugin to new world order
2009-12-02 19:11:35 -06:00
Denis Kenzior
a514983981
Fix: Force calypso to return to command mode ASAP
...
Calypso firmware is just bizarre. It seems that if anything is sent
before CPI=3 to the DLC handling voice commands, the ATD will not return
to command mode immediately, but instead wait until connected / failed
condition occurs.
If CPI=3 is sent first, then calypso will go to command mode immediately
after ATD is issued and report CPI indications as usual.
2009-12-01 12:45:44 -06:00
Denis Kenzior
5323e37bc8
Fix: Remove duplicate atoms from calypso plugin
2009-12-01 12:45:44 -06:00
Denis Kenzior
d1e62194ef
Fix: Disable echo on all calypso DLCs
2009-12-01 12:42:23 -06:00
Denis Kenzior
78008c6022
Update calypso plugin to the new wakeup handling
2009-11-26 07:44:25 -06:00
Denis Kenzior
37384ddb9c
Fix: Make Calypso handling a bit better
2009-11-26 07:44:25 -06:00