platform/upstream/ofono.git
13 years agosim: Fix LockedPins in case SIM wants a PUK first
Denis Kenzior [Thu, 5 Aug 2010 15:00:57 +0000 (10:00 -0500)]
sim: Fix LockedPins in case SIM wants a PUK first

In the case that oFono is started with the SIM asking for a PUK, we
don't report LockedPins properly.

13 years agotest: Update simple-agent with new capabilities
Denis Kenzior [Wed, 4 Aug 2010 20:14:41 +0000 (15:14 -0500)]
test: Update simple-agent with new capabilities

13 years agostkagent: No need to split these on two lines
Denis Kenzior [Wed, 4 Aug 2010 19:49:42 +0000 (14:49 -0500)]
stkagent: No need to split these on two lines

13 years agostk: Rip out the HELP stuff for now
Denis Kenzior [Wed, 4 Aug 2010 19:46:47 +0000 (14:46 -0500)]
stk: Rip out the HELP stuff for now

We're not supporting it in the current API and doing so is actually
very painful.

13 years agostkagent: Introduce CALLBACK_END macro
Denis Kenzior [Wed, 4 Aug 2010 19:40:08 +0000 (14:40 -0500)]
stkagent: Introduce CALLBACK_END macro

13 years agostk: Handle the Get Input proactive command
Andrzej Zaborowski [Wed, 4 Aug 2010 04:55:04 +0000 (06:55 +0200)]
stk: Handle the Get Input proactive command

13 years agostkagent: Implement RequestInput/RequestDigits
Andrzej Zaborowski [Wed, 4 Aug 2010 04:55:03 +0000 (06:55 +0200)]
stkagent: Implement RequestInput/RequestDigits

13 years agostk: Handle the Get Inkey proactive command
Andrzej Zaborowski [Wed, 4 Aug 2010 04:55:02 +0000 (06:55 +0200)]
stk: Handle the Get Inkey proactive command

13 years agostkagent: Implement RequestConfirmation/Key/Digit
Andrzej Zaborowski [Wed, 4 Aug 2010 04:55:01 +0000 (06:55 +0200)]
stkagent: Implement RequestConfirmation/Key/Digit

13 years agodoc: Update standards.txt
Denis Kenzior [Tue, 3 Aug 2010 15:55:07 +0000 (10:55 -0500)]
doc: Update standards.txt

13 years agoRelease 0.26 0.26
Marcel Holtmann [Mon, 2 Aug 2010 20:11:43 +0000 (13:11 -0700)]
Release 0.26

13 years agohuawei: fix double include of GPRS header
João Paulo Rechi Vita [Mon, 2 Aug 2010 18:44:41 +0000 (15:44 -0300)]
huawei: fix double include of GPRS header

13 years agoFix busylooped in ppp_disconnect for huawei modem
Zhenhua Zhang [Wed, 28 Jul 2010 00:25:26 +0000 (08:25 +0800)]
Fix busylooped in ppp_disconnect for huawei modem

Huawei modem closes the modem port after PPP disconnect. So the channel
of gatchat is NULL in ppp_disconnect. In such case, we resume the chat
and it causes huawei_disconnect() get called and the gprs context is
removed later.

Before removing this gprs context, we should reply the pending DBus
message to the client.

13 years agostkagent: Remove stk_agent_busy
Denis Kenzior [Fri, 30 Jul 2010 23:59:44 +0000 (18:59 -0500)]
stkagent: Remove stk_agent_busy

13 years agostk: Remove unneeded check
Denis Kenzior [Fri, 30 Jul 2010 23:50:38 +0000 (18:50 -0500)]
stk: Remove unneeded check

The agent_remove_source will be canceled as part of the session agent
destruction notify.

13 years agostk: Fix typo in comment
Denis Kenzior [Fri, 30 Jul 2010 23:34:49 +0000 (18:34 -0500)]
stk: Fix typo in comment

13 years agostk: Handle the case where no agent is registered
Denis Kenzior [Fri, 30 Jul 2010 23:17:57 +0000 (18:17 -0500)]
stk: Handle the case where no agent is registered

13 years agotest: Add a simple STK Agent script
Denis Kenzior [Fri, 30 Jul 2010 22:12:34 +0000 (17:12 -0500)]
test: Add a simple STK Agent script

13 years agophonesim: Introduce End Session notification
Denis Kenzior [Fri, 30 Jul 2010 22:05:47 +0000 (17:05 -0500)]
phonesim: Introduce End Session notification

