platform/upstream/ofono.git
14 years agodoc: Add 'Name' property under 'Modem' interface.
João Paulo Rechi Vita [Wed, 24 Feb 2010 19:14:26 +0000 (16:14 -0300)]
doc: Add 'Name' property under 'Modem' interface.

14 years agoTest: Show number being dialed
João Paulo Rechi Vita [Wed, 24 Feb 2010 19:14:27 +0000 (16:14 -0300)]
Test: Show number being dialed

14 years agoTest: Show id of the modem being enabled/disabled
João Paulo Rechi Vita [Wed, 24 Feb 2010 19:14:25 +0000 (16:14 -0300)]
Test: Show id of the modem being enabled/disabled

14 years agoUpdate unit test for USAT display text command
Denis Kenzior [Tue, 23 Feb 2010 23:11:29 +0000 (17:11 -0600)]
Update unit test for USAT display text command

14 years agoAdd basic support for USAT/CAT proactive commands
Denis Kenzior [Tue, 23 Feb 2010 23:10:26 +0000 (17:10 -0600)]
Add basic support for USAT/CAT proactive commands

Only display_text with mandatory fields is currently supported.

14 years agoAdd COMPREHENSION TLV iterator utilities
Denis Kenzior [Tue, 23 Feb 2010 18:01:09 +0000 (12:01 -0600)]
Add COMPREHENSION TLV iterator utilities

14 years agoAdd Simple TLV iterator utilities
Denis Kenzior [Tue, 23 Feb 2010 17:22:06 +0000 (11:22 -0600)]
Add Simple TLV iterator utilities

14 years agoFix: EFspdi parsing
Denis Kenzior [Tue, 23 Feb 2010 07:06:35 +0000 (01:06 -0600)]
Fix: EFspdi parsing

EFspdi is a nested BER-TLV structure.  The outside BER-TLV has the tag
A3, and the inside contains the PLMN list TLV with tag 0x80.

14 years agoRewrite ber_tlv_find_tag to use ber_tlv iterator
Denis Kenzior [Tue, 23 Feb 2010 06:57:35 +0000 (00:57 -0600)]
Rewrite ber_tlv_find_tag to use ber_tlv iterator

14 years agoUpdate gitignore
Denis Kenzior [Tue, 23 Feb 2010 06:40:04 +0000 (00:40 -0600)]
Update gitignore

14 years agoMove from header to implementation
Denis Kenzior [Tue, 23 Feb 2010 06:39:24 +0000 (00:39 -0600)]
Move from header to implementation

14 years agoAdd BER-TLV iterator unit test
Denis Kenzior [Tue, 23 Feb 2010 06:38:15 +0000 (00:38 -0600)]
Add BER-TLV iterator unit test

14 years agoAdd BER-TLV iterator utilities
Denis Kenzior [Tue, 23 Feb 2010 06:37:55 +0000 (00:37 -0600)]
Add BER-TLV iterator utilities

14 years agoAdd STK device identity enum
Denis Kenzior [Thu, 18 Feb 2010 22:21:48 +0000 (16:21 -0600)]
Add STK device identity enum

14 years agoAdd stub for unit test for Sim Toolkit utils
Denis Kenzior [Thu, 18 Feb 2010 22:20:30 +0000 (16:20 -0600)]
Add stub for unit test for Sim Toolkit utils

14 years agoAdd enumeration for STK Comprehension TLV objects
Denis Kenzior [Thu, 18 Feb 2010 16:58:22 +0000 (10:58 -0600)]
Add enumeration for STK Comprehension TLV objects

14 years agoAdd Sim Toolkit Envelope type enum
Denis Kenzior [Thu, 18 Feb 2010 00:22:18 +0000 (18:22 -0600)]
Add Sim Toolkit Envelope type enum

14 years agoAdd Sim Toolkit Proactive Command enum
Denis Kenzior [Thu, 18 Feb 2010 00:22:04 +0000 (18:22 -0600)]
Add Sim Toolkit Proactive Command enum

14 years agoAdd stubs files for Sim Toolkit Utilities
Denis Kenzior [Wed, 17 Feb 2010 21:10:33 +0000 (15:10 -0600)]
Add stubs files for Sim Toolkit Utilities

14 years agoFix: a pending call was leaking in check_service
Vinicius Costa Gomes [Fri, 12 Feb 2010 20:35:08 +0000 (17:35 -0300)]
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.

