platform/upstream/ofono.git
13 years agoifxmodem: Fix whitespace corruption
Marcel Holtmann [Thu, 23 Sep 2010 16:32:21 +0000 (01:32 +0900)]
ifxmodem: Fix whitespace corruption

13 years agocalypsomodem: Cleanup of SIM Toolkit support
Marcel Holtmann [Thu, 23 Sep 2010 16:21:10 +0000 (01:21 +0900)]
calypsomodem: Cleanup of SIM Toolkit support

13 years agoifxmodem: Add debug for envelope response data
Marcel Holtmann [Thu, 23 Sep 2010 16:13:22 +0000 (01:13 +0900)]
ifxmodem: Add debug for envelope response data

13 years agombmmodem: Add debug for envelope response data
Marcel Holtmann [Thu, 23 Sep 2010 16:13:01 +0000 (01:13 +0900)]
mbmmodem: Add debug for envelope response data

13 years agombmmodem: Fix small typo
Marcel Holtmann [Thu, 23 Sep 2010 16:07:03 +0000 (01:07 +0900)]
mbmmodem: Fix small typo

13 years agombmmodem: Cleanup of SIM Toolkit support
Marcel Holtmann [Thu, 23 Sep 2010 16:05:26 +0000 (01:05 +0900)]
mbmmodem: Cleanup of SIM Toolkit support

13 years agoifxmodem: Add support for SIM Toolkit (raw mode)
Marcel Holtmann [Thu, 23 Sep 2010 15:59:13 +0000 (00:59 +0900)]
ifxmodem: Add support for SIM Toolkit (raw mode)

13 years agoifxmodem: Add support for radio settings
Marcel Holtmann [Thu, 23 Sep 2010 14:27:08 +0000 (23:27 +0900)]
ifxmodem: Add support for radio settings

13 years agoRelease 0.29 0.29
Marcel Holtmann [Thu, 23 Sep 2010 04:42:39 +0000 (13:42 +0900)]
Release 0.29

13 years agosimfs: Fix freeing a NULL queue
Denis Kenzior [Thu, 23 Sep 2010 03:39:29 +0000 (22:39 -0500)]
simfs: Fix freeing a NULL queue

13 years agounit: Make test-sms less verbose
Denis Kenzior [Wed, 22 Sep 2010 21:32:55 +0000 (16:32 -0500)]
unit: Make test-sms less verbose

13 years agoTODO: Mark status report task as done
Denis Kenzior [Wed, 22 Sep 2010 21:31:54 +0000 (16:31 -0500)]
TODO: Mark status report task as done

13 years agosmsutil: Reflow the fuzzy matching code
Denis Kenzior [Wed, 22 Sep 2010 21:27:30 +0000 (16:27 -0500)]
smsutil: Reflow the fuzzy matching code

Make a bit more readable

13 years agounit: add fuzzy address check to test-sms
Petteri Tikander [Tue, 21 Sep 2010 17:12:05 +0000 (20:12 +0300)]
unit: add fuzzy address check to test-sms

13 years agosmsutil: add fuzzy address check for status report
Petteri Tikander [Tue, 21 Sep 2010 17:12:04 +0000 (20:12 +0300)]
smsutil: add fuzzy address check for status report

13 years agodoc: Update SendMessage API
Denis Kenzior [Wed, 22 Sep 2010 02:37:15 +0000 (21:37 -0500)]
doc: Update SendMessage API

13 years agoapi: Fix small copy&paste typo
Marcel Holtmann [Wed, 22 Sep 2010 02:34:21 +0000 (11:34 +0900)]
api: Fix small copy&paste typo

13 years agoFix multi-line comment style issues
Jeevaka Badrappan [Tue, 21 Sep 2010 19:18:15 +0000 (12:18 -0700)]
Fix multi-line comment style issues

13 years agosms: Update signals for introspection
Denis Kenzior [Wed, 22 Sep 2010 02:04:30 +0000 (21:04 -0500)]
sms: Update signals for introspection

