platform/upstream/ofono.git
14 years agotest-stkutil: Add a Set Up Event List response test
Andrzej Zaborowski [Thu, 27 May 2010 04:59:47 +0000 (06:59 +0200)]
test-stkutil: Add a Set Up Event List response test

14 years agostkutil: Add Set Up Event List response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:46 +0000 (06:59 +0200)]
stkutil: Add Set Up Event List response builder

14 years agotest-stkutil: Add Provide Local Info response tests
Andrzej Zaborowski [Thu, 27 May 2010 04:59:45 +0000 (06:59 +0200)]
test-stkutil: Add Provide Local Info response tests

14 years agostkutil: Add the Provide Local Info response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:44 +0000 (06:59 +0200)]
stkutil: Add the Provide Local Info response builder

14 years agotest-stkutil: Add a Polling Off response test
Andrzej Zaborowski [Thu, 27 May 2010 04:59:43 +0000 (06:59 +0200)]
test-stkutil: Add a Polling Off response test

14 years agostkutil: Add Polling Off response builder support
Andrzej Zaborowski [Thu, 27 May 2010 04:59:42 +0000 (06:59 +0200)]
stkutil: Add Polling Off response builder support

14 years agotest-stkutil: Add Set Up Call response tests
Andrzej Zaborowski [Thu, 27 May 2010 04:59:41 +0000 (06:59 +0200)]
test-stkutil: Add Set Up Call response tests

14 years agostkutil: Add Set Up Call response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:40 +0000 (06:59 +0200)]
stkutil: Add Set Up Call response builder

14 years agoTODO: SMS Port Addressing Owner
Aki Niemi [Fri, 28 May 2010 15:16:41 +0000 (18:16 +0300)]
TODO: SMS Port Addressing Owner

14 years agoAdd feature description for NITZ
Aki Niemi [Fri, 28 May 2010 15:08:09 +0000 (18:08 +0300)]
Add feature description for NITZ

14 years agoRemove NITZ from TODO
Aki Niemi [Fri, 28 May 2010 15:07:59 +0000 (18:07 +0300)]
Remove NITZ from TODO

14 years agoTODO: Don't use spam-protection
Denis Kenzior [Fri, 28 May 2010 14:50:53 +0000 (09:50 -0500)]
TODO: Don't use spam-protection

Per Marcel's suggestions

14 years agobuild: Fix install of udev rules in VPATH builds
Inaky Perez-Gonzalez [Wed, 26 May 2010 19:49:25 +0000 (12:49 -0700)]
build: Fix install of udev rules in VPATH builds

When the build directory is different than the source directory, we
need to specify the source prefix to the original file we are
copying.

14 years agosms: Add some documentation
Inaky Perez-Gonzalez [Wed, 26 May 2010 19:49:23 +0000 (12:49 -0700)]
sms: Add some documentation

Add doc headers to ofono_sms_{create, register}

14 years agostorage: add printf-like verification
Inaky Perez-Gonzalez [Wed, 26 May 2010 19:49:22 +0000 (12:49 -0700)]
storage: add printf-like verification

Add __attribute__((format)) to {write, read}_file()

14 years agosms_send_message: add a short roadmap
Inaky Perez-Gonzalez [Wed, 26 May 2010 19:49:16 +0000 (12:49 -0700)]
sms_send_message: add a short roadmap

14 years agosmsutils: add some documentation
Inaky Perez-Gonzalez [Wed, 26 May 2010 19:49:18 +0000 (12:49 -0700)]
smsutils: add some documentation

sms_assembly_add_fragment_backup: clarify how insertion spot is found

14 years agoTODO: Owner of Status report task
Pasi Miettinen [Fri, 28 May 2010 07:17:40 +0000 (10:17 +0300)]
TODO: Owner of Status report task

14 years agoTODO: Flight mode owner
Pekka Pessi [Fri, 28 May 2010 09:30:06 +0000 (12:30 +0300)]
TODO: Flight mode owner

14 years agoAdd array decoding for emergency numbers
Marcel Holtmann [Fri, 28 May 2010 08:32:51 +0000 (10:32 +0200)]
Add array decoding for emergency numbers

14 years agotest: Update list-modems to the new API
Denis Kenzior [Thu, 27 May 2010 19:59:04 +0000 (14:59 -0500)]
test: Update list-modems to the new API

