platform/upstream/ofono.git
14 years agoatmodem: Add really nasty hack for Nokia AT+COPS bug
Marcel Holtmann [Fri, 20 Aug 2010 01:00:49 +0000 (03:00 +0200)]
atmodem: Add really nasty hack for Nokia AT+COPS bug

The Nokia modem returns an invalid response when trying to read the
numeric value for MCC/MNC of the current network.

Control:> AT+COPS?\r
Control:< \r\n+COPS: 0,2,"26207,0\r\n\r\nOK\r\n

The closing " is just missing and this confuses the AT parser. In case
of a Nokia modem skip reading the numerical values for the network.

14 years agotest: Fix SMS test script to use MessageManager interface
Marcel Holtmann [Fri, 20 Aug 2010 00:51:34 +0000 (02:51 +0200)]
test: Fix SMS test script to use MessageManager interface

14 years agoatmodem: No CIND for Nokia data cards
Marcel Holtmann [Fri, 20 Aug 2010 00:24:53 +0000 (02:24 +0200)]
atmodem: No CIND for Nokia data cards

14 years agoatmodem: Add vendor quirk for Nokia data cards
Marcel Holtmann [Fri, 20 Aug 2010 00:24:07 +0000 (02:24 +0200)]
atmodem: Add vendor quirk for Nokia data cards

14 years agoudev: Add detection for Nokia data cards
Marcel Holtmann [Fri, 20 Aug 2010 00:20:37 +0000 (02:20 +0200)]
udev: Add detection for Nokia data cards

14 years agozte: Use QUALCOMM_MSM quirk for sim driver
Denis Kenzior [Thu, 19 Aug 2010 23:15:52 +0000 (18:15 -0500)]
zte: Use QUALCOMM_MSM quirk for sim driver

14 years agohuawei: Use QUALCOMM_MSM quirk for sim driver
Denis Kenzior [Thu, 19 Aug 2010 23:15:36 +0000 (18:15 -0500)]
huawei: Use QUALCOMM_MSM quirk for sim driver

14 years agogprs: Use "Internet" for default PDP context name
Marcel Holtmann [Thu, 19 Aug 2010 20:36:18 +0000 (22:36 +0200)]
gprs: Use "Internet" for default PDP context name

14 years agogprs: Automatically add a context if none defined
Denis Kenzior [Thu, 19 Aug 2010 20:10:06 +0000 (15:10 -0500)]
gprs: Automatically add a context if none defined

14 years agohso: Use Qualcomm specific USSD quirk
Marcel Holtmann [Thu, 19 Aug 2010 19:59:11 +0000 (21:59 +0200)]
hso: Use Qualcomm specific USSD quirk

14 years agotest: update remove-contexts to the new API
Denis Kenzior [Thu, 19 Aug 2010 18:25:51 +0000 (13:25 -0500)]
test: update remove-contexts to the new API

14 years agotest: update process-context-settings to the new API
Denis Kenzior [Thu, 19 Aug 2010 18:25:20 +0000 (13:25 -0500)]
test: update process-context-settings to the new API

14 years agotest: update list-contexts to the new API
Denis Kenzior [Thu, 19 Aug 2010 18:25:00 +0000 (13:25 -0500)]
test: update list-contexts to the new API

14 years agotest: update deactivate-context to the new API
Denis Kenzior [Thu, 19 Aug 2010 18:24:33 +0000 (13:24 -0500)]
test: update deactivate-context to the new API

14 years agotest: update create-context to the new API
Denis Kenzior [Thu, 19 Aug 2010 18:24:09 +0000 (13:24 -0500)]
test: update create-context to the new API

14 years agotest: Update activate-context to the new API
Denis Kenzior [Thu, 19 Aug 2010 18:23:34 +0000 (13:23 -0500)]
test: Update activate-context to the new API

14 years agogprs: Add support for GetContexts
Denis Kenzior [Thu, 19 Aug 2010 18:02:40 +0000 (13:02 -0500)]
gprs: Add support for GetContexts

14 years agogprs: Tweak context object path naming
Denis Kenzior [Thu, 19 Aug 2010 17:26:37 +0000 (12:26 -0500)]
gprs: Tweak context object path naming

And support loading of legacy context names

14 years agogprs: Break out writing of gprs context settings
Denis Kenzior [Thu, 19 Aug 2010 19:15:36 +0000 (14:15 -0500)]
gprs: Break out writing of gprs context settings

14 years agogprs: Add ContextRemoved signal
Denis Kenzior [Thu, 19 Aug 2010 17:16:55 +0000 (12:16 -0500)]
gprs: Add ContextRemoved signal