13 years agotest: update monitor-ofono with new SMS api
Denis Kenzior [Wed, 22 Sep 2010 02:04:19 +0000 (21:04 -0500)]
test: update monitor-ofono with new SMS api

13 years agosms: Tweak behavior of txq_submit
Denis Kenzior [Tue, 21 Sep 2010 22:32:13 +0000 (17:32 -0500)]
sms: Tweak behavior of txq_submit

If history tracking is desired, expose over D-Bus as well

13 years agosms: Emit MessageRemoved
Denis Kenzior [Tue, 21 Sep 2010 22:32:06 +0000 (17:32 -0500)]
sms: Emit MessageRemoved

13 years agosms: Emit MessageAdded
Denis Kenzior [Tue, 21 Sep 2010 22:31:53 +0000 (17:31 -0500)]
sms: Emit MessageAdded

13 years agosms: Implement GetMessages method
Denis Kenzior [Tue, 21 Sep 2010 22:11:16 +0000 (17:11 -0500)]
sms: Implement GetMessages method

13 years agodoc: Update SMS API
Denis Kenzior [Tue, 21 Sep 2010 22:09:50 +0000 (17:09 -0500)]
doc: Update SMS API

- Add Message interface
- Add Manager GetMessages method
- Add Manager MessageAdded signal
- Add Manager MessageRemoved signal

13 years agotest: Update test/send-sms to the new API
Denis Kenzior [Tue, 21 Sep 2010 21:50:40 +0000 (16:50 -0500)]
test: Update test/send-sms to the new API

13 years agosms: Initial Message interface implementation
Denis Kenzior [Tue, 21 Sep 2010 21:26:20 +0000 (16:26 -0500)]
sms: Initial Message interface implementation

13 years agodbus: Add org.ofono.Message interface
Denis Kenzior [Tue, 21 Sep 2010 21:25:08 +0000 (16:25 -0500)]
dbus: Add org.ofono.Message interface

13 years agoTODO: Mark Better unique ID task as done
Denis Kenzior [Tue, 21 Sep 2010 16:19:44 +0000 (11:19 -0500)]
TODO: Mark Better unique ID task as done

13 years agoFix breakage of make distcheck
Marcel Holtmann [Tue, 21 Sep 2010 23:24:31 +0000 (08:24 +0900)]
Fix breakage of make distcheck

13 years agoSimplify linker script
Lucas De Marchi [Tue, 21 Sep 2010 12:46:31 +0000 (09:46 -0300)]
Simplify linker script

Version linker scripts support function names and globs, so there's no
need to rely on nm tool to gather the exported symbols.

13 years agostk: Language Notification proactive cmd support
Jeevaka Badrappan [Fri, 17 Sep 2010 04:40:07 +0000 (21:40 -0700)]
stk: Language Notification proactive cmd support

13 years agoexample_history: Update to the new internal API
Denis Kenzior [Mon, 20 Sep 2010 21:46:04 +0000 (16:46 -0500)]
example_history: Update to the new internal API

13 years agosms: Update to the new history API
Denis Kenzior [Mon, 20 Sep 2010 21:45:33 +0000 (16:45 -0500)]
sms: Update to the new history API

13 years agobuild: Make unit test compile with new dependency
Denis Kenzior [Mon, 20 Sep 2010 21:44:32 +0000 (16:44 -0500)]
build: Make unit test compile with new dependency

13 years agocommon: Implement ofono_uuid_to_str
Denis Kenzior [Mon, 20 Sep 2010 21:44:13 +0000 (16:44 -0500)]
common: Implement ofono_uuid_to_str

13 years agohistory: Update to the new SHA1 based sms id API
Denis Kenzior [Mon, 20 Sep 2010 21:38:52 +0000 (16:38 -0500)]
history: Update to the new SHA1 based sms id API

13 years agounit: Update test-sms to the new sr assembly api
Denis Kenzior [Mon, 20 Sep 2010 21:22:23 +0000 (16:22 -0500)]
unit: Update test-sms to the new sr assembly api

