Commit Graph

1717 Commits

Author SHA1 Message Date
Denis Kenzior 3bc0024817 Add enumeration for STK Comprehension TLV objects 2010-02-18 10:58:22 -06:00
Denis Kenzior 1da0ea3b1d Add Sim Toolkit Envelope type enum 2010-02-17 18:23:56 -06:00
Denis Kenzior 32a9931056 Add Sim Toolkit Proactive Command enum 2010-02-17 18:23:53 -06:00
Denis Kenzior 9aeed6dbcc Add stubs files for Sim Toolkit Utilities 2010-02-17 15:10:33 -06:00
Vinicius Costa Gomes 2e9a16ce07 Fix: a pending call was leaking in check_service
This was triggering an assert inside libdbus when the timeout inside
the leaking pending call expired. The assert said that we were trying
to remove an nonexistent timeout.
2010-02-17 01:59:31 -08:00
Denis Kenzior 1c3aaaacc6 Refactor: ussd user response
When the user sends a response, the network can still continue the
dialog, it is not a final response and we cannot transition to an idle
state when the command finishes.  Instead we set it back to a special
state and treat subsequent network responses as unsolicited.
2010-02-16 10:18:04 -06:00
Denis Kenzior d17b2d8471 Rename: ussd-api to supplementaryservices-api 2010-02-16 10:17:58 -06:00
Denis Kenzior 1bebc1b469 Cleanup: Minor API tweaks for USSD 2010-02-16 10:17:52 -06:00
Andrzej Zaborowski 7d7739f7d6 Subscribe to USSD signals in test script. 2010-02-16 10:17:47 -06:00
Andrzej Zaborowski 740f8e3f09 Handle network-initiated ussd requests.
This adds the methods on the D-bus interface to allow the
client to handle USSD requests from the network, according to 22.090.
Unfortunately this document is not clear on every point and some
details can't be implemented.  This includes reporting unsupported
request to the network, unsupported language, ME busy etc, because
there isn't an AT command for that.
2010-02-16 10:17:40 -06: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
Andrzej Zaborowski 0bac79f1a2 Fix: Use g_dbus_emit_signal in call-barring,meter 2010-02-15 14:57:25 -06:00
Gustavo F. Padovan e66002bbcf hfp: remove duplicated ofono_modem_set_powered 2010-02-15 13:37:34 -06:00
Denis Kenzior 1ab40c469b Cleanup: Get rid of USSD_FLAG_PENDING 2010-02-15 11:04:08 -06:00
Marcel Holtmann 4126c581f9 Release 0.18 2010-02-12 21:36:33 -08: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 af4d4aeaeb Fix: Trivial mistake 2010-02-12 18:48:32 -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 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