platform/upstream/ofono.git
14 years agoFix: Fixup error paths in sim_op_check_cached
Denis Kenzior [Tue, 16 Mar 2010 20:44:29 +0000 (15:44 -0500)]
Fix: Fixup error paths in sim_op_check_cached

14 years agoFix: avoid assigning to return structure on error
Denis Kenzior [Tue, 16 Mar 2010 20:26:53 +0000 (15:26 -0500)]
Fix: avoid assigning to return structure on error

14 years agoStyle: Spaces before / after arithmetic operations
Denis Kenzior [Tue, 16 Mar 2010 20:16:59 +0000 (15:16 -0500)]
Style: Spaces before / after arithmetic operations

14 years agoStyle: Align the enum values to be easier to read
Denis Kenzior [Tue, 16 Mar 2010 20:14:17 +0000 (15:14 -0500)]
Style: Align the enum values to be easier to read

14 years agoHandle the conversion failure when parsing item
Yang Gu [Tue, 16 Mar 2010 10:01:38 +0000 (18:01 +0800)]
Handle the conversion failure when parsing item

14 years agoFix the structure of stk_subaddress
Yang Gu [Tue, 16 Mar 2010 10:01:37 +0000 (18:01 +0800)]
Fix the structure of stk_subaddress

14 years agoAdd support of Huawei EM770 modem
Yang Gu [Tue, 16 Mar 2010 07:42:29 +0000 (15:42 +0800)]
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.

14 years agoDoc: Add small clarification to SMS docs
Denis Kenzior [Tue, 16 Mar 2010 02:20:51 +0000 (21:20 -0500)]
Doc: Add small clarification to SMS docs

14 years agodoc: Add SmsManager API documentation.
João Paulo Rechi Vita [Mon, 15 Mar 2010 20:17:45 +0000 (17:17 -0300)]
doc: Add SmsManager API documentation.

14 years agoAdd stk tone type enum
Denis Kenzior [Tue, 16 Mar 2010 02:11:11 +0000 (21:11 -0500)]
Add stk tone type enum

14 years agoAdd basic unit test for send sms parser
Denis Kenzior [Tue, 16 Mar 2010 02:01:33 +0000 (21:01 -0500)]
Add basic unit test for send sms parser

14 years agoAdd parser for STK send sms proactive commands
Denis Kenzior [Tue, 16 Mar 2010 02:01:04 +0000 (21:01 -0500)]
Add parser for STK send sms proactive commands

14 years agoRefactor: stk send_sms datastructure
Denis Kenzior [Tue, 16 Mar 2010 01:59:02 +0000 (20:59 -0500)]
Refactor: stk send_sms datastructure

14 years agoRefactor: stk result dataobject
Denis Kenzior [Fri, 12 Mar 2010 14:19:25 +0000 (08:19 -0600)]
Refactor: stk result dataobject

14 years agoReorder: stk response length structure
Denis Kenzior [Fri, 12 Mar 2010 13:51:58 +0000 (07:51 -0600)]
Reorder: stk response length structure

Follow the order of the specification

14 years agoRefactor: stk item id dataobj
Denis Kenzior [Thu, 11 Mar 2010 21:24:29 +0000 (15:24 -0600)]
Refactor: stk item id dataobj

14 years agoRefactor: stk item dataobject
Denis Kenzior [Thu, 11 Mar 2010 21:21:05 +0000 (15:21 -0600)]
Refactor: stk item dataobject

14 years agoRefactor: stk configuration capability parameters
Denis Kenzior [Thu, 11 Mar 2010 20:43:59 +0000 (14:43 -0600)]
Refactor: stk configuration capability parameters

14 years agoRefactor: Update the subaddress structure
Denis Kenzior [Wed, 10 Mar 2010 18:53:09 +0000 (12:53 -0600)]
Refactor: Update the subaddress structure

14 years agoRefactor: stk alpha identifier object
Denis Kenzior [Wed, 10 Mar 2010 17:26:18 +0000 (11:26 -0600)]
Refactor: stk alpha identifier object

Style issues, we must also return FALSE in case conversion fails

14 years agoRefactor: stk address structure
Denis Kenzior [Wed, 10 Mar 2010 19:10:14 +0000 (13:10 -0600)]
Refactor: stk address structure

14 years agoAdd parser for tone objects
Yang Gu [Mon, 8 Mar 2010 04:25:49 +0000 (12:25 +0800)]
Add parser for tone objects

