platform/upstream/ofono.git
11 years agostktest: Add GetInkey test sequence 2.1
Denis Kenzior [Tue, 9 Oct 2012 05:24:49 +0000 (00:24 -0500)]
stktest: Add GetInkey test sequence 2.1

11 years agounit: Move test data for GetInkey 2.1
Denis Kenzior [Tue, 9 Oct 2012 05:24:27 +0000 (00:24 -0500)]
unit: Move test data for GetInkey 2.1

11 years agostktest: Add GetInkey test sequence 1.5-1.6
Denis Kenzior [Tue, 9 Oct 2012 05:17:25 +0000 (00:17 -0500)]
stktest: Add GetInkey test sequence 1.5-1.6

11 years agostktest: Add support for RequestKey method
Denis Kenzior [Tue, 9 Oct 2012 05:17:08 +0000 (00:17 -0500)]
stktest: Add support for RequestKey method

11 years agounit: Move test data for Get Inkey 1.5-1.6
Denis Kenzior [Tue, 9 Oct 2012 05:16:32 +0000 (00:16 -0500)]
unit: Move test data for Get Inkey 1.5-1.6

11 years agostktest: Add GetInkey test sequences 1.1-1.4
Denis Kenzior [Tue, 9 Oct 2012 03:18:52 +0000 (22:18 -0500)]
stktest: Add GetInkey test sequences 1.1-1.4

11 years agounit: Move Get Inkey test data for 1.1-1.4
Denis Kenzior [Tue, 9 Oct 2012 03:18:09 +0000 (22:18 -0500)]
unit: Move Get Inkey test data for 1.1-1.4

11 years agostktest: Add support for RequestDigit in agent
Denis Kenzior [Tue, 9 Oct 2012 03:04:34 +0000 (22:04 -0500)]
stktest: Add support for RequestDigit in agent

11 years agostktest: Make some variables static
Denis Kenzior [Tue, 9 Oct 2012 02:45:42 +0000 (21:45 -0500)]
stktest: Make some variables static

11 years agostktest: Improve statistics reporting
Denis Kenzior [Tue, 9 Oct 2012 02:31:15 +0000 (21:31 -0500)]
stktest: Improve statistics reporting

11 years agostktest: Add DisplayText test sequence 9.1 and 10.1
Denis Kenzior [Mon, 8 Oct 2012 20:40:49 +0000 (15:40 -0500)]
stktest: Add DisplayText test sequence 9.1 and 10.1

11 years agounit: Add response data for DisplayText 9.1 and 10.1
Denis Kenzior [Mon, 8 Oct 2012 20:40:19 +0000 (15:40 -0500)]
unit: Add response data for DisplayText 9.1 and 10.1

11 years agostktest: Add DisplayText test sequence 8.1-8.10
Denis Kenzior [Mon, 8 Oct 2012 20:39:59 +0000 (15:39 -0500)]
stktest: Add DisplayText test sequence 8.1-8.10

11 years agounit: Add response data to 8.x DisplayText cases
Denis Kenzior [Mon, 8 Oct 2012 20:39:03 +0000 (15:39 -0500)]
unit: Add response data to 8.x DisplayText cases

11 years agounit: Fix up a couple DisplayText cases
Denis Kenzior [Mon, 8 Oct 2012 20:38:28 +0000 (15:38 -0500)]
unit: Fix up a couple DisplayText cases

11 years agostktest: Add DisplayText test sequence 7.1
Denis Kenzior [Mon, 8 Oct 2012 19:57:13 +0000 (14:57 -0500)]
stktest: Add DisplayText test sequence 7.1

11 years agounit: Add response data for DisplayText test 7.1
Denis Kenzior [Mon, 8 Oct 2012 19:56:43 +0000 (14:56 -0500)]
unit: Add response data for DisplayText test 7.1

11 years agostktest: Add DisplayText test sequence 6.1
Denis Kenzior [Mon, 8 Oct 2012 17:56:26 +0000 (12:56 -0500)]
stktest: Add DisplayText test sequence 6.1

11 years agounit: Define response for Display Text 6.1
Denis Kenzior [Mon, 8 Oct 2012 17:55:44 +0000 (12:55 -0500)]
unit: Define response for Display Text 6.1

11 years agostktest: Add DisplayText test sequence 5.1-5.3
Denis Kenzior [Mon, 8 Oct 2012 17:47:25 +0000 (12:47 -0500)]
stktest: Add DisplayText test sequence 5.1-5.3

