platform/upstream/ofono.git
13 years agodoc: add Sim Toolkit overview
Jeevaka Badrappan [Thu, 3 Feb 2011 22:59:11 +0000 (14:59 -0800)]
doc: add Sim Toolkit overview

13 years agodoc: remove extra space in overview
Jeevaka Badrappan [Thu, 3 Feb 2011 21:38:06 +0000 (13:38 -0800)]
doc: remove extra space in overview

13 years agosmsutil: Fix compilation
Denis Kenzior [Thu, 3 Feb 2011 20:37:00 +0000 (14:37 -0600)]
smsutil: Fix compilation

13 years agosmsutil: Add alphabet support to encoding
Aki Niemi [Thu, 3 Feb 2011 13:20:34 +0000 (15:20 +0200)]
smsutil: Add alphabet support to encoding

13 years agoutil: Fix convert_utf8_to_gsm_best_lang logic
Denis Kenzior [Thu, 3 Feb 2011 20:18:16 +0000 (14:18 -0600)]
util: Fix convert_utf8_to_gsm_best_lang logic

13 years agoutil: Add best dialect picker API
Aki Niemi [Thu, 3 Feb 2011 13:20:33 +0000 (15:20 +0200)]
util: Add best dialect picker API

13 years agoutil: Use gboolean for returning success / failure
Denis Kenzior [Thu, 3 Feb 2011 19:50:42 +0000 (13:50 -0600)]
util: Use gboolean for returning success / failure

13 years agoutil: Refactor conversion table handling
Aki Niemi [Thu, 3 Feb 2011 13:20:31 +0000 (15:20 +0200)]
util: Refactor conversion table handling

13 years agocore: Minor style tweaks
Denis Kenzior [Thu, 3 Feb 2011 19:15:29 +0000 (13:15 -0600)]
core: Minor style tweaks

13 years agosimfs: implement ofono_sim_context api
Andrzej Zaborowski [Thu, 3 Feb 2011 07:37:37 +0000 (08:37 +0100)]
simfs: implement ofono_sim_context api

13 years agosim: ofono_sim_context api header changes
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:20 +0000 (01:29 +0100)]
sim: ofono_sim_context api header changes

This patch introduces sim FS contexts which are used to queue file
read and write operations.  When a context is freed all pending
operations in that context are cancelled preventing callbacks from
being called causing segfaults.

13 years agosimfs: Use cache for sim_fs_read_info requests too.
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:19 +0000 (01:29 +0100)]
simfs: Use cache for sim_fs_read_info requests too.

There seems to be no reason that the fileinfo is cached for file
read or block read requests but not info_only requests, so move
code around to fix this.  O_RDWR is changed to O_WRONLY for the
cache file because the file is not being read in case of cache miss.

13 years agodoc: Rename to our api filename conventions
Denis Kenzior [Thu, 3 Feb 2011 16:24:39 +0000 (10:24 -0600)]
doc: Rename to our api filename conventions

13 years agodoc: AssistedSatelliteNavigation and Agent API
Simon Lethbridge [Sat, 29 Jan 2011 23:44:43 +0000 (00:44 +0100)]
doc: AssistedSatelliteNavigation and Agent API

This patch introduces support for Global Satellite Navigation System (GNSS),
using the AT commands AT+CPOS and +CPOSR as specified 3GPP 27.007.

13 years agotest: Find the active call and do hangup on that
Marit Henriksen [Thu, 3 Feb 2011 13:14:08 +0000 (14:14 +0100)]
test: Find the active call and do hangup on that

13 years agostemodem: Fix handling of local_release
Marit Henriksen [Thu, 3 Feb 2011 13:15:45 +0000 (14:15 +0100)]
stemodem: Fix handling of local_release

- Reset local_release when call is disconnected.
- Change bitmap for affected types, ste_hangup is only called when
  call state is Incoming, Dialing, Alerting or Active.
- Used macros instead of numbers when creating bitmaps.

13 years agostemodem: Add handling of ECAV status Released
Marit Henriksen [Thu, 3 Feb 2011 13:19:16 +0000 (14:19 +0100)]
stemodem: Add handling of ECAV status Released

- *ECAV UR code has been extended with a new state Released,
  sent immediately when MO call is released.
- Apply rule M11 of coding style.

13 years agoRevert "doc: Updated and clarified overview"
Aki Niemi [Thu, 3 Feb 2011 13:05:20 +0000 (15:05 +0200)]
Revert "doc: Updated and clarified overview"

This reverts commit 457b051928da7a831f7361b9bd156d494593ce04.

Meant only as request for comments.

13 years agoisimodem: fix problems in call state reporting
Pekka Pessi [Tue, 1 Feb 2011 22:22:09 +0000 (00:22 +0200)]
isimodem: fix problems in call state reporting