14 years agoRefactor: ussd user response
Denis Kenzior [Tue, 16 Feb 2010 16:14:23 +0000 (10:14 -0600)]
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.

14 years agoRename: ussd-api to supplementaryservices-api
Denis Kenzior [Tue, 16 Feb 2010 15:56:56 +0000 (09:56 -0600)]
Rename: ussd-api to supplementaryservices-api

14 years agoCleanup: Minor API tweaks for USSD
Denis Kenzior [Tue, 16 Feb 2010 15:55:47 +0000 (09:55 -0600)]
Cleanup: Minor API tweaks for USSD

14 years agoSubscribe to USSD signals in test script.
Andrzej Zaborowski [Mon, 15 Feb 2010 10:05:40 +0000 (11:05 +0100)]
Subscribe to USSD signals in test script.

14 years agoHandle network-initiated ussd requests.
Andrzej Zaborowski [Mon, 15 Feb 2010 10:05:16 +0000 (11:05 +0100)]
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.

14 years agohfp: add watch to trigger HUP of the file descriptor
Gustavo F. Padovan [Mon, 15 Feb 2010 20:40:25 +0000 (18:40 -0200)]
hfp: add watch to trigger HUP of the file descriptor

14 years agohfp: remove modems if bluetoothd exits unexpectedly
Gustavo F. Padovan [Mon, 15 Feb 2010 20:40:26 +0000 (18:40 -0200)]
hfp: remove modems if bluetoothd exits unexpectedly

14 years agoFix: Use g_dbus_emit_signal in call-barring,meter
Andrzej Zaborowski [Mon, 15 Feb 2010 07:02:56 +0000 (08:02 +0100)]
Fix: Use g_dbus_emit_signal in call-barring,meter

14 years agohfp: remove duplicated ofono_modem_set_powered
Gustavo F. Padovan [Mon, 15 Feb 2010 19:26:34 +0000 (17:26 -0200)]
hfp: remove duplicated ofono_modem_set_powered

14 years agoCleanup: Get rid of USSD_FLAG_PENDING
Denis Kenzior [Mon, 15 Feb 2010 16:39:29 +0000 (10:39 -0600)]
Cleanup: Get rid of USSD_FLAG_PENDING

14 years agoRelease 0.18 0.18
Marcel Holtmann [Sat, 13 Feb 2010 05:36:33 +0000 (21:36 -0800)]
Release 0.18

14 years agoFix: Unregistering the agent in disable is wrong
Denis Kenzior [Sat, 13 Feb 2010 02:10:29 +0000 (20:10 -0600)]
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.

14 years agoAdd hfp/ prefix to the path for HFP modems
Denis Kenzior [Sat, 13 Feb 2010 01:49:19 +0000 (19:49 -0600)]
Add hfp/ prefix to the path for HFP modems

14 years agoFix: Trivial mistake
Denis Kenzior [Sat, 13 Feb 2010 00:48:32 +0000 (18:48 -0600)]
Fix: Trivial mistake

14 years agoAdd support for alias changes
Denis Kenzior [Sat, 13 Feb 2010 00:42:48 +0000 (18:42 -0600)]
Add support for alias changes

14 years agoSet modem name from Bluetooth device alias
Denis Kenzior [Sat, 13 Feb 2010 00:30:03 +0000 (18:30 -0600)]
Set modem name from Bluetooth device alias

14 years agoAdd support for modem names
Denis Kenzior [Sat, 13 Feb 2010 00:29:41 +0000 (18:29 -0600)]
Add support for modem names

14 years agoFix: Use persistent paths for hfp modems
Denis Kenzior [Sat, 13 Feb 2010 00:19:32 +0000 (18:19 -0600)]
Fix: Use persistent paths for hfp modems

14 years agoFix: Store the modem in the uuid hash
Denis Kenzior [Fri, 12 Feb 2010 23:57:10 +0000 (17:57 -0600)]
Fix: Store the modem in the uuid hash

The modem is more useful to store than the path, particularly once we
track Aliases

14 years agoRefactor the UUIDs property changed path
Denis Kenzior [Fri, 12 Feb 2010 23:52:55 +0000 (17:52 -0600)]
Refactor the UUIDs property changed path