13 years agosms: Update to the new status report assembly api
Denis Kenzior [Mon, 20 Sep 2010 21:21:50 +0000 (16:21 -0500)]
sms: Update to the new status report assembly api

13 years agosmsutil: update SR assembly to use SHA1 msg ids
Denis Kenzior [Mon, 20 Sep 2010 21:21:12 +0000 (16:21 -0500)]
smsutil: update SR assembly to use SHA1 msg ids

13 years agosms: Get rid of NextMessageId setting
Denis Kenzior [Mon, 20 Sep 2010 19:07:42 +0000 (14:07 -0500)]
sms: Get rid of NextMessageId setting

13 years agosms: Reflow manager methods table
Denis Kenzior [Mon, 20 Sep 2010 19:04:51 +0000 (14:04 -0500)]
sms: Reflow manager methods table

13 years agosms: Refactor __ofono_sms_txq_submit
Denis Kenzior [Mon, 20 Sep 2010 19:02:34 +0000 (14:02 -0500)]
sms: Refactor __ofono_sms_txq_submit

13 years agosms: Refactor txq_entry_create
Denis Kenzior [Mon, 20 Sep 2010 19:02:01 +0000 (14:02 -0500)]
sms: Refactor txq_entry_create

13 years agosms: Refactor outgoing sms id generator
Denis Kenzior [Mon, 20 Sep 2010 18:47:51 +0000 (13:47 -0500)]
sms: Refactor outgoing sms id generator

13 years agosms: replace sequential SMS message ID with hash
Inaky Perez-Gonzalez [Fri, 6 Aug 2010 00:55:23 +0000 (17:55 -0700)]
sms: replace sequential SMS message ID with hash

The SMS messages's ID number (used for history, D-Bus naming and
storage in external database) is updated to use a hash (based on PDUs
and submission time) to further avoid ID collision concerns.

13 years agosms: Compute SHA1 based UUID for incoming messages
Denis Kenzior [Fri, 17 Sep 2010 19:36:32 +0000 (14:36 -0500)]
sms: Compute SHA1 based UUID for incoming messages

13 years agoinclude: Introduce ofono_uuid
Denis Kenzior [Fri, 17 Sep 2010 19:36:23 +0000 (14:36 -0500)]
include: Introduce ofono_uuid

13 years agoUse DBUS_CONFDIR variable instead of DBUS_DATADIR
Marcel Holtmann [Tue, 21 Sep 2010 10:12:15 +0000 (19:12 +0900)]
Use DBUS_CONFDIR variable instead of DBUS_DATADIR

13 years agohuawei: fix online logic
Kalle Valo [Mon, 20 Sep 2010 12:40:33 +0000 (15:40 +0300)]
huawei: fix online logic

The recently introduced online support to huawei didn't work with my
Huawei E1552. The problem was that with command AT+CFUN=1;+CFUN=5
the modem didn't initialise the sim state properly.

To fix this I changed the logic so that CFUN=5 is called only after the sim
state has switched to a valid state. Now my Huawei E1552 works with connman
again.

PIN locked SIMs still won't work. The problem is that it takes some time for
the sim state to go to a valid state:

Sep 20 15:01:57 dell-m520 ofonod[12451]: Pcui:< \r\n+CPIN: READY\r\n\r\nOK\r\n
[...]
Sep 20 15:02:00 dell-m520 ofonod[12451]: huawei: invalid sim state in post online (0)
[...]
Sep 20 15:02:01 dell-m520 ofonod[12451]: Pcui:< \r\n^SIMST:1\r\n

I don't know why it takes so long to get a valid state.

There is also another issue, in "cold start" case the phonebook
initialisation fails:

Sep 20 14:34:24 dell-m520 ofonod[11939]: Pcui:> AT+CPBS=?\r
Sep 20 14:34:24 dell-m520 ofonod[11939]: Pcui:< \r\n+CME ERROR: SIM busy\r\n

But in "warm start" it seems to work:

Sep 20 14:38:59 dell-m520 ofonod[12091]: Pcui:> AT+CPBS=?\r
Sep 20 14:38:59 dell-m520 ofonod[12091]: Pcui:< \r\n+CPBS: ("SM","EN","ON")\r\n\r\nOK\r\n

I consider this as a minor issue and didn't investigate it at all.

13 years agohuawei: poll sim state
Kalle Valo [Mon, 20 Sep 2010 12:40:26 +0000 (15:40 +0300)]
huawei: poll sim state

On my Huawei E1552 when I plug in the modem (ie. cold start) with PIN locked
SIM, the sim state is 255 (HUAWEI_SIM_STATE_NOT_EXISTENT). As the modem
doesn't send ^SIMST notifications, poll the sim state until it's ready.

In theory it might be possible to do this better, for example follow
^BOOT notifications or something, but it's unknown what parameter we
should check for.

13 years agoatmodem: Allow setting PPP debug via environment variable
Marcel Holtmann [Sun, 19 Sep 2010 23:28:13 +0000 (08:28 +0900)]
atmodem: Allow setting PPP debug via environment variable

13 years agohso: Enable phonebook atom
Yang Gu [Sun, 19 Sep 2010 07:46:54 +0000 (15:46 +0800)]
hso: Enable phonebook atom

13 years agoifxmodem: Add skeleton for Infineon driver plugin
Marcel Holtmann [Sat, 18 Sep 2010 13:18:51 +0000 (22:18 +0900)]
ifxmodem: Add skeleton for Infineon driver plugin

13 years agoifx: Add skeleton for Infineon modem plugin
Marcel Holtmann [Sat, 18 Sep 2010 13:13:53 +0000 (22:13 +0900)]
ifx: Add skeleton for Infineon modem plugin

13 years agoudev: Add support for IFX device detection
Marcel Holtmann [Sat, 18 Sep 2010 13:08:41 +0000 (22:08 +0900)]
udev: Add support for IFX device detection

The IFX device detection is pretty static, but instead of using
a static configuration file it is important to know when the device
node is actually present. For this udev is perfect. Adding a simple
udev rule is all that it takes:

KERNEL=="ttyIFX[0-9]*", ENV{OFONO_DRIVER}="ifx"

With this rule for every TTY with the kernel name like ttyIFX0, a new
modem will be added and the IFX modem plugin driver requested for it.

13 years agoisimodem/ussd: Fix 64-bit compilation issue
Denis Kenzior [Thu, 16 Sep 2010 18:53:26 +0000 (13:53 -0500)]
isimodem/ussd: Fix 64-bit compilation issue

13 years agoisimodem/ussd: fix mobile-terminated cases
Pekka Pessi [Thu, 16 Sep 2010 17:32:49 +0000 (20:32 +0300)]
isimodem/ussd: fix mobile-terminated cases

ACK notifys. Handle mobile-terminated requests gracefully.

13 years agoisimodem/debug: debug USSD type
Pekka Pessi [Thu, 16 Sep 2010 17:32:48 +0000 (20:32 +0300)]
isimodem/debug: debug USSD type

13 years agotest-ussd: read stdin for Response()s
Pekka Pessi [Thu, 16 Sep 2010 17:32:47 +0000 (20:32 +0300)]
test-ussd: read stdin for Response()s

13 years agoussd: debug log notifys
Pekka Pessi [Thu, 16 Sep 2010 17:32:46 +0000 (20:32 +0300)]
ussd: debug log notifys

13 years agoussd.h: +CUSD is documented in 27.007 section 7.15
Pekka Pessi [Thu, 16 Sep 2010 17:32:45 +0000 (20:32 +0300)]
ussd.h: +CUSD is documented in 27.007 section 7.15

13 years agoisimodem/ussd: clean const casts
Pekka Pessi [Thu, 16 Sep 2010 13:50:06 +0000 (16:50 +0300)]
isimodem/ussd: clean const casts