Do not report early incoming calls.

Report "disconnected" state separately.

Call ofono_voicecall_disconnected() only after call id is released.

13 years agodoc: Updated and clarified overview
Aki Niemi [Mon, 31 Jan 2011 09:07:47 +0000 (11:07 +0200)]
doc: Updated and clarified overview

Refined scope of the project, added smart messaging and push
notification, fixed typos and added IMS UA as an out-of-scope item.

13 years agopush-notification: Fix the nulling of the agent
Denis Kenzior [Wed, 2 Feb 2011 19:24:04 +0000 (13:24 -0600)]
push-notification: Fix the nulling of the agent

Same as the previous commit, but applies to push-notifications

13 years agosmart-messaging: set agent to NULL after free
Lucas De Marchi [Wed, 2 Feb 2011 18:53:32 +0000 (16:53 -0200)]
smart-messaging: set agent to NULL after free

If agent is not set to NULL after it's freed, the following situation
would not work:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_register_agent()

And this one could potentially crash oFono:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_unregister_agent()

13 years agoexamples: fix issue with dst print
Jeevaka Badrappan [Wed, 2 Feb 2011 13:10:46 +0000 (15:10 +0200)]
examples: fix issue with dst print

13 years agoinclude: fix comment on dst value
Jeevaka Badrappan [Wed, 2 Feb 2011 13:10:45 +0000 (15:10 +0200)]
include: fix comment on dst value

13 years agoTODO: Mark long phone number support task as done
Denis Kenzior [Tue, 1 Feb 2011 16:36:41 +0000 (10:36 -0600)]
TODO: Mark long phone number support task as done

13 years agotest: test-sms test script added
Konrad Slowinski [Wed, 2 Feb 2011 10:44:41 +0000 (12:44 +0200)]
test: test-sms test script added

13 years agostk: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:55:24 +0000 (10:55 +0200)]
stk: Fix style issues

13 years agostkutil: Remove trailing WS
Aki Niemi [Wed, 2 Feb 2011 08:55:14 +0000 (10:55 +0200)]
stkutil: Remove trailing WS

13 years agoutil: Fix style issue with long lines
Aki Niemi [Wed, 2 Feb 2011 08:51:35 +0000 (10:51 +0200)]
util: Fix style issue with long lines

13 years agosms: Fix indentation
Aki Niemi [Wed, 2 Feb 2011 08:49:21 +0000 (10:49 +0200)]
sms: Fix indentation

13 years agosimutil: Remove trailing WS
Aki Niemi [Wed, 2 Feb 2011 08:49:11 +0000 (10:49 +0200)]
simutil: Remove trailing WS

13 years agosim: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:48:54 +0000 (10:48 +0200)]
sim: Fix style issues

13 years agosimfs: Add NULL check
Aki Niemi [Wed, 2 Feb 2011 08:48:37 +0000 (10:48 +0200)]
simfs: Add NULL check

13 years agomessage-waiting: Fix indentation
Aki Niemi [Wed, 2 Feb 2011 08:47:06 +0000 (10:47 +0200)]
message-waiting: Fix indentation

13 years agocbs: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:46:44 +0000 (10:46 +0200)]
cbs: Fix style issues

13 years agocall-volume: Fix style issue
Aki Niemi [Wed, 2 Feb 2011 08:45:57 +0000 (10:45 +0200)]
call-volume: Fix style issue

13 years agocall-settings: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:45:44 +0000 (10:45 +0200)]
call-settings: Fix style issues

13 years agocall-barring: Fix style issue
Aki Niemi [Wed, 2 Feb 2011 08:45:19 +0000 (10:45 +0200)]
call-barring: Fix style issue

13 years agonetreg: Fix coding style, M12
Aki Niemi [Wed, 2 Feb 2011 07:51:34 +0000 (09:51 +0200)]
netreg: Fix coding style, M12

13 years agocall-forwarding: Remove useless curly brackets
Aki Niemi [Wed, 2 Feb 2011 08:18:35 +0000 (10:18 +0200)]
call-forwarding: Remove useless curly brackets

13 years agosimutil: Add checks for NULL
Aki Niemi [Wed, 2 Feb 2011 07:49:17 +0000 (09:49 +0200)]
simutil: Add checks for NULL

13 years agoaudio-settings: Fix style, use tabs to indent
Aki Niemi [Wed, 2 Feb 2011 08:16:54 +0000 (10:16 +0200)]
audio-settings: Fix style, use tabs to indent

13 years agocall-meter: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 09:03:10 +0000 (11:03 +0200)]
call-meter: Fix style issues