14 years agosim: move ServiceDiallingNumbers to ServiceNumbers
Denis Kenzior [Thu, 27 May 2010 19:58:29 +0000 (14:58 -0500)]
sim: move ServiceDiallingNumbers to ServiceNumbers

In line with the API documentation

14 years agoisimodem: add set_online and post_online
Pekka Pessi [Thu, 27 May 2010 16:12:48 +0000 (19:12 +0300)]
isimodem: add set_online and post_online

14 years agoisimodem: More cleanup of bad style
Denis Kenzior [Thu, 27 May 2010 19:03:24 +0000 (14:03 -0500)]
isimodem: More cleanup of bad style

14 years agoFixed style issues in isimodem voicecall.
Pekka Pessi [Thu, 27 May 2010 16:12:47 +0000 (19:12 +0300)]
Fixed style issues in isimodem voicecall.

14 years agoEliminated bool, true and false from isimodem.
Pekka Pessi [Thu, 27 May 2010 16:12:46 +0000 (19:12 +0300)]
Eliminated bool, true and false from isimodem.

14 years agoEliminated bool, true and false from gisi
Pekka Pessi [Thu, 27 May 2010 16:12:45 +0000 (19:12 +0300)]
Eliminated bool, true and false from gisi

14 years agoUse ofono_bool_t instead of bool in modem API.
Pekka Pessi [Thu, 27 May 2010 16:12:43 +0000 (19:12 +0300)]
Use ofono_bool_t instead of bool in modem API.

14 years agomodem: Fix inconsistent state
Pekka Pessi [Thu, 27 May 2010 16:29:51 +0000 (19:29 +0300)]
modem: Fix inconsistent state

Keep modem state consistent if sim is removed while set_online
driver call is pending.  This results in set_online callback being
called and modem entering an invalid state.

14 years agostkutil: Refactor parsing of data object lists
Denis Kenzior [Thu, 27 May 2010 17:36:47 +0000 (12:36 -0500)]
stkutil: Refactor parsing of data object lists

The old way wasn't working out for lists that are optional.  This was
only a problem with the launch browser proactive command.

14 years agoMove destructor prior to return
Yang Gu [Wed, 26 May 2010 14:39:14 +0000 (22:39 +0800)]
Move destructor prior to return

14 years agoteststk: Add test for launch browser parser
Yang Gu [Wed, 26 May 2010 14:39:13 +0000 (22:39 +0800)]
teststk: Add test for launch browser parser

14 years agostk: Add parser for launch browser commands
Yang Gu [Wed, 26 May 2010 14:39:08 +0000 (22:39 +0800)]
stk: Add parser for launch browser commands

14 years agostkutil: Refactor SMS pdu parser
Denis Kenzior [Thu, 27 May 2010 14:26:45 +0000 (09:26 -0500)]
stkutil: Refactor SMS pdu parser

14 years agosmsutil: add sms_decode_unpacked_stk_pdu function
Denis Kenzior [Thu, 27 May 2010 14:25:48 +0000 (09:25 -0500)]
smsutil: add sms_decode_unpacked_stk_pdu function

Properly check the special 'packing required' sms pdus sent by SIM
toolkit.

14 years agostk: Fix the parser of send sms
Yang Gu [Wed, 26 May 2010 14:39:11 +0000 (22:39 +0800)]
stk: Fix the parser of send sms

14 years agotest-stkutil: Add cases for send sms parser
Yang Gu [Wed, 26 May 2010 14:39:10 +0000 (22:39 +0800)]
test-stkutil: Add cases for send sms parser

14 years agosmsutil: Check that udl is less than 140
Yang Gu [Wed, 26 May 2010 14:39:10 +0000 (22:39 +0800)]
smsutil: Check that udl is less than 140

14 years agoteststk: Use check_common_text() to check string
Yang Gu [Wed, 26 May 2010 14:39:10 +0000 (22:39 +0800)]
teststk: Use check_common_text() to check string

14 years agoteststk: Add check of len in byte array
Yang Gu [Wed, 26 May 2010 14:39:09 +0000 (22:39 +0800)]
teststk: Add check of len in byte array

14 years agoteststk: Use sim bcd version
Yang Gu [Thu, 27 May 2010 09:24:34 +0000 (17:24 +0800)]
teststk: Use sim bcd version