13 years agostk: Get rid of cancel result
Denis Kenzior [Fri, 30 Jul 2010 17:18:31 +0000 (12:18 -0500)]
stk: Get rid of cancel result

And also rework how immediate response display text gets handled.

13 years agostk: Introduce destroy semantics to stkagent
Denis Kenzior [Fri, 30 Jul 2010 17:11:41 +0000 (12:11 -0500)]
stk: Introduce destroy semantics to stkagent

13 years agostk: Handle errors when sending to the agent fails
Denis Kenzior [Fri, 30 Jul 2010 15:15:07 +0000 (10:15 -0500)]
stk: Handle errors when sending to the agent fails

13 years agostk: Get rid of nested switch
Denis Kenzior [Fri, 30 Jul 2010 15:08:07 +0000 (10:08 -0500)]
stk: Get rid of nested switch

13 years agostk: Handle the new termination semantics
Denis Kenzior [Fri, 30 Jul 2010 14:55:51 +0000 (09:55 -0500)]
stk: Handle the new termination semantics

The termination semantics were changed in stkagent.  Now if an agent
sends an invalid response or an unexpected error, then the agent is
terminated, even if it is the default agent.

13 years agostk: Simplify sending of terminal responses
Denis Kenzior [Fri, 30 Jul 2010 14:54:50 +0000 (09:54 -0500)]
stk: Simplify sending of terminal responses

Introduce a new send_simple_response function

13 years agostkagent: Make DisplayText invocation match API
Denis Kenzior [Fri, 30 Jul 2010 04:51:23 +0000 (23:51 -0500)]
stkagent: Make DisplayText invocation match API

For now we match the proposed API until we decide that changes are
needed.

13 years agostkagent: Remove stk_agent_generic_cb
Denis Kenzior [Fri, 30 Jul 2010 04:50:20 +0000 (23:50 -0500)]
stkagent: Remove stk_agent_generic_cb

13 years agoinclude: Update to proper API naming
Denis Kenzior [Fri, 30 Jul 2010 04:36:29 +0000 (23:36 -0500)]
include: Update to proper API naming

Should match what is in the documentation

13 years agostkagent: Get rid of nasty g_timeout tricks
Denis Kenzior [Fri, 30 Jul 2010 01:08:09 +0000 (20:08 -0500)]
stkagent: Get rid of nasty g_timeout tricks

13 years agostkagent: Get rid of unneeded checks
Denis Kenzior [Thu, 29 Jul 2010 20:08:28 +0000 (15:08 -0500)]
stkagent: Get rid of unneeded checks

13 years agostkagent: Shorten logic
Denis Kenzior [Thu, 29 Jul 2010 20:07:03 +0000 (15:07 -0500)]
stkagent: Shorten logic

13 years agostkagent: Simplify stkagent logic
Denis Kenzior [Thu, 29 Jul 2010 19:38:45 +0000 (14:38 -0500)]
stkagent: Simplify stkagent logic

13 years agostkagent: Refactor stkagent api
Denis Kenzior [Thu, 29 Jul 2010 18:29:45 +0000 (13:29 -0500)]
stkagent: Refactor stkagent api

13 years agostkagent: Rename stk_agent_remove
Denis Kenzior [Thu, 29 Jul 2010 18:11:33 +0000 (13:11 -0500)]
stkagent: Rename stk_agent_remove

to stk_agent_free

13 years agostkagent: Reorder stkagent.h
Denis Kenzior [Thu, 29 Jul 2010 18:09:14 +0000 (13:09 -0500)]
stkagent: Reorder stkagent.h

13 years agodoc: Update coding style
Denis Kenzior [Thu, 29 Jul 2010 18:08:40 +0000 (13:08 -0500)]
doc: Update coding style

13 years agostk: Handle the Display Text proactive command.
Andrzej Zaborowski [Wed, 28 Jul 2010 10:26:11 +0000 (12:26 +0200)]
stk: Handle the Display Text proactive command.

13 years agostk: Handle the Select Item proactive command.
Andrzej Zaborowski [Wed, 28 Jul 2010 10:26:10 +0000 (12:26 +0200)]
stk: Handle the Select Item proactive command.

13 years agostk: Handle the main menu.
Andrzej Zaborowski [Wed, 28 Jul 2010 10:26:09 +0000 (12:26 +0200)]
stk: Handle the main menu.