13 years agoisimodem: fix crash in sms driver
Pekka Pessi [Tue, 1 Feb 2011 20:37:09 +0000 (22:37 +0200)]
isimodem: fix crash in sms driver

13 years agodrivers: fix misspellings
Lucas De Marchi [Tue, 1 Feb 2011 17:32:50 +0000 (15:32 -0200)]
drivers: fix misspellings

13 years agotest: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:52 +0000 (15:32 -0200)]
test: fix misspelling

13 years agoplugins: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:51 +0000 (15:32 -0200)]
plugins: fix misspelling

13 years agodoc: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:49 +0000 (15:32 -0200)]
doc: fix misspelling

13 years agoTODO: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:48 +0000 (15:32 -0200)]
TODO: fix misspelling

13 years agostemodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:50 +0000 (15:12 -0200)]
stemodem: use ofono_call initializer

13 years agoisimodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:49 +0000 (15:12 -0200)]
isimodem: use ofono_call initializer

13 years agoifxmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:48 +0000 (15:12 -0200)]
ifxmodem: use ofono_call initializer

13 years agohfpmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:46 +0000 (15:12 -0200)]
hfpmodem: use ofono_call initializer

13 years agohuaweimodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:47 +0000 (15:12 -0200)]
huaweimodem: use ofono_call initializer

13 years agocalypsomodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:45 +0000 (15:12 -0200)]
calypsomodem: use ofono_call initializer

13 years agoatmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:44 +0000 (15:12 -0200)]
atmodem: use ofono_call initializer

13 years agocommon: implement initializer for ofono_call
Lucas De Marchi [Tue, 1 Feb 2011 17:12:43 +0000 (15:12 -0200)]
common: implement initializer for ofono_call

13 years agoinclude: define initializer for ofono_call
Lucas De Marchi [Tue, 1 Feb 2011 17:12:42 +0000 (15:12 -0200)]
include: define initializer for ofono_call

Some fields in struct ofono_call such as cnap_validity and clip_validity
are not correctly initialized as 0 since this means they are present. If
driver does not implement the necessary handlers, it might send to core
an ofono_call signalling that cnap and clip are available when they are
actually not.

13 years agoste: Add support for CBS interface
Lasse Kunnasluoto [Tue, 1 Feb 2011 14:49:47 +0000 (16:49 +0200)]
ste: Add support for CBS interface

STE modems support standard AT commands in CBS

13 years agoatmodem: Add pin retry count support for mbm
Jeevaka Badrappan [Tue, 1 Feb 2011 13:45:47 +0000 (05:45 -0800)]
atmodem: Add pin retry count support for mbm

13 years agoatmodem: implement standard PIN retries
Rémi Denis-Courmont [Mon, 31 Jan 2011 12:48:20 +0000 (14:48 +0200)]
atmodem: implement standard PIN retries

13 years agostemodem: fix issue with gatchat usage
Jeevaka Badrappan [Sat, 29 Jan 2011 19:03:37 +0000 (11:03 -0800)]
stemodem: fix issue with gatchat usage

13 years agombm: add radio-settings support
Jeevaka Badrappan [Mon, 31 Jan 2011 08:30:51 +0000 (00:30 -0800)]
mbm: add radio-settings support

13 years agobuild: Support for pkg-config
Rémi Denis-Courmont [Mon, 31 Jan 2011 08:37:22 +0000 (10:37 +0200)]
build: Support for pkg-config

13 years agobtio: Fix email address in copyright header
Marcel Holtmann [Sun, 30 Jan 2011 09:56:37 +0000 (10:56 +0100)]
btio: Fix email address in copyright header

13 years agobtio: Get mode option for L2CAP sockets
Santiago Carot-Nemesio [Mon, 18 Oct 2010 13:21:42 +0000 (15:21 +0200)]
btio: Get mode option for L2CAP sockets

13 years agobtio: Add L2CAP fixed channels support
Claudio Takahasi [Tue, 20 Jul 2010 21:33:40 +0000 (18:33 -0300)]
btio: Add L2CAP fixed channels support

Add new option BT_IO_OPT_CID to allow listen and connect using a fixed
L2CAP channel for BTIO.

13 years agoatmodem: fix memory leak
Jeevaka Badrappan [Sat, 29 Jan 2011 18:21:21 +0000 (10:21 -0800)]
atmodem: fix memory leak

13 years agohfpmodem: fix memory leak
Jeevaka Badrappan [Sat, 29 Jan 2011 18:24:12 +0000 (10:24 -0800)]
hfpmodem: fix memory leak

13 years agotest: Fix disabling of delivery reports
Marcel Holtmann [Sat, 29 Jan 2011 17:51:24 +0000 (18:51 +0100)]
test: Fix disabling of delivery reports