14 years agogprs: Emit the ContextAdded signal
Denis Kenzior [Thu, 19 Aug 2010 17:07:06 +0000 (12:07 -0500)]
gprs: Emit the ContextAdded signal

14 years agogprs: minor style fix
Denis Kenzior [Thu, 19 Aug 2010 16:46:15 +0000 (11:46 -0500)]
gprs: minor style fix

14 years agogprs: Break out context properties append function
Denis Kenzior [Thu, 19 Aug 2010 16:45:52 +0000 (11:45 -0500)]
gprs: Break out context properties append function

14 years agogprs: Get rid of PrimaryContexts property
Denis Kenzior [Thu, 19 Aug 2010 16:38:09 +0000 (11:38 -0500)]
gprs: Get rid of PrimaryContexts property

14 years agogprs: Update CreateContext to AddContext
Denis Kenzior [Thu, 19 Aug 2010 16:32:46 +0000 (11:32 -0500)]
gprs: Update CreateContext to AddContext

14 years agogprs: Update GPRS related DBus interface names
Denis Kenzior [Thu, 19 Aug 2010 16:23:04 +0000 (11:23 -0500)]
gprs: Update GPRS related DBus interface names

14 years agosms: Update SmsManager to MessageManager
Denis Kenzior [Thu, 19 Aug 2010 16:11:05 +0000 (11:11 -0500)]
sms: Update SmsManager to MessageManager

14 years agohuawei: Add support for switching USSD mode
Marcel Holtmann [Thu, 19 Aug 2010 19:01:21 +0000 (21:01 +0200)]
huawei: Add support for switching USSD mode

Some newer Huawei modems have support for ^USSDMODE command which seems
to be default to 1. In that mode the text USSD is not working. Switching
it to 0 and text USSD works just fine. Assumption is that with this command
the modem switches between text and PDU mode for USSD. Currently it is
unclear on how the PDU mode is suppose to work all. So default to text mode
if this command is supported.

14 years agoAdd printf format attribute for error creation helper
Marcel Holtmann [Thu, 19 Aug 2010 17:35:04 +0000 (19:35 +0200)]
Add printf format attribute for error creation helper

14 years agofix: Remove extra comma from NotAvailable error
Pekka Pessi [Thu, 19 Aug 2010 16:20:26 +0000 (19:20 +0300)]
fix: Remove extra comma from NotAvailable error

14 years agonetreg: Make reset_available returning void
Marcel Holtmann [Thu, 19 Aug 2010 08:06:17 +0000 (10:06 +0200)]
netreg: Make reset_available returning void

14 years agonetreg: Minor style issues
Denis Kenzior [Thu, 19 Aug 2010 02:13:14 +0000 (21:13 -0500)]
netreg: Minor style issues

14 years agonetreg: Move more stuff around
Denis Kenzior [Thu, 19 Aug 2010 02:09:03 +0000 (21:09 -0500)]
netreg: Move more stuff around

14 years agonetreg: Move stuff around to avoid forward decl
Denis Kenzior [Thu, 19 Aug 2010 02:07:50 +0000 (21:07 -0500)]
netreg: Move stuff around to avoid forward decl

14 years agotest: Update to the new netreg API
Denis Kenzior [Thu, 19 Aug 2010 02:04:07 +0000 (21:04 -0500)]
test: Update to the new netreg API

14 years agonetreg: Make logic more readable
Denis Kenzior [Thu, 19 Aug 2010 02:03:04 +0000 (21:03 -0500)]
netreg: Make logic more readable

14 years agotest: Update to new netreg API
Denis Kenzior [Thu, 19 Aug 2010 02:02:52 +0000 (21:02 -0500)]
test: Update to new netreg API

14 years agogprs: Update Attached when Auto-Attached succeded
Denis Kenzior [Thu, 19 Aug 2010 01:56:00 +0000 (20:56 -0500)]
gprs: Update Attached when Auto-Attached succeded

14 years agonetreg: Move code around to avoid forward decl
Denis Kenzior [Wed, 18 Aug 2010 22:53:04 +0000 (17:53 -0500)]
netreg: Move code around to avoid forward decl

14 years agolist-operators: Update to the new API
Denis Kenzior [Wed, 18 Aug 2010 22:47:14 +0000 (17:47 -0500)]
list-operators: Update to the new API

14 years agonetreg: Update to the new Scan/GetOperators API
Denis Kenzior [Wed, 18 Aug 2010 22:46:51 +0000 (17:46 -0500)]
netreg: Update to the new Scan/GetOperators API