13 years agostk: Utilities to deal with menus.
Andrzej Zaborowski [Wed, 28 Jul 2010 10:26:08 +0000 (12:26 +0200)]
stk: Utilities to deal with menus.

13 years agostk: Add STK agent registration api.
Andrzej Zaborowski [Wed, 28 Jul 2010 10:26:07 +0000 (12:26 +0200)]
stk: Add STK agent registration api.

13 years agoAdd STK agent utilities and logic.
Andrzej Zaborowski [Wed, 28 Jul 2010 10:26:06 +0000 (12:26 +0200)]
Add STK agent utilities and logic.

13 years agoAdd doc/supplementaryservices-api.txt to distribution
Marcel Holtmann [Fri, 30 Jul 2010 07:49:14 +0000 (00:49 -0700)]
Add doc/supplementaryservices-api.txt to distribution

13 years agonetreg: Add MCC/MNC to NetworkRegistration
Denis Kenzior [Tue, 27 Jul 2010 21:52:16 +0000 (16:52 -0500)]
netreg: Add MCC/MNC to NetworkRegistration

These are the same values as on the NetworkOperator interface for the
current operator.  Just added for convenience.

13 years agotest-stkutil: unit test for img to xpm converter
Kristen Carlson Accardi [Mon, 26 Jul 2010 18:27:34 +0000 (11:27 -0700)]
test-stkutil: unit test for img to xpm converter

13 years agostkutil: convert img to xpm
Kristen Carlson Accardi [Mon, 26 Jul 2010 18:27:33 +0000 (11:27 -0700)]
stkutil: convert img to xpm

13 years agodoc: Move cbs-api to cell-broadcast-api
Denis Kenzior [Mon, 26 Jul 2010 18:52:40 +0000 (13:52 -0500)]
doc: Move cbs-api to cell-broadcast-api

13 years agoFree service data in service_reply
Zhenhua Zhang [Mon, 26 Jul 2010 01:11:36 +0000 (09:11 +0800)]
Free service data in service_reply

Avoid the memory leak of server_data.

13 years agosms: rename create_tx_queue_entry()
Inaky Perez-Gonzalez [Fri, 23 Jul 2010 20:59:59 +0000 (13:59 -0700)]
sms: rename create_tx_queue_entry()

This is for symmetry with tx_queue_entry_free()

13 years agosms: document use_delivery_reports
Inaky Perez-Gonzalez [Fri, 23 Jul 2010 20:59:58 +0000 (13:59 -0700)]
sms: document use_delivery_reports

In function sms_text_prepare

13 years agosms: sms_assembly_encode_address export and rename
Inaky Perez-Gonzalez [Fri, 23 Jul 2010 20:59:54 +0000 (13:59 -0700)]
sms: sms_assembly_encode_address export and rename

The new name better reflects the function's purpose.

We need to export it, as for generating unique message naming (for
persistence and D-Bus object naming), we'll be using the
address.

13 years agointroduce DECLARE_SMS_ADDR_STR()
Inaky Perez-Gonzalez [Fri, 23 Jul 2010 20:59:53 +0000 (13:59 -0700)]
introduce DECLARE_SMS_ADDR_STR()

Introduce DECLARE_SMS_ADDR_STR(), which declares a string variable of
the right size for passing to sms_assembly_decode_address(). This way
we detach each client having to have the knowledge of what the right
size is, leaving that decission to the infrastructure
provider. Updated couple of sites in smsutil.c to use it vs a raw
declaration.

13 years agomanpage: explain debugging options to -d
Inaky Perez-Gonzalez [Fri, 23 Jul 2010 20:59:51 +0000 (13:59 -0700)]
manpage: explain debugging options to -d

Modified HACKING and man page to have more formation on what are the
debugging options and how to enable them.

14 years agoTODO: Major updates to STK related tasks
Denis Kenzior [Fri, 23 Jul 2010 04:31:27 +0000 (23:31 -0500)]
TODO: Major updates to STK related tasks

14 years agodoc: Add PropertyChanged signal to stk-api
Denis Kenzior [Wed, 21 Jul 2010 23:59:19 +0000 (18:59 -0500)]
doc: Add PropertyChanged signal to stk-api

14 years agodoc: cleanup voicecall api formatting
Denis Kenzior [Wed, 21 Jul 2010 23:59:04 +0000 (18:59 -0500)]
doc: cleanup voicecall api formatting