14 years agostk: Use sim bcd version
Yang Gu [Thu, 27 May 2010 09:24:33 +0000 (17:24 +0800)]
stk: Use sim bcd version

14 years agoAdd Online property to modem-api.txt
Pekka Pessi [Tue, 25 May 2010 21:14:41 +0000 (00:14 +0300)]
Add Online property to modem-api.txt

14 years agoAdd: test scripts online-modem and offline-modem
Pekka Pessi [Tue, 25 May 2010 21:14:39 +0000 (00:14 +0300)]
Add: test scripts online-modem and offline-modem

14 years agoFix: Go to online state if set_online is NULL
Denis Kenzior [Wed, 26 May 2010 22:45:06 +0000 (17:45 -0500)]
Fix: Go to online state if set_online is NULL

14 years agoRefactor: no need for dummy_online_callback
Denis Kenzior [Wed, 26 May 2010 22:43:01 +0000 (17:43 -0500)]
Refactor: no need for dummy_online_callback

14 years agoFix: Don't allow setting online before sim ready
Denis Kenzior [Wed, 26 May 2010 22:34:56 +0000 (17:34 -0500)]
Fix: Don't allow setting online before sim ready

14 years agoRefactor: Break up set_online_callback
Denis Kenzior [Wed, 26 May 2010 22:34:10 +0000 (17:34 -0500)]
Refactor: Break up set_online_callback

- Break up into two functions, one for online and one for offline
- No longer the need for online_pending variable

14 years agoAdd __ofono_error_not_available
Denis Kenzior [Wed, 26 May 2010 22:32:28 +0000 (17:32 -0500)]
Add __ofono_error_not_available

14 years agoRefactor: flush_atoms
Denis Kenzior [Wed, 26 May 2010 22:14:09 +0000 (17:14 -0500)]
Refactor: flush_atoms

The current implementation did not take care of the case where the head
of the list was removed

14 years agoRefactor: Don't use ofono_ prefix
Denis Kenzior [Wed, 26 May 2010 20:19:07 +0000 (15:19 -0500)]
Refactor: Don't use ofono_ prefix

Only meant for oFono public API

14 years agoRefactor: The macros are no longer needed
Denis Kenzior [Wed, 26 May 2010 20:13:04 +0000 (15:13 -0500)]
Refactor: The macros are no longer needed

14 years agoRefactor: Don't use ofono_ prefix
Denis Kenzior [Wed, 26 May 2010 20:09:40 +0000 (15:09 -0500)]
Refactor: Don't use ofono_ prefix

Only to be used for ofono public API

14 years agoRefactor: Don't use ofono_ prefix
Denis Kenzior [Wed, 26 May 2010 20:09:11 +0000 (15:09 -0500)]
Refactor: Don't use ofono_ prefix

only meant for public API

14 years agoRefactor: Don't use ofono_ prefix
Denis Kenzior [Wed, 26 May 2010 20:01:36 +0000 (15:01 -0500)]
Refactor: Don't use ofono_ prefix

ofono_ prefix is meant for public API

14 years agoFix: minor style issues
Denis Kenzior [Wed, 26 May 2010 19:25:38 +0000 (14:25 -0500)]
Fix: minor style issues

14 years agoAdd: Online property to modem
Pekka Pessi [Wed, 26 May 2010 14:58:06 +0000 (17:58 +0300)]
Add: Online property to modem

The online/offline state is changed with the new set_online() modem driver
method.

In order to track atoms, there are modem states as follows:
- OFONO_MODEM_STATE_POWER_OFF
- OFONO_MODEM_STATE_PRE_SIM
- OFONO_MODEM_STATE_OFFLINE
- OFONO_MODEM_STATE_ONLINE

Atoms are added with driver methods pre_sim(), post_sim() and post_online().
Atoms are removed by modem core when the state changes.

14 years agoRelease 0.21 0.21
Marcel Holtmann [Wed, 26 May 2010 19:02:58 +0000 (21:02 +0200)]
Release 0.21

14 years agoMention Kalle's contributions
Marcel Holtmann [Wed, 26 May 2010 18:01:50 +0000 (20:01 +0200)]
Mention Kalle's contributions

14 years agoatmodem: fix crash during context deactivation
Kalle Valo [Wed, 26 May 2010 15:36:21 +0000 (18:36 +0300)]
atmodem: fix crash during context deactivation

