Denis Kenzior
d87f285fdf
Add support for modem names
2010-02-12 18:29:41 -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
9a9e2d325e
Mention Inaky's contributions
2010-02-10 23:53:37 -06:00
Inaky Perez-Gonzalez
ec7b597bd9
Fix: plugin version mismatch warning
...
When complaining about plugin version mismatch, print the
version information
2010-02-10 23:52:13 -06:00
Inaky Perez-Gonzalez
8b54792cdd
Clean: no error path needed
...
Remove unneeded error path and document the rationale behind it in
__ofono_modem_get_list() and manager_get_properties().
2010-02-10 18:06:46 -06:00
Zhenhua Zhang
c4073fca00
Rename server_io to channel
...
To make it consistent with GAtChat.
2010-02-10 16:41:31 -06:00
Zhenhua Zhang
c5f962cb18
Replace sprintf with snprintf
2010-02-10 16:41:31 -06:00
Zhenhua Zhang
d80bba564e
Rename buf to read_buf in GAtServer
...
Because we may introduce write_buf for sever response buffer.
2010-02-10 16:41:31 -06:00
Denis Kenzior
4b81513d95
Style: if statement
2010-02-10 16:41:31 -06:00
Denis Kenzior
813470a025
Fix: memory leak
2010-02-10 16:41:31 -06:00
Marcel Holtmann
fe848f623b
Mention the new dynamic debug command line option
2010-02-10 06:06:28 +01:00
Aki Niemi
02acd8441d
Enable USSD_STATE_USER_ACTION
...
If the network requests user action in the response to an MO USSD, we
cannot immediately return to USSD_STATE_USER_IDLE. Instead,
USSD_STATE_USER_ACTION is entered.
Note that it is left up to the driver to notify() when the USSD
transaction is closed by the network due to inactivity. Another way to
return to USSD_STATE_IDLE is for the user to cancel() the transaction.
2010-02-09 23:19:11 +02:00
Aki Niemi
d12e1a8b9e
Add isimodem USSD implementation
2010-02-09 23:15:52 +02:00
Aki Niemi
7001e7b163
Add USSD codepoints and debugging
2010-02-09 22:50:38 +02:00
Aki Niemi
8730339f40
Move USSD status enum to header
2010-02-09 22:31:32 +02:00
Denis Kenzior
6d28f82dc1
Add Wavecom's quirky CPIN handling
2010-02-08 16:13:43 -06:00
Denis Kenzior
ea771ec186
Fix: Tweak gprs attach logic
...
We use driver_attached to track whether the driver is attached /
attaching. Unfortunately we only set it when set_attached succeeds.
Instead we should set it right away when calling set_attached, so we
cover pending attaches as well.
2010-02-08 15:33:17 -06:00
Denis Kenzior
d11505f751
Fix: Add recheck flag to gprs
...
When a powered is toggled quickly, we ignore the second request. This
flag tells us that we should recheck what the attach status should be
once the current operation finishes
2010-02-08 15:32:04 -06:00
Denis Kenzior
c98b951fe6
Refactor: Remove atutil dump_response
...
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior
7f9a9b0cdc
Fix: Don't use ofono_debug directly in plugins
2010-02-08 12:09:01 -06:00
Denis Kenzior
87ca1b0c8f
Fix: Don't use ofono_debug directly in the core
...
Use DBG macro which is integrated with the new debug framework.
2010-02-08 11:54:03 -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
Denis Kenzior
8930371e32
Mention Vinicius' contributions
2010-02-05 17:15:35 -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
a7b421e358
Update gitignore
2010-02-05 12:21:34 -06:00
Denis Kenzior
bfeef21a9d
Fix: Send *EIAAUW after CGDCONT for STE and MBM
...
Otherwise the EIAAUW might fail.
2010-02-05 12:20:45 -06:00