14 years agodoc: stk-api update
Denis Kenzior [Wed, 21 Jul 2010 23:26:47 +0000 (18:26 -0500)]
doc: stk-api update

Mark experimental and update wording based on Andrew's comments

14 years agodoc: stk-api update based on latest feedback
Denis Kenzior [Wed, 21 Jul 2010 22:23:43 +0000 (17:23 -0500)]
doc: stk-api update based on latest feedback

14 years agodoc: stk-api proposal
Denis Kenzior [Mon, 19 Jul 2010 22:09:18 +0000 (17:09 -0500)]
doc: stk-api proposal

14 years agoFix: Free modem name in ofono_modem_remove
Zhenhua Zhang [Wed, 21 Jul 2010 06:41:14 +0000 (14:41 +0800)]
Fix: Free modem name in ofono_modem_remove

Avoid the memory leak of modem name.

14 years agogprs: Minor style fixes
Denis Kenzior [Mon, 19 Jul 2010 18:51:00 +0000 (13:51 -0500)]
gprs: Minor style fixes

14 years agogprs: Add Protocol property with IPv6/IPv4
Denis Kenzior [Mon, 19 Jul 2010 18:50:37 +0000 (13:50 -0500)]
gprs: Add Protocol property with IPv6/IPv4

14 years agogprs: Update gprs context struct with IPv6 support
Denis Kenzior [Mon, 19 Jul 2010 18:49:35 +0000 (13:49 -0500)]
gprs: Update gprs context struct with IPv6 support

14 years agodoc: Update gprs api with IPv6 support
Denis Kenzior [Mon, 19 Jul 2010 18:49:12 +0000 (13:49 -0500)]
doc: Update gprs api with IPv6 support

14 years agodoc: reword some parts
Denis Kenzior [Mon, 19 Jul 2010 17:44:53 +0000 (12:44 -0500)]
doc: reword some parts

14 years agodoc: Rename to be more consistent
Denis Kenzior [Mon, 19 Jul 2010 17:39:30 +0000 (12:39 -0500)]
doc: Rename to be more consistent

14 years agoAdd coding style document
Yang Gu [Mon, 19 Jul 2010 06:19:26 +0000 (14:19 +0800)]
Add coding style document

14 years agoRelease 0.25 0.25
Marcel Holtmann [Sat, 17 Jul 2010 22:00:34 +0000 (15:00 -0700)]
Release 0.25

14 years agoAdd feature identifier for SIM Toolkit
Marcel Holtmann [Sat, 17 Jul 2010 21:53:07 +0000 (14:53 -0700)]
Add feature identifier for SIM Toolkit

14 years agoFix Huawei product ID matching in udev rules
Marcel Holtmann [Sat, 17 Jul 2010 21:46:37 +0000 (14:46 -0700)]
Fix Huawei product ID matching in udev rules

14 years agoAdd a little bit debug to udev modem detection
Marcel Holtmann [Sat, 17 Jul 2010 21:43:29 +0000 (14:43 -0700)]
Add a little bit debug to udev modem detection

14 years agostk: Remove an unneeded check.
Andrzej Zaborowski [Tue, 13 Jul 2010 14:23:35 +0000 (16:23 +0200)]
stk: Remove an unneeded check.

14 years agocalypsomodem: dtmf chars do not need quotes
Denis Kenzior [Thu, 15 Jul 2010 14:41:04 +0000 (09:41 -0500)]
calypsomodem: dtmf chars do not need quotes

14 years agombm: poll SIM status when initializing
Pekka Pessi [Thu, 15 Jul 2010 14:05:02 +0000 (17:05 +0300)]
mbm: poll SIM status when initializing

14 years agoTODO: Add GPRS IPv6 support task
Denis Kenzior [Wed, 14 Jul 2010 16:04:22 +0000 (11:04 -0500)]
TODO: Add GPRS IPv6 support task

14 years agoTODO: Merge two duplicate items
Denis Kenzior [Wed, 14 Jul 2010 16:03:30 +0000 (11:03 -0500)]
TODO: Merge two duplicate items

14 years agostkutil: Set black fore/back ground color
Denis Kenzior [Tue, 13 Jul 2010 20:36:00 +0000 (15:36 -0500)]
stkutil: Set black fore/back ground color