11 years agounit: add DisplayText 5.1-5.3 test data
Denis Kenzior [Mon, 8 Oct 2012 17:46:51 +0000 (12:46 -0500)]
unit: add DisplayText 5.1-5.3 test data

11 years agobuild: Add stk-test-data.h to stktest sources
Denis Kenzior [Wed, 3 Oct 2012 14:11:13 +0000 (09:11 -0500)]
build: Add stk-test-data.h to stktest sources

11 years agostktest: Don't power up if no more tests remain
Denis Kenzior [Mon, 1 Oct 2012 14:50:20 +0000 (09:50 -0500)]
stktest: Don't power up if no more tests remain

11 years agostktest: Add DisplayText test sequence 4.1-4.3
Denis Kenzior [Mon, 1 Oct 2012 14:49:38 +0000 (09:49 -0500)]
stktest: Add DisplayText test sequence 4.1-4.3

11 years agostktest: Rename to be more precise
Denis Kenzior [Mon, 1 Oct 2012 14:44:36 +0000 (09:44 -0500)]
stktest: Rename to be more precise

11 years agostktest: Track pending inside the agent
Denis Kenzior [Mon, 1 Oct 2012 14:42:36 +0000 (09:42 -0500)]
stktest: Track pending inside the agent

11 years agounit: Add DisplayText 4.x data
Denis Kenzior [Mon, 1 Oct 2012 14:41:26 +0000 (09:41 -0500)]
unit: Add DisplayText 4.x data

11 years agostktest: Add DisplayText test sequence 3.1
Denis Kenzior [Sat, 29 Sep 2012 01:25:06 +0000 (20:25 -0500)]
stktest: Add DisplayText test sequence 3.1

11 years agounit: Add DisplayText 311 data
Denis Kenzior [Sat, 29 Sep 2012 01:24:18 +0000 (20:24 -0500)]
unit: Add DisplayText 311 data

11 years agostktest: Add DisplayText test sequence 2.1
Denis Kenzior [Fri, 28 Sep 2012 23:57:31 +0000 (18:57 -0500)]
stktest: Add DisplayText test sequence 2.1

11 years agounit: Add DisplayText 211 data
Denis Kenzior [Fri, 28 Sep 2012 23:57:18 +0000 (18:57 -0500)]
unit: Add DisplayText 211 data

11 years agostktest: Add DisplayText test sequence 1.9
Denis Kenzior [Fri, 28 Sep 2012 23:47:21 +0000 (18:47 -0500)]
stktest: Add DisplayText test sequence 1.9

11 years agostktest: Fail test if DisplayText is not expected
Denis Kenzior [Fri, 28 Sep 2012 23:45:51 +0000 (18:45 -0500)]
stktest: Fail test if DisplayText is not expected

11 years agounit: Add DisplayText 1.9.1 data
Denis Kenzior [Fri, 28 Sep 2012 23:45:05 +0000 (18:45 -0500)]
unit: Add DisplayText 1.9.1 data

11 years agostktest: Add DisplayText test sequence 1.8
Denis Kenzior [Fri, 28 Sep 2012 23:37:13 +0000 (18:37 -0500)]
stktest: Add DisplayText test sequence 1.8

11 years agounit: Add DisplayText 1.8.1 data
Denis Kenzior [Fri, 28 Sep 2012 23:36:50 +0000 (18:36 -0500)]
unit: Add DisplayText 1.8.1 data

11 years agostktest: Add DisplayText test sequence 1.7
Denis Kenzior [Fri, 28 Sep 2012 23:33:42 +0000 (18:33 -0500)]
stktest: Add DisplayText test sequence 1.7

11 years agostktest: Add DisplayText test sequence 1.6
Denis Kenzior [Fri, 28 Sep 2012 23:24:08 +0000 (18:24 -0500)]
stktest: Add DisplayText test sequence 1.6

11 years agostktest: Add DisplayText test sequence 1.5
Denis Kenzior [Fri, 28 Sep 2012 23:15:56 +0000 (18:15 -0500)]
stktest: Add DisplayText test sequence 1.5

11 years agostktest: Make DisplayText async and cancelable
Denis Kenzior [Fri, 28 Sep 2012 23:15:19 +0000 (18:15 -0500)]
stktest: Make DisplayText async and cancelable

11 years agostktest: Add DisplayText test sequence 1.4
Denis Kenzior [Fri, 28 Sep 2012 22:56:06 +0000 (17:56 -0500)]
stktest: Add DisplayText test sequence 1.4