14 years agodoc: Proposed Set Up Call api
Andrzej Zaborowski [Wed, 18 Aug 2010 03:01:07 +0000 (05:01 +0200)]
doc: Proposed Set Up Call api

The normal sequence for call setup is:

* Modem asks user for confirmation using icon1 / alphaId1
* User confirms
* Modem starts dialling, screen displays icon2 / alphaId2
* Call is connected, modem replies to the proactive command, screen
  keeps displaying icon2 / alphaId2 until the phone call is over

14 years agoFix small typo
Marcel Holtmann [Wed, 18 Aug 2010 05:47:48 +0000 (07:47 +0200)]
Fix small typo

14 years agocalypso: Subscribe to %SIMREM and %SIMINS
Andrzej Zaborowski [Tue, 17 Aug 2010 15:37:01 +0000 (17:37 +0200)]
calypso: Subscribe to %SIMREM and %SIMINS

These notifications should be emitted on SIM removal and insertion.
These notifications don't work very well though, on the hardware this
has been tested on, the modem never issued %SIMINS, and %SIMREM was
emitted only in some specific circumenstances.

14 years agolist-modems: Pretty-print main menu
Andrzej Zaborowski [Tue, 17 Aug 2010 15:36:59 +0000 (17:36 +0200)]
list-modems: Pretty-print main menu

14 years agostk: Update agent_called with GetInkey & GetInput
Andrzej Zaborowski [Tue, 17 Aug 2010 15:37:02 +0000 (17:37 +0200)]
stk: Update agent_called with GetInkey & GetInput

14 years agostkagent: Free pending call when destroying agent
Andrzej Zaborowski [Tue, 17 Aug 2010 15:37:00 +0000 (17:37 +0200)]
stkagent: Free pending call when destroying agent

Otherwise we leak memory and additionally D-bus invokes the method
callback and since the agent is already destroyed, we segfault.

14 years agotest-sms: Add basic SMS WAP-PUSH decoder test
Denis Kenzior [Tue, 17 Aug 2010 22:57:51 +0000 (17:57 -0500)]
test-sms: Add basic SMS WAP-PUSH decoder test

14 years agotest-sms: Unify some copy-pasted code
Denis Kenzior [Tue, 17 Aug 2010 21:38:59 +0000 (16:38 -0500)]
test-sms: Unify some copy-pasted code

14 years agosmsutil: Get rid of pointless member
Denis Kenzior [Tue, 17 Aug 2010 17:36:26 +0000 (12:36 -0500)]
smsutil: Get rid of pointless member

14 years agosmsutil: Simple whitespace fix
Denis Kenzior [Tue, 17 Aug 2010 17:10:27 +0000 (12:10 -0500)]
smsutil: Simple whitespace fix

14 years agostemodem: Add polling for SIM ready status
Sjur Brændeland [Tue, 17 Aug 2010 12:22:28 +0000 (14:22 +0200)]
stemodem: Add polling for SIM ready status

Interim solution until support for SIM 'ready' notification is supported.

14 years agoplugins: Add STE sample to modem.conf
Sjur Brændeland [Tue, 17 Aug 2010 12:22:34 +0000 (14:22 +0200)]
plugins: Add STE sample to modem.conf

14 years agomodemconf: Add support for Interface for STE plugin
Sjur Brændeland [Tue, 17 Aug 2010 12:22:32 +0000 (14:22 +0200)]
modemconf: Add support for Interface for STE plugin

14 years agoste: Use SOCK_STREAM for CAIF and enable interface specification
Sjur Brændeland [Tue, 17 Aug 2010 12:22:33 +0000 (14:22 +0200)]
ste: Use SOCK_STREAM for CAIF and enable interface specification

14 years agoste: Add Radio-Settings
Sjur Brændeland [Tue, 17 Aug 2010 12:22:31 +0000 (14:22 +0200)]
ste: Add Radio-Settings

14 years agoRemove pointless extra empty line
Marcel Holtmann [Tue, 17 Aug 2010 12:41:09 +0000 (14:41 +0200)]
Remove pointless extra empty line

14 years agostemodem: Add Radio Settings to STE Modem
Sjur Brændeland [Tue, 17 Aug 2010 12:22:30 +0000 (14:22 +0200)]
stemodem: Add Radio Settings to STE Modem

14 years agoste: Add AT Channel configurations
Sjur Brændeland [Tue, 17 Aug 2010 12:22:29 +0000 (14:22 +0200)]
ste: Add AT Channel configurations

14 years agoste: SIM - STE registers as MBM to utilize mbm quirks
Sjur Brændeland [Tue, 17 Aug 2010 12:22:27 +0000 (14:22 +0200)]
ste: SIM - STE registers as MBM to utilize mbm quirks