14 years agotest-stkutil: add html attribute tests for setup idle mode tests
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:55 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for setup idle mode tests

14 years agotest-stkutil: add html attribute test for select_item_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:54 +0000 (05:40 -0700)]
test-stkutil: add html attribute test for select_item_test

14 years agotest-stkutil: add html attribute test for setup_menu_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:53 +0000 (05:40 -0700)]
test-stkutil: add html attribute test for setup_menu_test

14 years agotest-stkutil: add html attribute tests for play_tone_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:52 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for play_tone_test

14 years agotest-stkutil: add html attribute tests for get_input_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:51 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for get_input_test

14 years agotest-stkutil: add html attribute tests for get_inkey_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:50 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for get_inkey_test

14 years agotest-stkutil: add html attribute test for Display Text tests
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:49 +0000 (05:40 -0700)]
test-stkutil: add html attribute test for Display Text tests

14 years agotest-stkutil: add unit test for html text attributes
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:48 +0000 (05:40 -0700)]
test-stkutil: add unit test for html text attributes

14 years agostkutil: display text attributes as html
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:47 +0000 (05:40 -0700)]
stkutil: display text attributes as html

14 years agoUse specific vendor for phonesim stk
Yang Gu [Tue, 13 Jul 2010 10:30:01 +0000 (18:30 +0800)]
Use specific vendor for phonesim stk

14 years agoatmodem: phonesim proactive command notification
Yang Gu [Tue, 13 Jul 2010 10:30:00 +0000 (18:30 +0800)]
atmodem: phonesim proactive command notification

14 years agoatmodem: Make fetch command function as external
Yang Gu [Tue, 13 Jul 2010 10:29:59 +0000 (18:29 +0800)]
atmodem: Make fetch command function as external

14 years agotest-sms: Update with a real EMS test
Denis Kenzior [Tue, 13 Jul 2010 14:51:02 +0000 (09:51 -0500)]
test-sms: Update with a real EMS test

14 years agoInterpret "" Alpha Id as empty data object
Yang Gu [Fri, 9 Jul 2010 14:52:08 +0000 (22:52 +0800)]
Interpret "" Alpha Id as empty data object

There needs to be a way to distinguish between no alphaid and "empty
data object" because on some occasions they have different meanings.  In
the Call Control envelope, no Alpha Identifier means the terminal can
inform the user about the call being modified by SIM while empty data
object means no hint should be given.

14 years agoppp: Add MAX_IPCP_FAILURE to avoid timeout quickly
Zhenhua Zhang [Fri, 9 Jul 2010 08:53:51 +0000 (16:53 +0800)]
ppp: Add MAX_IPCP_FAILURE to avoid timeout quickly

We use IPCP NAK response to stall the progress of acquiring the client
IP address from DHCP server. So we need to increase the max failure of
NAKs in IPCP handshaking.

14 years agostk: Simplify poll interval logic
Denis Kenzior [Thu, 8 Jul 2010 19:27:01 +0000 (14:27 -0500)]
stk: Simplify poll interval logic

14 years agostk: Be more paranoid of enums from stk
Denis Kenzior [Thu, 8 Jul 2010 19:26:34 +0000 (14:26 -0500)]
stk: Be more paranoid of enums from stk

14 years agostk: Handle the Poll Interval proactive command
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:09 +0000 (00:39 +0200)]
stk: Handle the Poll Interval proactive command

14 years agostyle: Use more understandable syntax
Denis Kenzior [Thu, 8 Jul 2010 19:06:01 +0000 (14:06 -0500)]
style: Use more understandable syntax

14 years agostyle: No initialization needed here
Denis Kenzior [Thu, 8 Jul 2010 19:02:56 +0000 (14:02 -0500)]
style: No initialization needed here

14 years agostk: Get rid of gratuitous goto abuse
Denis Kenzior [Thu, 8 Jul 2010 18:55:30 +0000 (13:55 -0500)]
stk: Get rid of gratuitous goto abuse

14 years agostyle: Prefer initialized variables on top
Denis Kenzior [Thu, 8 Jul 2010 18:53:50 +0000 (13:53 -0500)]
style: Prefer initialized variables on top

14 years agosms: Refactor ofono_sms_submit introduced by stk
Denis Kenzior [Thu, 8 Jul 2010 18:38:48 +0000 (13:38 -0500)]
sms: Refactor ofono_sms_submit introduced by stk

Simplify the logic and get rid of duplicated code