11 years agounit: Add Display Text Response 1.4.1
Denis Kenzior [Fri, 28 Sep 2012 22:55:42 +0000 (17:55 -0500)]
unit: Add Display Text Response 1.4.1

11 years agostktest: Add DisplayText test sequence 1.3
Denis Kenzior [Fri, 28 Sep 2012 22:50:57 +0000 (17:50 -0500)]
stktest: Add DisplayText test sequence 1.3

11 years agostktest: Add DisplayText test sequence 1.2
Denis Kenzior [Fri, 28 Sep 2012 22:45:56 +0000 (17:45 -0500)]
stktest: Add DisplayText test sequence 1.2

11 years agostktest: Add DisplayText test sequence 1.1
Denis Kenzior [Fri, 28 Sep 2012 22:45:22 +0000 (17:45 -0500)]
stktest: Add DisplayText test sequence 1.1

11 years agostktest: Further flesh out test framework
Denis Kenzior [Fri, 28 Sep 2012 22:44:24 +0000 (17:44 -0500)]
stktest: Further flesh out test framework

11 years agostktest: Add test framework skeleton
Denis Kenzior [Fri, 28 Sep 2012 22:41:21 +0000 (17:41 -0500)]
stktest: Add test framework skeleton

11 years agostktest: merge cusatt
Denis Kenzior [Fri, 28 Sep 2012 22:39:11 +0000 (17:39 -0500)]
stktest: merge cusatt

11 years agostktest: Fixup message
Denis Kenzior [Fri, 28 Sep 2012 22:38:42 +0000 (17:38 -0500)]
stktest: Fixup message

11 years agostktest: Add additional error types
Denis Kenzior [Fri, 28 Sep 2012 22:37:06 +0000 (17:37 -0500)]
stktest: Add additional error types

11 years agostktest: Fix error interface
Denis Kenzior [Fri, 28 Sep 2012 22:36:22 +0000 (17:36 -0500)]
stktest: Fix error interface

11 years agostktest: merge cusatt
Denis Kenzior [Fri, 28 Sep 2012 15:58:30 +0000 (10:58 -0500)]
stktest: merge cusatt

11 years agosktest: Turn off echo
Denis Kenzior [Fri, 28 Sep 2012 15:37:22 +0000 (10:37 -0500)]
sktest: Turn off echo

11 years agostktest: implement CUSATT handler
Denis Kenzior [Fri, 28 Sep 2012 15:37:07 +0000 (10:37 -0500)]
stktest: implement CUSATT handler

11 years agostktest: indentation fixes
Denis Kenzior [Fri, 28 Sep 2012 15:36:39 +0000 (10:36 -0500)]
stktest: indentation fixes

11 years agounit: Move display text data to common header
Denis Kenzior [Thu, 27 Sep 2012 19:23:56 +0000 (14:23 -0500)]
unit: Move display text data to common header

11 years agostktest: Add send_proactive_command utility
Denis Kenzior [Thu, 27 Sep 2012 18:44:34 +0000 (13:44 -0500)]
stktest: Add send_proactive_command utility

11 years agostktest: Add agent registration
Denis Kenzior [Thu, 27 Sep 2012 18:44:04 +0000 (13:44 -0500)]
stktest: Add agent registration

11 years agostktest: Add send_with_reply utility
Denis Kenzior [Thu, 27 Sep 2012 17:36:25 +0000 (12:36 -0500)]
stktest: Add send_with_reply utility

11 years agostktest: Add STK Agent API skeleton
Denis Kenzior [Thu, 27 Sep 2012 17:36:02 +0000 (12:36 -0500)]
stktest: Add STK Agent API skeleton

11 years agostktest: Rework state logic
Denis Kenzior [Thu, 27 Sep 2012 17:35:29 +0000 (12:35 -0500)]
stktest: Rework state logic

11 years agostktest: Add basic power up logic
Denis Kenzior [Thu, 27 Sep 2012 16:36:47 +0000 (11:36 -0500)]
stktest: Add basic power up logic

11 years agostktest: Add initial modem emulator logic
Denis Kenzior [Thu, 27 Sep 2012 16:20:11 +0000 (11:20 -0500)]
stktest: Add initial modem emulator logic

11 years ago.gitignore: Update with stktest
Denis Kenzior [Tue, 25 Sep 2012 19:00:04 +0000 (14:00 -0500)]
.gitignore: Update with stktest