14 years agophonesim: Should use none_prefix
Denis Kenzior [Tue, 17 Aug 2010 02:29:19 +0000 (21:29 -0500)]
phonesim: Should use none_prefix

When only OK is expected

14 years agoatmodem: Allow missing DCS parameter in USSD result
Marcel Holtmann [Mon, 16 Aug 2010 22:49:23 +0000 (00:49 +0200)]
atmodem: Allow missing DCS parameter in USSD result

14 years agoAdd support for multiple response USSD transactions in test script
Marcel Holtmann [Mon, 16 Aug 2010 22:41:02 +0000 (00:41 +0200)]
Add support for multiple response USSD transactions in test script

14 years agoste: Include STK support from MBM driver
Sjur Brændeland [Mon, 16 Aug 2010 21:12:06 +0000 (23:12 +0200)]
ste: Include STK support from MBM driver

14 years agozte: Use Qualcomm specific USSD quirk
Marcel Holtmann [Mon, 16 Aug 2010 20:38:57 +0000 (22:38 +0200)]
zte: Use Qualcomm specific USSD quirk

14 years agoatmodem: Add Qualcomm specific USSD quirk
Marcel Holtmann [Mon, 16 Aug 2010 20:38:38 +0000 (22:38 +0200)]
atmodem: Add Qualcomm specific USSD quirk

14 years agoatmodem: Add support for storing USSD vendor quirks
Marcel Holtmann [Mon, 16 Aug 2010 20:21:03 +0000 (22:21 +0200)]
atmodem: Add support for storing USSD vendor quirks

14 years agoTODO: Owner of Status report task
Petteri Tikander [Mon, 16 Aug 2010 07:26:50 +0000 (10:26 +0300)]
TODO: Owner of Status report task

14 years agocalypsomodem: Remove useless NULL checks before g_free
Marcel Holtmann [Mon, 16 Aug 2010 20:12:08 +0000 (22:12 +0200)]
calypsomodem: Remove useless NULL checks before g_free

14 years agostemodem: Remove useless NULL checks before g_free
Marcel Holtmann [Mon, 16 Aug 2010 20:11:21 +0000 (22:11 +0200)]
stemodem: Remove useless NULL checks before g_free

14 years agombmmodem: Remove useless NULL checks before g_free
Marcel Holtmann [Mon, 16 Aug 2010 20:09:09 +0000 (22:09 +0200)]
mbmmodem: Remove useless NULL checks before g_free

14 years agohsomodem: Remove useless NULL checks before g_free
Marcel Holtmann [Mon, 16 Aug 2010 20:08:08 +0000 (22:08 +0200)]
hsomodem: Remove useless NULL checks before g_free

14 years agohfpmodem: Remove useless NULL checks before g_free
Marcel Holtmann [Mon, 16 Aug 2010 20:06:00 +0000 (22:06 +0200)]
hfpmodem: Remove useless NULL checks before g_free

14 years agoussd: Use cb_data instead of custom structure
Denis Kenzior [Mon, 16 Aug 2010 19:57:00 +0000 (14:57 -0500)]
ussd: Use cb_data instead of custom structure

14 years agoatmodem: Remove useless NULL checks before g_free
Marcel Holtmann [Mon, 16 Aug 2010 20:02:01 +0000 (22:02 +0200)]
atmodem: Remove useless NULL checks before g_free

14 years agogatchat: Skip string contents in extract_line
Denis Kenzior [Mon, 16 Aug 2010 18:11:44 +0000 (13:11 -0500)]
gatchat: Skip string contents in extract_line

14 years agogatchat: Handle embedded \r and \n in responses
Denis Kenzior [Mon, 16 Aug 2010 17:44:20 +0000 (12:44 -0500)]
gatchat: Handle embedded \r and \n in responses

14 years agoAdd another test script for USSD transactions
Marcel Holtmann [Mon, 16 Aug 2010 17:09:30 +0000 (19:09 +0200)]
Add another test script for USSD transactions

14 years agogatutil: Handle non-printable characters
Denis Kenzior [Mon, 16 Aug 2010 16:25:19 +0000 (11:25 -0500)]
gatutil: Handle non-printable characters

Signed arithmetic and shifts do not work well...

14 years agoussd: Be extra pedantic trying to Cancel
Denis Kenzior [Mon, 16 Aug 2010 16:02:05 +0000 (11:02 -0500)]
ussd: Be extra pedantic trying to Cancel

If we initiated a Respond() transaction, but have not returned from the
callback.  Or if we already called Cancel and it hasn't returned yet.