14 years agoDon't leak user_data in send_method_call_with_reply
Denis Kenzior [Fri, 12 Feb 2010 23:51:23 +0000 (17:51 -0600)]
Don't leak user_data in send_method_call_with_reply

14 years agohfp: Don't use Disconnect when agent was released
Gustavo F. Padovan [Fri, 12 Feb 2010 23:31:40 +0000 (21:31 -0200)]
hfp: Don't use Disconnect when agent was released

14 years agoKeep track of adapter addresses
Denis Kenzior [Fri, 12 Feb 2010 22:33:53 +0000 (16:33 -0600)]
Keep track of adapter addresses

This will be required for peristent HFP modem path tracking.

14 years agoFix: Add free_func to send_method_call_with_reply
Denis Kenzior [Fri, 12 Feb 2010 22:29:59 +0000 (16:29 -0600)]
Fix: Add free_func to send_method_call_with_reply

14 years agoFix: ofono_dbus_get_connection does not ref it
Denis Kenzior [Fri, 12 Feb 2010 22:07:13 +0000 (16:07 -0600)]
Fix: ofono_dbus_get_connection does not ref it

14 years agoCleanup: No sense in creating the hash if failed
Denis Kenzior [Fri, 12 Feb 2010 22:05:09 +0000 (16:05 -0600)]
Cleanup: No sense in creating the hash if failed

14 years agoRefactor: Device GetProperties handling
Denis Kenzior [Fri, 12 Feb 2010 21:44:31 +0000 (15:44 -0600)]
Refactor: Device GetProperties handling

14 years agoRefactor: Use Adapter Devices property
Denis Kenzior [Fri, 12 Feb 2010 21:32:53 +0000 (15:32 -0600)]
Refactor: Use Adapter Devices property

Adapter interface ListDevices method is deprecated

14 years agoFix: Use Manager's Adapters property instead
Denis Kenzior [Fri, 12 Feb 2010 21:05:52 +0000 (15:05 -0600)]
Fix: Use Manager's Adapters property instead

ListAdapters method on Manager interface is deprecated

14 years agoAdd a more sophisticated GetProperties reply parser
Denis Kenzior [Fri, 12 Feb 2010 21:05:27 +0000 (15:05 -0600)]
Add a more sophisticated GetProperties reply parser

14 years agoStyle: No need for this to be a function
Denis Kenzior [Fri, 12 Feb 2010 18:02:39 +0000 (12:02 -0600)]
Style: No need for this to be a function

14 years agoFix: Use a 15 second timeout on a disconnect
Denis Kenzior [Fri, 12 Feb 2010 17:59:14 +0000 (11:59 -0600)]
Fix: Use a 15 second timeout on a disconnect

14 years agoStyle: No need for this to be a function
Denis Kenzior [Fri, 12 Feb 2010 17:58:49 +0000 (11:58 -0600)]
Style: No need for this to be a function

14 years agoStyle: No need for a function here
Denis Kenzior [Fri, 12 Feb 2010 17:27:02 +0000 (11:27 -0600)]
Style: No need for a function here

14 years agohfp: set timeout to rfcomm establishment procedure
Gustavo F. Padovan [Thu, 11 Feb 2010 22:52:42 +0000 (20:52 -0200)]
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.

14 years agohfp: avoid crash when hfp is declared on modem.conf
Gustavo F. Padovan [Thu, 11 Feb 2010 22:52:41 +0000 (20:52 -0200)]
hfp: avoid crash when hfp is declared on modem.conf

14 years agohfp: fix copyright notice
Gustavo F. Padovan [Thu, 11 Feb 2010 22:52:40 +0000 (20:52 -0200)]
hfp: fix copyright notice

14 years agoMention Inaky's contributions
Denis Kenzior [Thu, 11 Feb 2010 05:53:37 +0000 (23:53 -0600)]
Mention Inaky's contributions

14 years agoFix: plugin version mismatch warning
Inaky Perez-Gonzalez [Thu, 11 Feb 2010 00:15:10 +0000 (16:15 -0800)]
Fix: plugin version mismatch warning

When complaining about plugin version mismatch, print the
version information

14 years agoClean: no error path needed
Inaky Perez-Gonzalez [Wed, 10 Feb 2010 23:53:05 +0000 (15:53 -0800)]
Clean: no error path needed