11 years agotools: Add basic stktest skeleton
Denis Kenzior [Tue, 25 Sep 2012 18:59:34 +0000 (13:59 -0500)]
tools: Add basic stktest skeleton

11 years agoplugins: Add stktest plugin
Denis Kenzior [Tue, 25 Sep 2012 18:59:09 +0000 (13:59 -0500)]
plugins: Add stktest plugin

11 years agosmsutil: Fix warning
Denis Kenzior [Mon, 1 Oct 2012 14:40:14 +0000 (09:40 -0500)]
smsutil: Fix warning

src/smsutil.c: In function ‘cbs_decode_text’:
src/smsutil.c:4116:16: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]

11 years agodoc: Tweak comment on behavior of VoiceCall.Hangup
Denis Kenzior [Wed, 26 Sep 2012 22:52:16 +0000 (17:52 -0500)]
doc: Tweak comment on behavior of VoiceCall.Hangup

11 years agostkagent: Sanitize any output from the agent
Philippe Nunes [Tue, 28 Aug 2012 13:32:41 +0000 (15:32 +0200)]
stkagent: Sanitize any output from the agent

11 years agosmsutil: Fix up style issues from previous commit
Denis Kenzior [Mon, 17 Sep 2012 16:56:09 +0000 (11:56 -0500)]
smsutil: Fix up style issues from previous commit

11 years agosmsutil: <CR> is not necessarily a CBS padding character
Philippe Nunes [Fri, 31 Aug 2012 15:03:57 +0000 (17:03 +0200)]
smsutil: <CR> is not necessarily a CBS padding character

11 years agosmsutil: Fix CR padding logic for 7-bit case
Denis Kenzior [Mon, 17 Sep 2012 16:48:03 +0000 (11:48 -0500)]
smsutil: Fix CR padding logic for 7-bit case

11 years agounit: Add test to check CBS padding character
Guillaume Zajac [Fri, 31 Aug 2012 15:03:58 +0000 (17:03 +0200)]
unit: Add test to check CBS padding character

This CBS unit test is used to check that the <CR> character can
be interpreted as a wanted carriage return and not necessarily
as a padding character.

11 years agosmsutil: Fix style issues
Philippe Nunes [Fri, 31 Aug 2012 15:03:56 +0000 (17:03 +0200)]
smsutil: Fix style issues

11 years agostk: AID shall not be displayed in certain cases
Philippe Nunes [Thu, 6 Sep 2012 14:26:29 +0000 (16:26 +0200)]
stk: AID shall not be displayed in certain cases

When the icon is marked as self explanatory, the AID should not be
displayed.

11 years agostk: move number conversion to a utility function
Philippe Nunes [Thu, 6 Sep 2012 14:26:28 +0000 (16:26 +0200)]
stk: move number conversion to a utility function

The dialing number provided by the Setup Call proactive command
may contain pause and DTMF characters.

11 years agoisimodem: Fix style issues in previous commit
Denis Kenzior [Wed, 12 Sep 2012 04:30:04 +0000 (23:30 -0500)]
isimodem: Fix style issues in previous commit

11 years agoisimodem: voicecall answer fix for Nemo on N9
Jarko Poutiainen [Mon, 10 Sep 2012 12:16:07 +0000 (15:16 +0300)]
isimodem: voicecall answer fix for Nemo on N9

Voicecall answering in Mer/Nemomobile run on Nokia N9 will fail
unless call id is passed to modem.

11 years agotest: iconId value is not a printable character
Philippe Nunes [Thu, 6 Sep 2012 14:38:47 +0000 (16:38 +0200)]
test: iconId value is not a printable character

11 years agotest: playtone waits for single tone playback
Philippe Nunes [Thu, 6 Sep 2012 14:38:46 +0000 (16:38 +0200)]
test: playtone waits for single tone playback

To simulate the single tone playback (avoiding the stkagent method
to return immediately), a timeout is started (5 seconds).
During this time, the user can terminate the session.

11 years agotest: Update with RequestQuickDigit API
Philippe Nunes [Thu, 6 Sep 2012 14:38:45 +0000 (16:38 +0200)]
test: Update with RequestQuickDigit API

11 years agonetreg: Remove netreg atom in case init fails
Denis Kenzior [Wed, 12 Sep 2012 04:21:27 +0000 (23:21 -0500)]
netreg: Remove netreg atom in case init fails

11 years agonetreg: Don't register for CIEV twice
Denis Kenzior [Wed, 12 Sep 2012 04:20:53 +0000 (23:20 -0500)]
netreg: Don't register for CIEV twice