13 years agoTODO: Add Rich Text support task
Denis Kenzior [Wed, 15 Sep 2010 21:52:08 +0000 (16:52 -0500)]
TODO: Add Rich Text support task

13 years agodoc: Add features.txt document
Denis Kenzior [Wed, 15 Sep 2010 21:42:39 +0000 (16:42 -0500)]
doc: Add features.txt document

13 years agophonesim: set character set to GSM
Jeevaka Badrappan [Wed, 15 Sep 2010 18:55:32 +0000 (11:55 -0700)]
phonesim: set character set to GSM

13 years agoussd: Tweak buffer size
Denis Kenzior [Wed, 15 Sep 2010 17:11:08 +0000 (12:11 -0500)]
ussd: Tweak buffer size

13 years agostk: Refactor Send USSD error handling
Denis Kenzior [Wed, 15 Sep 2010 17:03:02 +0000 (12:03 -0500)]
stk: Refactor Send USSD error handling

13 years agostk: Fix style issues
Denis Kenzior [Wed, 15 Sep 2010 16:58:29 +0000 (11:58 -0500)]
stk: Fix style issues

13 years agostkutil: Don't include USSD text unless needed
Denis Kenzior [Wed, 15 Sep 2010 16:58:00 +0000 (11:58 -0500)]
stkutil: Don't include USSD text unless needed

13 years agostk: Handling of Send USSD proactive command
Jeevaka Badrappan [Tue, 14 Sep 2010 21:49:52 +0000 (14:49 -0700)]
stk: Handling of Send USSD proactive command

13 years agoussd: Give proper errors
Denis Kenzior [Wed, 15 Sep 2010 16:45:18 +0000 (11:45 -0500)]
ussd: Give proper errors

13 years agoussd: No need for these structure members
Denis Kenzior [Wed, 15 Sep 2010 16:37:23 +0000 (11:37 -0500)]
ussd: No need for these structure members

13 years agotest: Update monitor-ofono with USSD support
Denis Kenzior [Wed, 15 Sep 2010 16:36:26 +0000 (11:36 -0500)]
test: Update monitor-ofono with USSD support

13 years agoussd: Add __ofono_ussd_initiate internal api
Jeevaka Badrappan [Tue, 14 Sep 2010 21:31:52 +0000 (14:31 -0700)]
ussd: Add __ofono_ussd_initiate internal api

13 years agoussd: Fix up minor style issue
Denis Kenzior [Wed, 15 Sep 2010 15:03:53 +0000 (10:03 -0500)]
ussd: Fix up minor style issue

13 years agoussd: Rework ussd_request
Denis Kenzior [Wed, 15 Sep 2010 02:55:31 +0000 (21:55 -0500)]
ussd: Rework ussd_request

- Only allocate variables which are needed
- Make sure buffers are big enough
- converted is a simple string, no need to use fancy printf magic

13 years agoussd: Simplify ussd notification parser logic
Denis Kenzior [Wed, 15 Sep 2010 02:54:25 +0000 (21:54 -0500)]
ussd: Simplify ussd notification parser logic

13 years agoussd: Driver API changes
Jeevaka Badrappan [Tue, 14 Sep 2010 21:23:14 +0000 (14:23 -0700)]
ussd: Driver API changes

To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive
Command.

13 years agoutil: Clean up style issues
Denis Kenzior [Tue, 14 Sep 2010 17:00:28 +0000 (12:00 -0500)]
util: Clean up style issues

13 years agosmsutil: Clean up ussd_encode
Denis Kenzior [Tue, 14 Sep 2010 16:54:57 +0000 (11:54 -0500)]
smsutil: Clean up ussd_encode

13 years agoussd: Read current CSCS charset
Jeevaka Badrappan [Mon, 13 Sep 2010 23:00:13 +0000 (16:00 -0700)]
ussd: Read current CSCS charset

13 years agoutil: Clean up some coding style violations
Denis Kenzior [Tue, 14 Sep 2010 16:49:25 +0000 (11:49 -0500)]
util: Clean up some coding style violations