14 years agoAdd parser for sms tpdu objects
Yang Gu [Mon, 8 Mar 2010 04:20:07 +0000 (12:20 +0800)]
Add parser for sms tpdu objects

14 years agoAdd parser for result objects
Yang Gu [Fri, 5 Mar 2010 08:40:20 +0000 (16:40 +0800)]
Add parser for result objects

14 years agoAdd parser for item identifier objects
Yang Gu [Fri, 5 Mar 2010 07:25:28 +0000 (15:25 +0800)]
Add parser for item identifier objects

14 years agoAdd parser for item objects
Yang Gu [Fri, 5 Mar 2010 05:40:40 +0000 (13:40 +0800)]
Add parser for item objects

14 years agoAdd parser for capability configuration parameters objects
Yang Gu [Fri, 5 Mar 2010 04:45:31 +0000 (12:45 +0800)]
Add parser for capability configuration parameters objects

14 years agoAdd parser for subaddress objects
Yang Gu [Fri, 5 Mar 2010 04:43:34 +0000 (12:43 +0800)]
Add parser for subaddress objects

14 years agoAdd parser for alpha identifier objects
Yang Gu [Fri, 5 Mar 2010 04:42:00 +0000 (12:42 +0800)]
Add parser for alpha identifier objects

14 years agoAdd parser for address objects
Yang Gu [Fri, 5 Mar 2010 04:34:28 +0000 (12:34 +0800)]
Add parser for address objects

14 years agoFix Don't check CLIR CUG option in hfp_dial
Zhenhua Zhang [Tue, 9 Mar 2010 10:01:17 +0000 (18:01 +0800)]
Fix Don't check CLIR CUG option in hfp_dial

For HFP call, no need to check CLIR & CUG option. It doesn't affect dial
out string.

14 years agoMake interface callback tables const
Marcel Holtmann [Sun, 7 Mar 2010 22:32:48 +0000 (14:32 -0800)]
Make interface callback tables const

14 years agoFix the case when the requested name is already in use
Vinicius Costa Gomes [Mon, 1 Feb 2010 19:16:22 +0000 (16:16 -0300)]
Fix the case when the requested name is already in use

We weren't setting the dbus error in this situation.

14 years agoRelease 0.19 0.19
Marcel Holtmann [Sun, 7 Mar 2010 12:39:25 +0000 (04:39 -0800)]
Release 0.19

14 years agoFix: Use the proper enum type
Denis Kenzior [Wed, 3 Mar 2010 19:07:24 +0000 (13:07 -0600)]
Fix: Use the proper enum type

14 years agoAdd command echo back if ATE=1
Zhenhua Zhang [Tue, 2 Mar 2010 10:21:36 +0000 (18:21 +0800)]
Add command echo back if ATE=1

14 years agoFix: warning
Denis Kenzior [Tue, 2 Mar 2010 18:39:15 +0000 (12:39 -0600)]
Fix: warning

src/stkutil.c: In function ‘parse_dataobj_imm_resp’:
src/stkutil.c:191: error: unused variable ‘data’

14 years agostk: Validate src/dst combination
Denis Kenzior [Tue, 2 Mar 2010 00:16:23 +0000 (18:16 -0600)]
stk: Validate src/dst combination

14 years agostk: Add initial unit test for Get Input
Denis Kenzior [Tue, 2 Mar 2010 00:16:02 +0000 (18:16 -0600)]
stk: Add initial unit test for Get Input

14 years agoAdd support for Get Input proactive command
Denis Kenzior [Mon, 1 Mar 2010 23:58:14 +0000 (17:58 -0600)]
Add support for Get Input proactive command

14 years agoSupport Default Text data objects
Denis Kenzior [Mon, 1 Mar 2010 23:57:56 +0000 (17:57 -0600)]
Support Default Text data objects

14 years agoAdd parser for Response Length objects
Denis Kenzior [Mon, 1 Mar 2010 23:57:18 +0000 (17:57 -0600)]
Add parser for Response Length objects

14 years agoCleanup: Move some stuff around to be more logical
Denis Kenzior [Mon, 1 Mar 2010 23:56:16 +0000 (17:56 -0600)]
Cleanup: Move some stuff around to be more logical

14 years agoAdd support for GET INKEY proactive command
Denis Kenzior [Mon, 1 Mar 2010 23:27:38 +0000 (17:27 -0600)]
Add support for GET INKEY proactive command

14 years agoAdd parser for Frame Identifier object
Denis Kenzior [Mon, 1 Mar 2010 23:10:56 +0000 (17:10 -0600)]
Add parser for Frame Identifier object