11 years agonetreg: Add telit version for ciev notification
Christopher Vogl [Thu, 6 Sep 2012 09:49:17 +0000 (11:49 +0200)]
netreg: Add telit version for ciev notification

11 years agonetreg: Query and select supported CMER modes
Christopher Vogl [Thu, 6 Sep 2012 09:49:18 +0000 (11:49 +0200)]
netreg: Query and select supported CMER modes

11 years agosms: Optimize behavior of previous commit
Denis Kenzior [Wed, 12 Sep 2012 03:31:44 +0000 (22:31 -0500)]
sms: Optimize behavior of previous commit

The previous commit fixed the bug, however performing a linear-search
through the entire tx-queue is quite wasteful.  The current usage
pattern is to always modify the entry at the tail of the queue, so
optimize.

11 years agosms: Fix to find SMS entry posted by STK
Philippe Nunes [Thu, 30 Aug 2012 16:24:07 +0000 (18:24 +0200)]
sms: Fix to find SMS entry posted by STK

SMS initiated by proactive command are not exposed on D-BUS.
Therefore, there is no message associated with the entry created from
STK.

11 years agodoc: Update errors for SupplementaryServices API
Denis Kenzior [Thu, 6 Sep 2012 15:20:25 +0000 (10:20 -0500)]
doc: Update errors for SupplementaryServices API

11 years agoussd: Recover idle state after a transaction error
Philippe Nunes [Thu, 6 Sep 2012 14:21:46 +0000 (16:21 +0200)]
ussd: Recover idle state after a transaction error

The "USSD terminated by network" notification is handled to recover
the idle state in case of USSD transaction error.

11 years agodbus: Add Terminated error
Philippe Nunes [Thu, 6 Sep 2012 14:21:45 +0000 (16:21 +0200)]
dbus: Add Terminated error

11 years agoRelease 1.11 1.11
Marcel Holtmann [Tue, 11 Sep 2012 14:05:26 +0000 (16:05 +0200)]
Release 1.11

11 years agobuild: Enable dundee and tools when building distribution
Marcel Holtmann [Tue, 11 Sep 2012 14:03:06 +0000 (16:03 +0200)]
build: Enable dundee and tools when building distribution

11 years agoatmodem: specify class for call barring query
Philippe Nunes [Wed, 5 Sep 2012 16:56:22 +0000 (18:56 +0200)]
atmodem: specify class for call barring query

class is specified when querying the call barring status if
the class is not the default (7 - voice, data and fax)

11 years agocall-barring: SS query is made with given cls
Philippe Nunes [Wed, 5 Sep 2012 16:56:21 +0000 (18:56 +0200)]
call-barring: SS query is made with given cls

The default class is applied in the query form when no class is
specified in the SS code.

11 years agocall-forwarding: SS query is made with given cls
Philippe Nunes [Wed, 5 Sep 2012 16:56:20 +0000 (18:56 +0200)]
call-forwarding: SS query is made with given cls

GCF test cases 31.2.1.6.1/2 are asking to make a query according a
specific class. The default class is applied in the query form when
no class is specified in the SS code.

11 years agovoicecall: Accept long phone number format for STK
Philippe Nunes [Wed, 5 Sep 2012 17:19:38 +0000 (19:19 +0200)]
voicecall: Accept long phone number format for STK

11 years agodoc: Add a few BT-related clarifications
Denis Kenzior [Wed, 5 Sep 2012 03:03:14 +0000 (22:03 -0500)]
doc: Add a few BT-related clarifications

The 'Name' and 'Serial' property take on slightly different meanings in
the case of Bluetooth devices (e.g. HFP).  Update the documentation to
reflect that.

11 years agogatchat: Print error message if opening tun failes
Daniel Wagner [Fri, 24 Aug 2012 12:16:39 +0000 (14:16 +0200)]
gatchat: Print error message if opening tun failes

This is a very common mistake. Let's help the users to
configure their system correctly.

11 years agostk: Fix comment style
Denis Kenzior [Thu, 30 Aug 2012 22:01:36 +0000 (17:01 -0500)]
stk: Fix comment style

11 years agostk: Ask for immediate digit response as required
Philippe Nunes [Tue, 28 Aug 2012 13:21:21 +0000 (15:21 +0200)]
stk: Ask for immediate digit response as required

This is done by using the stk_agent_request_quick_digit function
introduced in the previous commit.