13 years agotest-util: Update unit test
Denis Kenzior [Tue, 14 Sep 2010 16:45:34 +0000 (11:45 -0500)]
test-util: Update unit test

13 years agoutil: Return the number of bytes read, not chars
Denis Kenzior [Tue, 14 Sep 2010 16:45:11 +0000 (11:45 -0500)]
util: Return the number of bytes read, not chars

To be consistent with the documentation header and other functions of
this type

13 years agotest-util: Fixup various style issues
Denis Kenzior [Tue, 14 Sep 2010 15:02:51 +0000 (10:02 -0500)]
test-util: Fixup various style issues

13 years agotest-util: test for UCS2 to GSM conversion
Jeevaka Badrappan [Mon, 13 Sep 2010 23:00:12 +0000 (16:00 -0700)]
test-util: test for UCS2 to GSM conversion

13 years agoutil: Add UCS2 to GSM 7bit converion function
Jeevaka Badrappan [Mon, 13 Sep 2010 23:00:11 +0000 (16:00 -0700)]
util: Add UCS2 to GSM 7bit converion function

13 years agosmsutil: Add USSD encoding function
Jeevaka Badrappan [Mon, 13 Sep 2010 23:00:10 +0000 (16:00 -0700)]
smsutil: Add USSD encoding function

13 years agoTODO: Add STK Language Notification task
Jeevaka Badrappan [Tue, 14 Sep 2010 06:56:43 +0000 (23:56 -0700)]
TODO: Add STK Language Notification task

13 years agoFix common misspelling in source files
Lucas De Marchi [Tue, 14 Sep 2010 03:06:05 +0000 (00:06 -0300)]
Fix common misspelling in source files

Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspelling:

reponsible->responsible

13 years agoFix common misspellings in TODO file
Lucas De Marchi [Tue, 14 Sep 2010 03:06:04 +0000 (00:06 -0300)]
Fix common misspellings in TODO file

Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

proprietory->proprietary
seperately->separately

13 years agoFix common misspelling in gisi
Lucas De Marchi [Tue, 14 Sep 2010 03:06:03 +0000 (00:06 -0300)]
Fix common misspelling in gisi

Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspelling:

fomr->from

13 years agoFix common misspellings in gatchat
Lucas De Marchi [Tue, 14 Sep 2010 03:06:02 +0000 (00:06 -0300)]
Fix common misspellings in gatchat

Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

priviledge->privilege
succeded->succeeded

13 years agoFix common misspellings in drivers
Lucas De Marchi [Tue, 14 Sep 2010 03:06:01 +0000 (00:06 -0300)]
Fix common misspellings in drivers

Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

subsidary(-ies)->subsidiary(-ies)
transfering->transferring

13 years agoFix common misspellings in documentation
Lucas De Marchi [Tue, 14 Sep 2010 03:06:00 +0000 (00:06 -0300)]
Fix common misspellings in documentation

Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

accomodate->accommodate
targetted->targeted
transfering->transferring
witheld->withheld
withold->withhold

13 years agoAdd support to enable/disable specific plugin
Zhenhua Zhang [Sat, 11 Sep 2010 08:58:12 +0000 (16:58 +0800)]
Add support to enable/disable specific plugin

Support to load or not load specific plugin when ofono is started.
E.g., use 'ofonod -P hfp' to disable hfp plugin.

13 years agostkutil: Add build_dataobj_ussd_text
Jeevaka Badrappan [Fri, 10 Sep 2010 20:19:01 +0000 (13:19 -0700)]
stkutil: Add build_dataobj_ussd_text

for ussd specific 'Text' Data object handling

13 years agoatutil: Add parsing of CSCS queries
Jeevaka Badrappan [Thu, 9 Sep 2010 18:56:03 +0000 (11:56 -0700)]
atutil: Add parsing of CSCS queries

13 years agobuild: Add forgotten disable-gprs and enable-gprs
Denis Kenzior [Fri, 10 Sep 2010 15:57:53 +0000 (10:57 -0500)]
build: Add forgotten disable-gprs and enable-gprs