13 years agoatmodem: The Gobi devices don't support SMS ACK PDUs either
Marcel Holtmann [Sat, 29 Jan 2011 17:34:10 +0000 (18:34 +0100)]
atmodem: The Gobi devices don't support SMS ACK PDUs either

13 years agoplugins: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:44 +0000 (05:34 -0800)]
plugins: remove NULL check

13 years agocdmamodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:43 +0000 (05:34 -0800)]
cdmamodem: remove NULL check

13 years agostemodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:42 +0000 (05:34 -0800)]
stemodem: remove NULL check

13 years agombmmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:41 +0000 (05:34 -0800)]
mbmmodem: remove NULL check

13 years agoifxmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:40 +0000 (05:34 -0800)]
ifxmodem: remove NULL check

13 years agohuaweimodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:39 +0000 (05:34 -0800)]
huaweimodem: remove NULL check

13 years agohsomodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:38 +0000 (05:34 -0800)]
hsomodem: remove NULL check

13 years agohfpmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:37 +0000 (05:34 -0800)]
hfpmodem: remove NULL check

13 years agocalypsomodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:36 +0000 (05:34 -0800)]
calypsomodem: remove NULL check

13 years agoatmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:35 +0000 (05:34 -0800)]
atmodem: remove NULL check

13 years agoatutil: use g_new0 for callback data memory
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:34 +0000 (05:34 -0800)]
atutil: use g_new0 for callback data memory

13 years agosimfs: Return from sim_fs_op_check_cached on error
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:18 +0000 (01:29 +0100)]
simfs: Return from sim_fs_op_check_cached on error

13 years agosimfs: Reset op_source in simfs_read_block
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:17 +0000 (01:29 +0100)]
simfs: Reset op_source in simfs_read_block

If the block is not in cache or if this is the last block of a last
op in the queue, then fs->op_source might be left with the wrong
value.

13 years agogobi: Use permissive AT syntax parser
Marcel Holtmann [Sat, 29 Jan 2011 16:43:13 +0000 (17:43 +0100)]
gobi: Use permissive AT syntax parser

Trying to use the GSM V1 parser will break sending SMS. So just accept
that Gobi is another device where the strict syntax parser won't work.

13 years agoRelease 0.40 0.40
Marcel Holtmann [Sat, 29 Jan 2011 09:38:44 +0000 (10:38 +0100)]
Release 0.40

13 years agotc65: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:34:31 +0000 (10:34 +0100)]
tc65: Move SMS support into post_sim stage

13 years agohso: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:33:53 +0000 (10:33 +0100)]
hso: Move SMS support into post_sim stage

13 years agozte: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:32:36 +0000 (10:32 +0100)]
zte: Move SMS support into post_sim stage

13 years agonovatel: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:31:16 +0000 (10:31 +0100)]
novatel: Move SMS support into post_sim stage

13 years agohuawei: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:30:03 +0000 (10:30 +0100)]
huawei: Move SMS support into post_sim stage

13 years agoste: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:29:20 +0000 (10:29 +0100)]
ste: Move SMS support into post_sim stage

13 years agombm: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:28:47 +0000 (10:28 +0100)]
mbm: Move SMS support into post_sim stage

13 years agoifx: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:28:05 +0000 (10:28 +0100)]
ifx: Move SMS support into post_sim stage

13 years agogobi: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:26:52 +0000 (10:26 +0100)]
gobi: Move SMS support into post_sim stage

13 years agoTODO: Mark persist outgoing messages task as done
Denis Kenzior [Sat, 29 Jan 2011 02:35:27 +0000 (20:35 -0600)]
TODO: Mark persist outgoing messages task as done

13 years agosmsutil: do not allow larger file names
Lucas De Marchi [Fri, 28 Jan 2011 02:48:59 +0000 (00:48 -0200)]
smsutil: do not allow larger file names

If file name had anything in the name after addr-msgid, it would be
parsed as well. This is not what we want, since there could be temporary
files lying around.

13 years agotest: Add test for listing messages
Denis Kenzior [Sat, 29 Jan 2011 02:29:15 +0000 (20:29 -0600)]
test: Add test for listing messages

13 years agophonesim: Move sms atom to post_sim state
Denis Kenzior [Sat, 29 Jan 2011 02:28:36 +0000 (20:28 -0600)]
phonesim: Move sms atom to post_sim state

13 years agosmsutil: Don't bother renaming to the same name
Denis Kenzior [Sat, 29 Jan 2011 02:27:58 +0000 (20:27 -0600)]
smsutil: Don't bother renaming to the same name

In sms_tx_queue_load, if the resulting file is the same (which is quite
often the case) then don't bother trying to rename it.