platform/upstream/ofono.git
14 years agosmsutil: Add option to use delivery reports
Pasi Miettinen [Mon, 7 Jun 2010 09:53:26 +0000 (12:53 +0300)]
smsutil: Add option to use delivery reports

14 years agoinclude: More style issues
Denis Kenzior [Mon, 7 Jun 2010 17:02:50 +0000 (12:02 -0500)]
include: More style issues

14 years agonetwork: Some style issues
Denis Kenzior [Mon, 7 Jun 2010 17:02:11 +0000 (12:02 -0500)]
network: Some style issues

14 years agoatmodem: Optimize cops queries
Denis Kenzior [Mon, 7 Jun 2010 16:24:13 +0000 (11:24 -0500)]
atmodem: Optimize cops queries

This patch is meant to do two things:
- Some modems, like the Novatel, report bogus operator information when
  not registered, as opposed to simply returning empty strings.  In this
  case we're a little bit more explicit about checking the returned
  mcc/mnc string
- If we determine that the mcc/mnc string is bogus, we don't schedule
  the alphanumeric cops query and return early.

14 years agonetreg: Ignore operator info when not registered
Denis Kenzior [Mon, 7 Jun 2010 16:22:13 +0000 (11:22 -0500)]
netreg: Ignore operator info when not registered

Sometimes when we roam off the cell or are simply not registered, the
modem still reports a bogus operator.  We explicitly ignore this
condition in the core.

14 years agoAdd test script for enabling cell broadcast
Marcel Holtmann [Mon, 7 Jun 2010 11:02:31 +0000 (04:02 -0700)]
Add test script for enabling cell broadcast

14 years agoReopen the GPRS context channel when the modem closes it after PPP
Marcel Holtmann [Mon, 7 Jun 2010 09:36:12 +0000 (02:36 -0700)]
Reopen the GPRS context channel when the modem closes it after PPP

14 years agoRestore GAtChat disconnect handling when resuming a chat session
Marcel Holtmann [Mon, 7 Jun 2010 09:18:39 +0000 (02:18 -0700)]
Restore GAtChat disconnect handling when resuming a chat session

14 years agoUpdate TODO
Denis Kenzior [Mon, 7 Jun 2010 01:00:52 +0000 (20:00 -0500)]
Update TODO

14 years agoUse event channel for SMS, CBS and USSD with Huawei devices
Marcel Holtmann [Mon, 7 Jun 2010 01:22:03 +0000 (18:22 -0700)]
Use event channel for SMS, CBS and USSD with Huawei devices

14 years agoAdd special SMS handling for Huawei based devices
Marcel Holtmann [Mon, 7 Jun 2010 01:21:30 +0000 (18:21 -0700)]
Add special SMS handling for Huawei based devices

14 years agoEnable CBS and USSD for Huawei modems
Marcel Holtmann [Sun, 6 Jun 2010 22:52:02 +0000 (15:52 -0700)]
Enable CBS and USSD for Huawei modems

14 years agoFix detection of Huawei E220 and E270 modems
Marcel Holtmann [Sun, 6 Jun 2010 22:51:36 +0000 (15:51 -0700)]
Fix detection of Huawei E220 and E270 modems

14 years agoMove AT_ODO quirk into HSO driver instead of network registration
Marcel Holtmann [Sun, 6 Jun 2010 22:27:34 +0000 (15:27 -0700)]
Move AT_ODO quirk into HSO driver instead of network registration

14 years agoUse hsomodem instead of hso for Option HSO GPRS atom driver
Marcel Holtmann [Sun, 6 Jun 2010 22:20:48 +0000 (15:20 -0700)]
Use hsomodem instead of hso for Option HSO GPRS atom driver

14 years agoEnable Option specific radio settings
Marcel Holtmann [Sun, 6 Jun 2010 22:19:32 +0000 (15:19 -0700)]
Enable Option specific radio settings

14 years agoAdd support for Option specific radio settings
Marcel Holtmann [Sun, 6 Jun 2010 22:18:57 +0000 (15:18 -0700)]
Add support for Option specific radio settings

14 years agoUse unquoted strings for cell information of Novatel devices
Marcel Holtmann [Sun, 6 Jun 2010 20:14:57 +0000 (13:14 -0700)]
Use unquoted strings for cell information of Novatel devices