Ofono either crashed or busy looped with my Huawei E1552 3G modem when I
tried to deactivate GPRS context. The reason was that gcd->chat was
unreferenced already in setup_ppp() but the chat was still accessed
later in at_gprs_deactivate_primary().

To fix the problem, change the logic instead to suspend chat session
for PPP and resume when PPP has disconnected. Now it doesn't crash
anymore.

Deactivation still doesn't work properly with Huawei E1552, and most
probably with other Huawei modems, because the modem hangs up the chat
line after PPP deactivation. This needs to be fixed separately. The
workaround is to reboot the modem, for example physically unplug and plug
it in again.

14 years agoatmodem: refactor context deactivation
Kalle Valo [Wed, 26 May 2010 15:36:15 +0000 (18:36 +0300)]
atmodem: refactor context deactivation

The old way of using CGACT is no longer needed.  It is enough
that we shutdown PPP. Recommended by Denis.

14 years agotest-stkutil: Use gcc4.3 compatible initialisers.
Andrzej Zaborowski [Wed, 26 May 2010 03:59:40 +0000 (05:59 +0200)]
test-stkutil: Use gcc4.3 compatible initialisers.

Reformat according to ideas on IRC.

14 years agoFix more-messages-to-send indicator
Aki Niemi [Wed, 26 May 2010 15:43:45 +0000 (18:43 +0300)]
Fix more-messages-to-send indicator

Set the mms indicator based on remaining segment count and not on the
message transmit queue status alone.

14 years agosimutil: Make sim_adn_build use sim bcd
Denis Kenzior [Wed, 26 May 2010 15:00:02 +0000 (10:00 -0500)]
simutil: Make sim_adn_build use sim bcd

14 years agosimutil: Add sim_encode_bcd_number
Denis Kenzior [Wed, 26 May 2010 14:58:47 +0000 (09:58 -0500)]
simutil: Add sim_encode_bcd_number

14 years agosimutil: Make sim_adn_parse use sim bcd version
Denis Kenzior [Wed, 26 May 2010 14:51:51 +0000 (09:51 -0500)]
simutil: Make sim_adn_parse use sim bcd version

14 years agosimutil: add sim_extract_bcd_number
Denis Kenzior [Wed, 26 May 2010 14:50:51 +0000 (09:50 -0500)]
simutil: add sim_extract_bcd_number

14 years agosmsutil: Update the doc for extract_bcd_number
Denis Kenzior [Wed, 26 May 2010 14:17:25 +0000 (09:17 -0500)]
smsutil: Update the doc for extract_bcd_number

14 years agoteststk: Add test for language notification parser
Yang Gu [Wed, 19 May 2010 10:24:46 +0000 (18:24 +0800)]
teststk: Add test for language notification parser

14 years agostk: Add parser for language notification commands
Yang Gu [Wed, 19 May 2010 10:24:45 +0000 (18:24 +0800)]
stk: Add parser for language notification commands

14 years agotest-stk: Add test for send dtmf parser
Yang Gu [Wed, 19 May 2010 10:24:44 +0000 (18:24 +0800)]
test-stk: Add test for send dtmf parser

14 years agostk: Add parser for send dtmf commands
Yang Gu [Wed, 19 May 2010 10:24:43 +0000 (18:24 +0800)]
stk: Add parser for send dtmf commands

14 years agotest-stk: Add test for run at command parser
Yang Gu [Wed, 19 May 2010 10:24:42 +0000 (18:24 +0800)]
test-stk: Add test for run at command parser

14 years agostk: Add parser for run at command commands
Yang Gu [Wed, 19 May 2010 10:24:41 +0000 (18:24 +0800)]
stk: Add parser for run at command commands

14 years agotest-stk: Add test for setup idle mode text parser
Yang Gu [Wed, 19 May 2010 10:24:40 +0000 (18:24 +0800)]
test-stk: Add test for setup idle mode text parser

14 years agostk: Add parser for setup idle mode text commands
Yang Gu [Wed, 19 May 2010 10:24:39 +0000 (18:24 +0800)]
stk: Add parser for setup idle mode text commands

14 years agosimutil: Add MMC MNC pair encoding utility
Andrzej Zaborowski [Sun, 16 May 2010 14:08:29 +0000 (16:08 +0200)]
simutil: Add MMC MNC pair encoding utility