14 years agodoc: update USSD api for possible errors
Denis Kenzior [Mon, 16 Aug 2010 15:41:13 +0000 (10:41 -0500)]
doc: update USSD api for possible errors

14 years agoussd: Properly handle cancellations
Denis Kenzior [Mon, 16 Aug 2010 15:39:39 +0000 (10:39 -0500)]
ussd: Properly handle cancellations

14 years agodbus: Add Canceled error
Denis Kenzior [Mon, 16 Aug 2010 15:30:03 +0000 (10:30 -0500)]
dbus: Add Canceled error

14 years agoAdd simple test script to cancel USSD transactions
Marcel Holtmann [Mon, 16 Aug 2010 15:07:28 +0000 (17:07 +0200)]
Add simple test script to cancel USSD transactions

14 years agozte: Add support for sms, cbs, ussd and phonebook atoms
Marcel Holtmann [Mon, 16 Aug 2010 13:28:31 +0000 (15:28 +0200)]
zte: Add support for sms, cbs, ussd and phonebook atoms

14 years agozte: Add initial support for devinfo, sim and netreg atoms
Marcel Holtmann [Mon, 16 Aug 2010 13:16:01 +0000 (15:16 +0200)]
zte: Add initial support for devinfo, sim and netreg atoms

14 years agonetreg: Add quirk for ZTE modem without CIND support
Marcel Holtmann [Mon, 16 Aug 2010 13:14:17 +0000 (15:14 +0200)]
netreg: Add quirk for ZTE modem without CIND support

14 years agoFix typo in Huawei port detection
Marcel Holtmann [Mon, 16 Aug 2010 12:49:54 +0000 (14:49 +0200)]
Fix typo in Huawei port detection

14 years agoAdd udev detection support for ZTE modems
Marcel Holtmann [Mon, 16 Aug 2010 12:49:04 +0000 (14:49 +0200)]
Add udev detection support for ZTE modems

14 years agoAdd skeleton for ZTE modem support
Marcel Holtmann [Mon, 16 Aug 2010 12:48:41 +0000 (14:48 +0200)]
Add skeleton for ZTE modem support

14 years agoatutil: Don't try parsing lac/ci when unregistered
Denis Kenzior [Fri, 13 Aug 2010 23:29:42 +0000 (18:29 -0500)]
atutil: Don't try parsing lac/ci when unregistered

14 years agogprs: Fix up some attach/detach logic issues
Denis Kenzior [Fri, 13 Aug 2010 23:17:04 +0000 (18:17 -0500)]
gprs: Fix up some attach/detach logic issues

Parts of it are related to Meego bug 5193, namely that we don't properly
signal the Attached status when powering down.

Another part of the fix is that we automatically detach in case our
conditions are not fulfilled if the modem attaches automatically (e.g.
Auto-Attach is enabled)

14 years agonwemodem: Fix up radio-settings driver
Denis Kenzior [Fri, 13 Aug 2010 18:57:18 +0000 (13:57 -0500)]
nwemodem: Fix up radio-settings driver

14 years agohsomodem: Fix up radio-settings driver
Denis Kenzior [Fri, 13 Aug 2010 18:53:25 +0000 (13:53 -0500)]
hsomodem: Fix up radio-settings driver

14 years agostemodem: Copy if_caif.h from 2.6.36 RC
Sjur Brændeland [Fri, 13 Aug 2010 10:53:10 +0000 (12:53 +0200)]
stemodem: Copy if_caif.h from 2.6.36 RC

14 years agobuild: Make distcheck pass
Sjur Brændeland [Fri, 13 Aug 2010 10:53:09 +0000 (12:53 +0200)]
build: Make distcheck pass

distcheck fails due to rename of dataconnectionmanager-api.txt

14 years agovoicecall: Make hangup_all work for 911 calls
Denis Kenzior [Fri, 13 Aug 2010 15:57:20 +0000 (10:57 -0500)]
voicecall: Make hangup_all work for 911 calls

14 years agoTODO: Mention the proposed Lockdown property name
Marcel Holtmann [Fri, 13 Aug 2010 15:56:51 +0000 (17:56 +0200)]
TODO: Mention the proposed Lockdown property name

14 years agoTODO: Add GPS power atom task
Denis Kenzior [Fri, 13 Aug 2010 15:36:40 +0000 (10:36 -0500)]
TODO: Add GPS power atom task

14 years agoTODO: Add ofono_sim_ready_notify task
Denis Kenzior [Fri, 13 Aug 2010 15:33:53 +0000 (10:33 -0500)]
TODO: Add ofono_sim_ready_notify task