14 years agoSet Novatel quirk also for the GPRS atom
Marcel Holtmann [Sun, 6 Jun 2010 20:13:02 +0000 (13:13 -0700)]
Set Novatel quirk also for the GPRS atom

14 years agoAdd support for handling CNTI=0 request with Novatel devices
Marcel Holtmann [Sun, 6 Jun 2010 20:12:37 +0000 (13:12 -0700)]
Add support for handling CNTI=0 request with Novatel devices

14 years agoCheck the supported technologies for Novatel devices on startup
Marcel Holtmann [Sun, 6 Jun 2010 19:05:10 +0000 (12:05 -0700)]
Check the supported technologies for Novatel devices on startup

14 years agoAdd test scripts for radio technology preference
Marcel Holtmann [Sun, 6 Jun 2010 18:11:57 +0000 (11:11 -0700)]
Add test scripts for radio technology preference

14 years agoEnable Novatel specific radio settings
Marcel Holtmann [Sun, 6 Jun 2010 18:08:41 +0000 (11:08 -0700)]
Enable Novatel specific radio settings

14 years agoAdd support for Novatel specific radio settings
Marcel Holtmann [Sun, 6 Jun 2010 18:08:16 +0000 (11:08 -0700)]
Add support for Novatel specific radio settings

14 years agoAdd Novatel Wireless (NW) specific modem driver
Marcel Holtmann [Sun, 6 Jun 2010 18:05:48 +0000 (11:05 -0700)]
Add Novatel Wireless (NW) specific modem driver

14 years agoAdd disconnect callback handling to Novatel plugin
Marcel Holtmann [Sun, 6 Jun 2010 05:37:02 +0000 (22:37 -0700)]
Add disconnect callback handling to Novatel plugin

14 years agoUse secondary port for everything besides GPRS with Novatel devices
Marcel Holtmann [Sat, 5 Jun 2010 04:12:09 +0000 (21:12 -0700)]
Use secondary port for everything besides GPRS with Novatel devices

If a Novatel device allows to enable a secondary AT command based
channel, then use that for device information, SIM handling, network
registration etc. and only leave the GPRS context setup to the first
command port.

14 years agoRename Novatel ports into Primary and Secondary
Marcel Holtmann [Sat, 5 Jun 2010 02:38:05 +0000 (19:38 -0700)]
Rename Novatel ports into Primary and Secondary

14 years agoMention Pasi's contributions
Denis Kenzior [Fri, 4 Jun 2010 20:46:45 +0000 (15:46 -0500)]
Mention Pasi's contributions

14 years agoEnable CBS and USSD for Option HSO based devices
Marcel Holtmann [Fri, 4 Jun 2010 20:01:32 +0000 (13:01 -0700)]
Enable CBS and USSD for Option HSO based devices

14 years agohso: Enable OUWCTI notifications
Denis Kenzior [Fri, 4 Jun 2010 19:21:13 +0000 (14:21 -0500)]
hso: Enable OUWCTI notifications

14 years agosmsutil: status reports also lead with SC_ADDR
Denis Kenzior [Fri, 4 Jun 2010 16:50:26 +0000 (11:50 -0500)]
smsutil: status reports also lead with SC_ADDR

14 years agoatmodem: Put some common code into a utility
Denis Kenzior [Fri, 4 Jun 2010 16:18:20 +0000 (11:18 -0500)]
atmodem: Put some common code into a utility

14 years agoChange in at_cds_notify for status report
Pasi Miettinen [Fri, 4 Jun 2010 11:17:32 +0000 (14:17 +0300)]
Change in at_cds_notify for status report

14 years agoUse Internet access instead of Example for context name
Marcel Holtmann [Fri, 4 Jun 2010 19:20:33 +0000 (12:20 -0700)]
Use Internet access instead of Example for context name

14 years agoSend OWCTI query when bringing up Option based devices
Marcel Holtmann [Fri, 4 Jun 2010 19:17:35 +0000 (12:17 -0700)]
Send OWCTI query when bringing up Option based devices

14 years agoUse AT_OUWCTI instead of AT_OWCTI as expected
Marcel Holtmann [Fri, 4 Jun 2010 19:13:27 +0000 (12:13 -0700)]
Use AT_OUWCTI instead of AT_OWCTI as expected