14 years agostkutil: Fix warning
Denis Kenzior [Mon, 24 May 2010 23:11:43 +0000 (18:11 -0500)]
stkutil: Fix warning

14 years agostkutil: More style issues
Denis Kenzior [Mon, 24 May 2010 23:07:50 +0000 (18:07 -0500)]
stkutil: More style issues

- Make stk_tlv_builder usage consistent (builder was missing)
- Various style issues

14 years agosmsutil: Expose SMS timestamp encoding utility
Andrzej Zaborowski [Sun, 16 May 2010 14:08:17 +0000 (16:08 +0200)]
smsutil: Expose SMS timestamp encoding utility

The function can be re-used in stkutil.c, similarly to sms_decode_scts.

14 years agotest-stkutil: Add Select Item response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:07:30 +0000 (16:07 +0200)]
test-stkutil: Add Select Item response tests

14 years agostkutil: small style issue
Denis Kenzior [Mon, 24 May 2010 22:51:21 +0000 (17:51 -0500)]
stkutil: small style issue

14 years agostkutil: Add Select Item response builder
Andrzej Zaborowski [Sun, 16 May 2010 14:07:22 +0000 (16:07 +0200)]
stkutil: Add Select Item response builder

14 years agotest-stkutil: Add Set Up Menu response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:07:00 +0000 (16:07 +0200)]
test-stkutil: Add Set Up Menu response tests

14 years agostkutil: Add Set Up Menu response builder
Andrzej Zaborowski [Sun, 16 May 2010 14:06:51 +0000 (16:06 +0200)]
stkutil: Add Set Up Menu response builder

14 years agotest-stkutil: Add Refresh response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:06:43 +0000 (16:06 +0200)]
test-stkutil: Add Refresh response tests

14 years agostkutil: Add Refresh response builder
Andrzej Zaborowski [Sun, 16 May 2010 14:06:34 +0000 (16:06 +0200)]
stkutil: Add Refresh response builder

14 years agotest-stkutil: Add Poll Interval response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:06:26 +0000 (16:06 +0200)]
test-stkutil: Add Poll Interval response tests

14 years agostkutil: Add Poll Interval response builder
Andrzej Zaborowski [Sun, 16 May 2010 14:06:17 +0000 (16:06 +0200)]
stkutil: Add Poll Interval response builder

14 years agotest-stkutil: Add Play Tone response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:06:09 +0000 (16:06 +0200)]
test-stkutil: Add Play Tone response tests

14 years agostkutil: Add Play Tone response builder support
Andrzej Zaborowski [Sun, 16 May 2010 14:06:01 +0000 (16:06 +0200)]
stkutil: Add Play Tone response builder support

14 years agotest-stkutil: Add Send SMS response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:05:49 +0000 (16:05 +0200)]
test-stkutil: Add Send SMS response tests

14 years agostkutil: Add Send SMS response builder
Andrzej Zaborowski [Sun, 16 May 2010 14:05:39 +0000 (16:05 +0200)]
stkutil: Add Send SMS response builder

14 years agotest-stkutil: Add Get Input response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:05:29 +0000 (16:05 +0200)]
test-stkutil: Add Get Input response tests

14 years agostkutil: Add Get Input response builder
Andrzej Zaborowski [Sun, 16 May 2010 14:05:21 +0000 (16:05 +0200)]
stkutil: Add Get Input response builder

14 years agostkutil: Various code style issues
Denis Kenzior [Mon, 24 May 2010 22:20:21 +0000 (17:20 -0500)]
stkutil: Various code style issues

14 years agotest-stkutil: Add Get Inkey response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:05:12 +0000 (16:05 +0200)]
test-stkutil: Add Get Inkey response tests

14 years agostkutil: Add Get Inkey response builder
Andrzej Zaborowski [Sun, 16 May 2010 14:05:04 +0000 (16:05 +0200)]
stkutil: Add Get Inkey response builder

14 years agostkutil: Make the code more readable
Denis Kenzior [Mon, 24 May 2010 21:02:34 +0000 (16:02 -0500)]
stkutil: Make the code more readable

14 years agotest-stkutil: Add Display Text response tests
Andrzej Zaborowski [Sun, 16 May 2010 14:04:54 +0000 (16:04 +0200)]
test-stkutil: Add Display Text response tests