Remove unneeded error path and document the rationale behind it in
__ofono_modem_get_list() and manager_get_properties().

14 years agoRename server_io to channel
Zhenhua Zhang [Tue, 9 Feb 2010 14:59:29 +0000 (22:59 +0800)]
Rename server_io to channel

To make it consistent with GAtChat.

14 years agoReplace sprintf with snprintf
Zhenhua Zhang [Tue, 9 Feb 2010 14:59:28 +0000 (22:59 +0800)]
Replace sprintf with snprintf

14 years agoRename buf to read_buf in GAtServer
Zhenhua Zhang [Tue, 9 Feb 2010 14:59:27 +0000 (22:59 +0800)]
Rename buf to read_buf in GAtServer

Because we may introduce write_buf for sever response buffer.

14 years agoStyle: if statement
Denis Kenzior [Wed, 10 Feb 2010 19:14:27 +0000 (13:14 -0600)]
Style: if statement

14 years agoFix: memory leak
Denis Kenzior [Wed, 10 Feb 2010 19:12:25 +0000 (13:12 -0600)]
Fix: memory leak

14 years agoMention the new dynamic debug command line option
Marcel Holtmann [Wed, 10 Feb 2010 05:06:28 +0000 (06:06 +0100)]
Mention the new dynamic debug command line option

14 years agoEnable USSD_STATE_USER_ACTION
Aki Niemi [Tue, 9 Feb 2010 21:19:11 +0000 (23:19 +0200)]
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.

14 years agoAdd isimodem USSD implementation
Aki Niemi [Tue, 9 Feb 2010 18:27:22 +0000 (20:27 +0200)]
Add isimodem USSD implementation

14 years agoAdd USSD codepoints and debugging
Aki Niemi [Tue, 9 Feb 2010 09:16:22 +0000 (11:16 +0200)]
Add USSD codepoints and debugging

14 years agoMove USSD status enum to header
Aki Niemi [Tue, 9 Feb 2010 20:00:46 +0000 (22:00 +0200)]
Move USSD status enum to header

14 years agoAdd Wavecom's quirky CPIN handling
Denis Kenzior [Mon, 8 Feb 2010 22:13:43 +0000 (16:13 -0600)]
Add Wavecom's quirky CPIN handling

14 years agoFix: Tweak gprs attach logic
Denis Kenzior [Mon, 8 Feb 2010 21:33:17 +0000 (15:33 -0600)]
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.

14 years agoFix: Add recheck flag to gprs
Denis Kenzior [Mon, 8 Feb 2010 21:32:04 +0000 (15:32 -0600)]
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

14 years agoRefactor: Remove atutil dump_response
Denis Kenzior [Mon, 8 Feb 2010 18:28:23 +0000 (12:28 -0600)]
Refactor: Remove atutil dump_response

No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1

14 years agoFix: Don't use ofono_debug directly in plugins
Denis Kenzior [Mon, 8 Feb 2010 18:09:01 +0000 (12:09 -0600)]
Fix: Don't use ofono_debug directly in plugins

14 years agoFix: Don't use ofono_debug directly in the core
Denis Kenzior [Mon, 8 Feb 2010 17:54:03 +0000 (11:54 -0600)]
Fix: Don't use ofono_debug directly in the core

Use DBG macro which is integrated with the new debug framework.

14 years agoFix: Simplify overly complex error handling
Denis Kenzior [Fri, 5 Feb 2010 23:28:32 +0000 (17:28 -0600)]
Fix: Simplify overly complex error handling

14 years agoStyle: Rename variables to better indicate arrays
Denis Kenzior [Fri, 5 Feb 2010 23:25:53 +0000 (17:25 -0600)]
Style: Rename variables to better indicate arrays

Variables that hold arrays of strings should be named more appropriately
to help indicate this.

14 years agoStyle: No need for void here
Denis Kenzior [Fri, 5 Feb 2010 23:24:18 +0000 (17:24 -0600)]
Style: No need for void here

14 years agoMention Vinicius' contributions
Denis Kenzior [Fri, 5 Feb 2010 23:15:35 +0000 (17:15 -0600)]
Mention Vinicius' contributions

14 years agohfp: Fix memory leak when listing bluetooth devices
Vinicius Costa Gomes [Fri, 5 Feb 2010 23:06:47 +0000 (20:06 -0300)]
hfp: Fix memory leak when listing bluetooth devices