The Option firmware is so funny. It has a typo in the AT command :)

14 years agoEnable Option specific OWCTI unsolicited notifications
Marcel Holtmann [Fri, 4 Jun 2010 19:08:21 +0000 (12:08 -0700)]
Enable Option specific OWCTI unsolicited notifications

14 years agoFix clean-local make rule
Marcel Holtmann [Fri, 4 Jun 2010 17:38:27 +0000 (10:38 -0700)]
Fix clean-local make rule

14 years agoAdd Option specific SMS quirk since ack pdu is broken
Marcel Holtmann [Fri, 4 Jun 2010 01:16:01 +0000 (18:16 -0700)]
Add Option specific SMS quirk since ack pdu is broken

14 years agoThe ack pdu support is not working on Novatel or Option devices
Marcel Holtmann [Fri, 4 Jun 2010 01:15:27 +0000 (18:15 -0700)]
The ack pdu support is not working on Novatel or Option devices

14 years agoFix wrong spelling of the word usage
Marcel Holtmann [Thu, 3 Jun 2010 17:12:34 +0000 (10:12 -0700)]
Fix wrong spelling of the word usage

14 years agoEnable USSD and CBS support for Novatel based devices
Marcel Holtmann [Thu, 3 Jun 2010 16:56:42 +0000 (09:56 -0700)]
Enable USSD and CBS support for Novatel based devices

14 years agoEnable SMS support for Novatel based devices
Marcel Holtmann [Thu, 3 Jun 2010 15:57:16 +0000 (08:57 -0700)]
Enable SMS support for Novatel based devices

The important part here is that the SMS atom needs to be on the second
AT command port since the main port doesn't handle sending correctly. It
never returns any success or error after the submission of the PDU.

14 years agoQuirk SMS handling for Novatel based devices
Marcel Holtmann [Thu, 3 Jun 2010 15:54:08 +0000 (08:54 -0700)]
Quirk SMS handling for Novatel based devices

The Novatel based devices with Qualcomm chips seems to have various
problems. First they advertise CNMI mode 2, but don't support it. And
second they don't support CNMA acknowledgement with a PDU. So fall back
to acks without PDU.

14 years agoUse new Novatel quirk for network registration
Marcel Holtmann [Thu, 3 Jun 2010 08:21:44 +0000 (01:21 -0700)]
Use new Novatel quirk for network registration

14 years agoAdd special quirk for Novatel based devices
Marcel Holtmann [Thu, 3 Jun 2010 08:20:47 +0000 (01:20 -0700)]
Add special quirk for Novatel based devices

14 years agoThe default PPP netmask should be 255.255.255.255
Marcel Holtmann [Thu, 3 Jun 2010 07:00:42 +0000 (00:00 -0700)]
The default PPP netmask should be 255.255.255.255

14 years agoAdd GPRS support for Novatel based devices
Marcel Holtmann [Thu, 3 Jun 2010 06:18:32 +0000 (23:18 -0700)]
Add GPRS support for Novatel based devices

14 years agoFix debug channel prefix strings for Huawei plugin
Marcel Holtmann [Thu, 3 Jun 2010 04:52:03 +0000 (21:52 -0700)]
Fix debug channel prefix strings for Huawei plugin

14 years agoAdd support for detecting second port of Novatel devices
Marcel Holtmann [Thu, 3 Jun 2010 04:45:09 +0000 (21:45 -0700)]
Add support for detecting second port of Novatel devices

14 years agoRelease 0.22 0.22
Marcel Holtmann [Thu, 3 Jun 2010 02:59:44 +0000 (19:59 -0700)]
Release 0.22

14 years agoInclude offline-modem and online-modem test scripts
Marcel Holtmann [Thu, 3 Jun 2010 02:52:10 +0000 (19:52 -0700)]
Include offline-modem and online-modem test scripts

14 years agostktest: Add negative cases for setup menu
Yang Gu [Mon, 31 May 2010 11:13:22 +0000 (19:13 +0800)]
stktest: Add negative cases for setup menu

14 years agostk: Constraint the appearance of empty item
Yang Gu [Mon, 31 May 2010 11:13:21 +0000 (19:13 +0800)]
stk: Constraint the appearance of empty item