14 years agoAdd parser for text attribute objects
Denis Kenzior [Mon, 1 Mar 2010 22:18:17 +0000 (16:18 -0600)]
Add parser for text attribute objects

14 years agoUpdate unit tests with Duration tests
Denis Kenzior [Mon, 1 Mar 2010 22:03:06 +0000 (16:03 -0600)]
Update unit tests with Duration tests

14 years agoAdd parser for Duration objects
Denis Kenzior [Mon, 1 Mar 2010 22:02:33 +0000 (16:02 -0600)]
Add parser for Duration objects

14 years agoStyle: add relevant sections for dataobj parsers
Denis Kenzior [Mon, 1 Mar 2010 21:25:14 +0000 (15:25 -0600)]
Style: add relevant sections for dataobj parsers

14 years agoAdd parser for STK Immediate Response objects
Denis Kenzior [Mon, 1 Mar 2010 21:19:29 +0000 (15:19 -0600)]
Add parser for STK Immediate Response objects

14 years agoUpdate unit tests with icon_id support
Denis Kenzior [Mon, 1 Mar 2010 21:16:01 +0000 (15:16 -0600)]
Update unit tests with icon_id support

14 years agoAdd parsing for Icon Identifier objects
Denis Kenzior [Mon, 1 Mar 2010 21:15:37 +0000 (15:15 -0600)]
Add parsing for Icon Identifier objects

14 years agoUse stk_envelope_type constant name in sim.c
Andrzej Zaborowski [Mon, 1 Mar 2010 04:38:29 +0000 (05:38 +0100)]
Use stk_envelope_type constant name in sim.c

14 years agoFix: Enter RESPONSE_SENT state in ussd response cb
Andrzej Zaborowski [Mon, 1 Mar 2010 04:29:28 +0000 (05:29 +0100)]
Fix: Enter RESPONSE_SENT state in ussd response cb

14 years agostk: Refactor proactive command parser
Denis Kenzior [Sat, 27 Feb 2010 16:20:23 +0000 (10:20 -0600)]
stk: Refactor proactive command parser

Make it a bit easier to extend by using va_args

14 years agostk: Add text attribute structure
Denis Kenzior [Sat, 27 Feb 2010 16:19:51 +0000 (10:19 -0600)]
stk: Add text attribute structure

14 years agostk: Add Duration structure
Denis Kenzior [Sat, 27 Feb 2010 16:19:19 +0000 (10:19 -0600)]
stk: Add Duration structure

14 years agostk: Add icon identifier structure
Denis Kenzior [Sat, 27 Feb 2010 16:17:22 +0000 (10:17 -0600)]
stk: Add icon identifier structure

14 years agoAdd duration type enum
Denis Kenzior [Sat, 27 Feb 2010 16:09:30 +0000 (10:09 -0600)]
Add duration type enum

14 years agoFix: Simplify write-again logic
Denis Kenzior [Fri, 26 Feb 2010 22:17:10 +0000 (16:17 -0600)]
Fix: Simplify write-again logic

14 years agoFix: Don't allocate buffers if we don't need to
Denis Kenzior [Fri, 26 Feb 2010 22:16:46 +0000 (16:16 -0600)]
Fix: Don't allocate buffers if we don't need to

14 years agoAdd write server response into non-blocking IO
Zhenhua Zhang [Fri, 26 Feb 2010 09:56:32 +0000 (17:56 +0800)]
Add write server response into non-blocking IO

Write server response into non-blocking GIOChannel when we have
G_IO_OUT signal.

14 years agoAdd write buffer queue for non-blocking write
Zhenhua Zhang [Fri, 26 Feb 2010 09:56:31 +0000 (17:56 +0800)]
Add write buffer queue for non-blocking write

The head of the queue is the data to be written, the tail is the
free buffer to cache data into.

If the tail of queue is full, allocate a new free buffer and
append it at the tail.

14 years agoAdd define for read and write buffer size
Zhenhua Zhang [Fri, 26 Feb 2010 09:56:30 +0000 (17:56 +0800)]
Add define for read and write buffer size

14 years agoDo not trigger user disconnect at g_at_shutdown
Zhenhua Zhang [Fri, 26 Feb 2010 09:56:29 +0000 (17:56 +0800)]
Do not trigger user disconnect at g_at_shutdown

Similar to gatchat, introduce read_watcher_destroy_notify and do
not trigger user disconnect at g_at_shutdown. Delay destroy of
gatserver until read_watcher is destroyed.

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