14 years agohfp: wait Disconnect reply to power down the modem
Gustavo F. Padovan [Sat, 14 Jan 2012 20:00:57 +0000 (18:00 -0200)]
hfp: wait Disconnect reply to power down the modem

14 years agoFix: Don't call UnregisterAgent if already Released
Gustavo F. Padovan [Sat, 14 Jan 2012 20:00:56 +0000 (18:00 -0200)]
Fix: Don't call UnregisterAgent if already Released

Prevent to call UnregisterAgent on an already unregistered agent.

14 years agohfp: create modem for new devices paired on runtime
Gustavo F. Padovan [Sat, 14 Jan 2012 20:00:55 +0000 (18:00 -0200)]
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.

14 years agoUpdate gitignore
Denis Kenzior [Fri, 5 Feb 2010 18:21:34 +0000 (12:21 -0600)]
Update gitignore

14 years agoFix: Send *EIAAUW after CGDCONT for STE and MBM
Denis Kenzior [Fri, 5 Feb 2010 18:20:45 +0000 (12:20 -0600)]
Fix: Send *EIAAUW after CGDCONT for STE and MBM

Otherwise the EIAAUW might fail.

14 years agoFix: Use snprintf instead of sprintf in hsomodem
Denis Kenzior [Fri, 5 Feb 2010 18:01:59 +0000 (12:01 -0600)]
Fix: Use snprintf instead of sprintf in hsomodem

14 years agoFix: Use snprintf instead of sprintf in mbmmodem
Denis Kenzior [Fri, 5 Feb 2010 18:01:45 +0000 (12:01 -0600)]
Fix: Use snprintf instead of sprintf in mbmmodem

14 years agoFix: Use snprintf instead of sprintf in calypso
Denis Kenzior [Fri, 5 Feb 2010 18:01:27 +0000 (12:01 -0600)]
Fix: Use snprintf instead of sprintf in calypso

14 years agoFix: Use snprintf instead of sprintf in stemodem
Denis Kenzior [Fri, 5 Feb 2010 18:01:13 +0000 (12:01 -0600)]
Fix: Use snprintf instead of sprintf in stemodem

14 years agoFix: Use snprintf instead of sprintf in HFP
Denis Kenzior [Fri, 5 Feb 2010 18:00:14 +0000 (12:00 -0600)]
Fix: Use snprintf instead of sprintf in HFP

14 years agoFix: Use snprintf instead of sprintf in atmodem
Denis Kenzior [Fri, 5 Feb 2010 17:59:24 +0000 (11:59 -0600)]
Fix: Use snprintf instead of sprintf in atmodem

14 years agoFix: Use snprintf instead of sprintf in the core
Denis Kenzior [Fri, 5 Feb 2010 16:33:58 +0000 (10:33 -0600)]
Fix: Use snprintf instead of sprintf in the core

14 years agoAdd isimodem radio settings driver
Aki Niemi [Thu, 4 Feb 2010 21:40:36 +0000 (23:40 +0200)]
Add isimodem radio settings driver

14 years agoAdd PN_GSS codepoints and debugging
Aki Niemi [Thu, 4 Feb 2010 21:39:30 +0000 (23:39 +0200)]
Add PN_GSS codepoints and debugging

14 years agoAdd radio settings atom and driver API
Aki Niemi [Wed, 3 Feb 2010 19:55:55 +0000 (21:55 +0200)]
Add radio settings atom and driver API

This interface exposes a read-write property for radio access technology
selection mode.

14 years agoFix: No need to check for handsfree_path now
Denis Kenzior [Thu, 4 Feb 2010 19:16:59 +0000 (13:16 -0600)]
Fix: No need to check for handsfree_path now

14 years agoCleanup: Refactor handling of failed connections
Denis Kenzior [Thu, 4 Feb 2010 19:13:09 +0000 (13:13 -0600)]
Cleanup: Refactor handling of failed connections

14 years agoCleanup: Modem creation
Denis Kenzior [Thu, 4 Feb 2010 18:58:18 +0000 (12:58 -0600)]
Cleanup: Modem creation

14 years agoAdd function to handle SLC handshake failures
Denis Kenzior [Thu, 4 Feb 2010 18:57:26 +0000 (12:57 -0600)]
Add function to handle SLC handshake failures