If empty item turns out, it must be the only item in the list.
So the following situations are deemed as invalid:
1. Two empty items
2. Valid item + empty item
3. empty + valid item

14 years agoatgen: Don't use sim polling
Denis Kenzior [Tue, 1 Jun 2010 19:01:48 +0000 (14:01 -0500)]
atgen: Don't use sim polling

Some modems get confused by the CSIM commands and reply with an error,
which we treat as sim not inserted.

14 years agotest-sms: Add a unit test for the previous bugfix
Denis Kenzior [Tue, 1 Jun 2010 15:08:58 +0000 (10:08 -0500)]
test-sms: Add a unit test for the previous bugfix

14 years agosmsutil: Don't overflow signed ints
Denis Kenzior [Tue, 1 Jun 2010 15:07:18 +0000 (10:07 -0500)]
smsutil: Don't overflow signed ints

We were overflowing the datatype which was causing the 31st segments to
be prepended at position 0.  This resulted in (very) long messages being
improperly concatenated

14 years agotest-stkutil: Add Launch Browser response builder tests
Andrzej Zaborowski [Thu, 27 May 2010 04:59:59 +0000 (06:59 +0200)]
test-stkutil: Add Launch Browser response builder tests

14 years agostkutil: Add Launch Browser response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:58 +0000 (06:59 +0200)]
stkutil: Add Launch Browser response builder

14 years agotest-stkutil: Fix issue with whitespace
Denis Kenzior [Fri, 28 May 2010 16:41:05 +0000 (11:41 -0500)]
test-stkutil: Fix issue with whitespace

14 years agotest-stkutil: Add Language Notification response
Andrzej Zaborowski [Thu, 27 May 2010 04:59:57 +0000 (06:59 +0200)]
test-stkutil: Add Language Notification response

14 years agostkutil: Add Language Notification response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:56 +0000 (06:59 +0200)]
stkutil: Add Language Notification response builder

14 years agotest-stkutil: Add the Send DTMF response tests
Andrzej Zaborowski [Thu, 27 May 2010 04:59:55 +0000 (06:59 +0200)]
test-stkutil: Add the Send DTMF response tests

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

14 years agostkutil: Fix comment style
Denis Kenzior [Fri, 28 May 2010 16:36:48 +0000 (11:36 -0500)]
stkutil: Fix comment style

14 years agotest-stkutil: Add Run AT Command response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:53 +0000 (06:59 +0200)]
test-stkutil: Add Run AT Command response builder

14 years agostkutil: Add the Run AT Command response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:52 +0000 (06:59 +0200)]
stkutil: Add the Run AT Command response builder

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

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

14 years agotest-stkutil: Add Timer Management response tests
Andrzej Zaborowski [Thu, 27 May 2010 04:59:49 +0000 (06:59 +0200)]
test-stkutil: Add Timer Management response tests

14 years agostkutil: Fix style in build_dataobj_timer_value
Denis Kenzior [Fri, 28 May 2010 16:31:26 +0000 (11:31 -0500)]
stkutil: Fix style in build_dataobj_timer_value

14 years agostkutil: Fix style
Denis Kenzior [Fri, 28 May 2010 16:30:35 +0000 (11:30 -0500)]
stkutil: Fix style

14 years agostkutil: Add the Timer Management response builder
Andrzej Zaborowski [Thu, 27 May 2010 04:59:48 +0000 (06:59 +0200)]
stkutil: Add the Timer Management response builder

14 years agostkutil: Use more understandable syntax
Denis Kenzior [Fri, 28 May 2010 16:20:14 +0000 (11:20 -0500)]
stkutil: Use more understandable syntax

14 years agostkutil: Fix style
Denis Kenzior [Fri, 28 May 2010 15:57:57 +0000 (10:57 -0500)]
stkutil: Fix style

14 years agostkutil: Fix style in build_dataobj_location_info
Denis Kenzior [Fri, 28 May 2010 15:57:37 +0000 (10:57 -0500)]
stkutil: Fix style in build_dataobj_location_info

14 years agostkutil: Fix some style issues with setup_call
Denis Kenzior [Fri, 28 May 2010 15:42:20 +0000 (10:42 -0500)]
stkutil: Fix some style issues with setup_call

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