platform/upstream/ofono.git
14 years agoussd: Add __ofono_ussd_is_busy
Yang Gu [Mon, 6 Sep 2010 02:19:55 +0000 (10:19 +0800)]
ussd: Add __ofono_ussd_is_busy

Send SS requires Call Forwarding / Call Settings / Call Barring to check
whether USSD is currently busy.  If it is, then the SIM should be
notified appropriately.

We introduce a function __ofono_ussd_is_busy to help with this.

14 years agotest: Update test-voicecall to reflect DBus types
Jeevaka Badrappan [Sat, 4 Sep 2010 12:35:12 +0000 (05:35 -0700)]
test: Update test-voicecall to reflect DBus types

14 years agosim: Use sim_fs_check_version
Denis Kenzior [Thu, 9 Sep 2010 03:51:50 +0000 (22:51 -0500)]
sim: Use sim_fs_check_version

14 years agosimfs: Add sim_fs_check_version
Denis Kenzior [Thu, 9 Sep 2010 03:51:31 +0000 (22:51 -0500)]
simfs: Add sim_fs_check_version

Used to blow away older simfs versions

14 years agosimfs: Simplify logic
Denis Kenzior [Thu, 9 Sep 2010 03:48:19 +0000 (22:48 -0500)]
simfs: Simplify logic

14 years agosim: Break out sim file reading into simfs
Denis Kenzior [Mon, 6 Sep 2010 02:40:07 +0000 (21:40 -0500)]
sim: Break out sim file reading into simfs

14 years agostkutil: Fixup whitespace corruption
Denis Kenzior [Fri, 3 Sep 2010 21:34:38 +0000 (16:34 -0500)]
stkutil: Fixup whitespace corruption

14 years agosim: Unify sim_read and sim_read_bytes
Denis Kenzior [Tue, 31 Aug 2010 22:55:17 +0000 (17:55 -0500)]
sim: Unify sim_read and sim_read_bytes

14 years agosim: read EFiidf
Kristen Carlson Accardi [Fri, 27 Aug 2010 16:19:24 +0000 (09:19 -0700)]
sim: read EFiidf

EFiidf can be larger than 256 bytes, so allow callers to read
portions of the EFiidf from a specified offset.  Cache EFiidf
files as blocks of 256 bytes so that it's not necessary to
read the entire (potentially large) file.

14 years agoFix wrong code point in Portuguese table
Aki Niemi [Thu, 9 Sep 2010 11:31:17 +0000 (14:31 +0300)]
Fix wrong code point in Portuguese table

14 years agoDefault to using 8bit SMS reference numbers
Aki Niemi [Thu, 2 Sep 2010 07:54:50 +0000 (10:54 +0300)]
Default to using 8bit SMS reference numbers

14 years agozte: implement Online property
Pekka Pessi [Mon, 6 Sep 2010 18:46:20 +0000 (21:46 +0300)]
zte: implement Online property

14 years agombm: implement Online property
Pekka Pessi [Mon, 6 Sep 2010 18:46:16 +0000 (21:46 +0300)]
mbm: implement Online property

14 years agoste: implement Online property
Pekka Pessi [Mon, 6 Sep 2010 18:46:19 +0000 (21:46 +0300)]
ste: implement Online property

14 years agonovatel: implement Online property
Pekka Pessi [Mon, 6 Sep 2010 18:46:17 +0000 (21:46 +0300)]
novatel: implement Online property

14 years agohso: implement Online property
Pekka Pessi [Mon, 6 Sep 2010 18:46:14 +0000 (21:46 +0300)]
hso: implement Online property

14 years agohuawei: implement Online property
Pekka Pessi [Mon, 6 Sep 2010 18:46:15 +0000 (21:46 +0300)]
huawei: implement Online property

Huawei uses +CFUN=5 for offline

14 years agoatgen: implement Online property
Pekka Pessi [Mon, 6 Sep 2010 18:46:11 +0000 (21:46 +0300)]
atgen: implement Online property

14 years agodoc: Refactor the manager API and its modem object handling
Marcel Holtmann [Wed, 8 Sep 2010 19:39:50 +0000 (21:39 +0200)]
doc: Refactor the manager API and its modem object handling

14 years agodoc: Fix small typo in voice call manager description
Marcel Holtmann [Wed, 8 Sep 2010 19:39:20 +0000 (21:39 +0200)]
doc: Fix small typo in voice call manager description

14 years agoFix calling watch callbacks after it has been removed
Luiz Augusto von Dentz [Mon, 6 Sep 2010 13:39:41 +0000 (16:39 +0300)]
Fix calling watch callbacks after it has been removed

Pending call should be removed if the watch is removed since the
application no longer expect that to be reached and may already freed the
data associated with it.

14 years agoFix signal watch when a service name is given
Luiz Augusto Von Dentz [Mon, 6 Sep 2010 10:26:20 +0000 (13:26 +0300)]
Fix signal watch when a service name is given

The bus name should be resolved when adding a watch by service name since
messages do always come with sender set to owner's bus name, also it
should listen to owner updates since it can change without invalidating
the watch.

14 years agoDo not automatically remove watches for service names
Luiz Augusto Von Dentz [Mon, 6 Sep 2010 10:26:19 +0000 (13:26 +0300)]
Do not automatically remove watches for service names

Services can be owned again so it is perfectly fine to keep the watch.

14 years agoRelease 0.27 0.27
Marcel Holtmann [Tue, 7 Sep 2010 09:53:50 +0000 (11:53 +0200)]
Release 0.27

14 years agohuawei: Decode voice call notifications
Marcel Holtmann [Sun, 5 Sep 2010 19:54:55 +0000 (21:54 +0200)]
huawei: Decode voice call notifications

14 years agohuawei: Decode voice channel settings
Marcel Holtmann [Sun, 5 Sep 2010 18:50:30 +0000 (20:50 +0200)]
huawei: Decode voice channel settings

14 years agoatmodem: Add Huawei quirk for voice call handling
Marcel Holtmann [Sat, 4 Sep 2010 21:44:30 +0000 (23:44 +0200)]
atmodem: Add Huawei quirk for voice call handling

14 years agohuawei: Check for voice call support
Marcel Holtmann [Sat, 4 Sep 2010 21:43:59 +0000 (23:43 +0200)]
huawei: Check for voice call support

14 years agoudev: Check for valid USB serial numbers
Marcel Holtmann [Sat, 4 Sep 2010 20:51:38 +0000 (22:51 +0200)]
udev: Check for valid USB serial numbers

14 years agoFix adding 8bit reference number
Aki Niemi [Fri, 3 Sep 2010 10:12:38 +0000 (13:12 +0300)]
Fix adding 8bit reference number

14 years agotest: Update test-stk-menu to reflect DBus types
Denis Kenzior [Thu, 2 Sep 2010 15:44:11 +0000 (10:44 -0500)]
test: Update test-stk-menu to reflect DBus types

14 years agodoc: Fix stk RequestSelection types
Denis Kenzior [Thu, 2 Sep 2010 15:43:56 +0000 (10:43 -0500)]
doc: Fix stk RequestSelection types

14 years agophonesim: Move the stk atom to post_sim state
Denis Kenzior [Thu, 2 Sep 2010 15:42:15 +0000 (10:42 -0500)]
phonesim: Move the stk atom to post_sim state

14 years agodoc/modem: add experimental Emergency property
Pekka Pessi [Thu, 2 Sep 2010 15:38:59 +0000 (18:38 +0300)]
doc/modem: add experimental Emergency property

14 years agoTODO: added emergency mode proposal
Pekka Pessi [Thu, 2 Sep 2010 15:38:58 +0000 (18:38 +0300)]
TODO: added emergency mode proposal

Collected emergency-related features into one section.

14 years agoisimodem/ussd: use g_isi_send()
Pekka Pessi [Wed, 1 Sep 2010 12:03:43 +0000 (14:03 +0200)]
isimodem/ussd: use g_isi_send()

14 years agoisimodem/gprs: use g_isi_send()
Pekka Pessi [Wed, 1 Sep 2010 11:47:47 +0000 (13:47 +0200)]
isimodem/gprs: use g_isi_send()

14 years agogisi: added g_isi_send() and g_isi_vsend()
Pekka Pessi [Wed, 1 Sep 2010 11:47:46 +0000 (13:47 +0200)]
gisi: added g_isi_send() and g_isi_vsend()

Include a finalize function in GIsiRequest

14 years agosmsutil: storing/loading sms status report over reboot
Petteri Tikander [Wed, 1 Sep 2010 15:59:30 +0000 (18:59 +0300)]
smsutil: storing/loading sms status report over reboot

14 years agoAUTHORS: Mention Petteri's contributions
Denis Kenzior [Wed, 1 Sep 2010 17:09:22 +0000 (12:09 -0500)]
AUTHORS: Mention Petteri's contributions

14 years agosmsutil: style fix
Petteri Tikander [Wed, 1 Sep 2010 15:59:32 +0000 (18:59 +0300)]
smsutil: style fix

14 years agosmsutil: use DECLARE_SMS_ADDR_STR
Petteri Tikander [Wed, 1 Sep 2010 15:59:31 +0000 (18:59 +0300)]
smsutil: use DECLARE_SMS_ADDR_STR

in sms_assembly_backup_free

14 years agovoicecall: Remove unusued MULTI_RELEASE flag
Denis Kenzior [Wed, 1 Sep 2010 00:18:02 +0000 (19:18 -0500)]
voicecall: Remove unusued MULTI_RELEASE flag

14 years agosim: cleanup sim atom private structure
Denis Kenzior [Wed, 1 Sep 2010 00:11:44 +0000 (19:11 -0500)]
sim: cleanup sim atom private structure

The number of elements was getting out of hand and out of order

14 years agosim: tweak efimg length
Denis Kenzior [Tue, 31 Aug 2010 23:01:23 +0000 (18:01 -0500)]
sim: tweak efimg length

14 years agosimutil: Fix minor whitespace corruption
Denis Kenzior [Tue, 31 Aug 2010 18:08:31 +0000 (13:08 -0500)]
simutil: Fix minor whitespace corruption

14 years agosim: Read EFsst
Yang Gu [Tue, 31 Aug 2010 09:58:00 +0000 (17:58 +0800)]
sim: Read EFsst

14 years agoMention Thadeu's contributions
Denis Kenzior [Mon, 30 Aug 2010 23:00:01 +0000 (18:00 -0500)]
Mention Thadeu's contributions

14 years agophonebook: Trivial style / wording fixes
Denis Kenzior [Mon, 30 Aug 2010 22:58:53 +0000 (17:58 -0500)]
phonebook: Trivial style / wording fixes

14 years agoatmodem/phonebook: parse text as hexstring
Thadeu Lima de Souza Cascardo [Sat, 28 Aug 2010 07:27:19 +0000 (04:27 -0300)]
atmodem/phonebook: parse text as hexstring

Some modems omit the quotes when dumping strings in UCS2. Parsing
them as hexstring already does the hex decoding and accepts missing
quotes.

14 years agomodem: Skip waiting for sim_ready if no sim atom
Denis Kenzior [Mon, 30 Aug 2010 19:32:08 +0000 (14:32 -0500)]
modem: Skip waiting for sim_ready if no sim atom

For modems that do not have a SIM atom (e.g. HFP, DUN) we should skip
waiting for the sim_ready notification that will never arrive.

14 years agosim: Turn around the order of arguments
Denis Kenzior [Mon, 30 Aug 2010 19:29:34 +0000 (14:29 -0500)]
sim: Turn around the order of arguments

The void *user argument was first.  It should be last instead to be
consistent with the other watch functions.

14 years agomodem: Reset unregister when atom is unregistered
Denis Kenzior [Mon, 30 Aug 2010 18:04:15 +0000 (13:04 -0500)]
modem: Reset unregister when atom is unregistered

14 years agomodem: Fix turning off modem in immediate case
Denis Kenzior [Mon, 30 Aug 2010 17:12:13 +0000 (12:12 -0500)]
modem: Fix turning off modem in immediate case

If the driver does not return EINPROGRESS we don't set the modem to the
off state properly

14 years agomodem: minor style fix
Denis Kenzior [Mon, 30 Aug 2010 17:09:38 +0000 (12:09 -0500)]
modem: minor style fix

14 years agombm: D5530 gets bogus +GCAP, not +CGAP
Pekka Pessi [Mon, 30 Aug 2010 13:36:31 +0000 (16:36 +0300)]
mbm: D5530 gets bogus +GCAP, not +CGAP

14 years agovoicecall: Fix crash during cleanup
Denis Kenzior [Mon, 30 Aug 2010 15:34:21 +0000 (10:34 -0500)]
voicecall: Fix crash during cleanup

14 years agogisi: Retry version query in g_isi_verify()
Pekka Pessi [Tue, 24 Aug 2010 11:46:08 +0000 (13:46 +0200)]
gisi: Retry version query in g_isi_verify()

For some mysterious reason, not all COMMON_MESSAGEs get sent to
modem. This patch adds a retry counter that tries to make sure an
answer is always received.

14 years agogisi: Fix counter for indication subscriptions
Aki Niemi [Wed, 25 Aug 2010 10:04:38 +0000 (13:04 +0300)]
gisi: Fix counter for indication subscriptions

14 years agoRemove unnecessary alignment to 32bit boundary
Aki Niemi [Wed, 25 Aug 2010 10:03:27 +0000 (13:03 +0300)]
Remove unnecessary alignment to 32bit boundary

14 years agoudev: Add rule for ZTE MF110 modem
Marcel Holtmann [Sat, 28 Aug 2010 06:19:02 +0000 (08:19 +0200)]
udev: Add rule for ZTE MF110 modem

14 years agotest: tweak wording
Denis Kenzior [Fri, 27 Aug 2010 23:40:14 +0000 (18:40 -0500)]
test: tweak wording

14 years agovoicecall: Cleanup dial request when removing atom
Denis Kenzior [Fri, 27 Aug 2010 23:26:45 +0000 (18:26 -0500)]
voicecall: Cleanup dial request when removing atom

14 years agovoicecall: Refactor ofono_voicecall_busy
Denis Kenzior [Fri, 27 Aug 2010 23:24:34 +0000 (18:24 -0500)]
voicecall: Refactor ofono_voicecall_busy

14 years agovoicecall: Switch to unsigned
Denis Kenzior [Fri, 27 Aug 2010 22:36:25 +0000 (17:36 -0500)]
voicecall: Switch to unsigned

14 years agostk: setup call did not handle agent disappearance
Denis Kenzior [Fri, 27 Aug 2010 21:50:14 +0000 (16:50 -0500)]
stk: setup call did not handle agent disappearance

14 years agostk: Free select item menu
Denis Kenzior [Fri, 27 Aug 2010 19:44:50 +0000 (14:44 -0500)]
stk: Free select item menu

If calling the agent failed for some reason

14 years agostk: Reset cancel_cmd to NULL
Denis Kenzior [Fri, 27 Aug 2010 19:37:38 +0000 (14:37 -0500)]
stk: Reset cancel_cmd to NULL

14 years agostk: set cancel_cmd only if agent was called
Denis Kenzior [Fri, 27 Aug 2010 19:35:00 +0000 (14:35 -0500)]
stk: set cancel_cmd only if agent was called

14 years agovoicecall: Cleanup dial request init / finish
Denis Kenzior [Fri, 27 Aug 2010 18:24:17 +0000 (13:24 -0500)]
voicecall: Cleanup dial request init / finish

14 years agotest: Update with ConfirmCallSetup API
Denis Kenzior [Fri, 27 Aug 2010 18:23:51 +0000 (13:23 -0500)]
test: Update with ConfirmCallSetup API

14 years agostk: Handle the Set Up Call proactive command
Andrzej Zaborowski [Thu, 26 Aug 2010 11:36:48 +0000 (13:36 +0200)]
stk: Handle the Set Up Call proactive command

14 years agovoicecall: add __ofono_voicecall_dial internal api
Andrzej Zaborowski [Thu, 26 Aug 2010 11:36:47 +0000 (13:36 +0200)]
voicecall: add __ofono_voicecall_dial internal api

The callback is only invoked when the call is CONNECTED (becomes
active).  Cancel ensures that the callback will not be called and
does nothing more in this version, it's an open question if we
want to release the call.

14 years agotodo: remove owner from notify_ready task
Kristen Carlson Accardi [Thu, 26 Aug 2010 14:04:56 +0000 (07:04 -0700)]
todo: remove owner from notify_ready task

14 years agosimutil: Fix compilation with gcc 4.3.2
Andrzej Zaborowski [Thu, 26 Aug 2010 12:36:31 +0000 (14:36 +0200)]
simutil: Fix compilation with gcc 4.3.2

This gcc version gives two signed / unsigned comparison warnings.

14 years agosim: read EFimg
Kristen Carlson Accardi [Thu, 26 Aug 2010 14:20:03 +0000 (07:20 -0700)]
sim: read EFimg

14 years agogprs: add debug info
Pekka Pessi [Thu, 26 Aug 2010 13:08:52 +0000 (16:08 +0300)]
gprs: add debug info

14 years agoisimodem/gprs: fix attached_status response
Pekka Pessi [Thu, 26 Aug 2010 13:08:41 +0000 (16:08 +0300)]
isimodem/gprs: fix attached_status response

14 years agostkagent: Add ConfirmCallSetup request.
Andrzej Zaborowski [Wed, 25 Aug 2010 15:49:15 +0000 (17:49 +0200)]
stkagent: Add ConfirmCallSetup request.

14 years agostkutil: change uint32_t to guint32
Kristen Carlson Accardi [Wed, 25 Aug 2010 11:00:21 +0000 (04:00 -0700)]
stkutil: change uint32_t to guint32

This helps avoid needing to include any extra header files if
stkutil.h is included in sim.c

14 years agosimutil: add fileid for EFimg
Kristen Carlson Accardi [Wed, 25 Aug 2010 11:00:20 +0000 (04:00 -0700)]
simutil: add fileid for EFimg

14 years agombm: add quirks for Dell D5530
Pekka Pessi [Wed, 25 Aug 2010 17:13:16 +0000 (20:13 +0300)]
mbm: add quirks for Dell D5530

Dell D5530 is an OEM version of F3507g. It has an annoying habit of
announcing itself to world with its own name. Another problem is some weird
+CGAP messages at the same time. It also crashes upon processing received
CBS messages.

14 years agotest-monitor: monitor irregular signals
Pekka Pessi [Wed, 25 Aug 2010 11:57:02 +0000 (14:57 +0300)]
test-monitor: monitor irregular signals

14 years agomonitor-ofono: deep pretty-print
Pekka Pessi [Wed, 25 Aug 2010 11:57:01 +0000 (14:57 +0300)]
monitor-ofono: deep pretty-print

14 years agosim: Check PIN even if no EFli / EFpl not read
Denis Kenzior [Wed, 25 Aug 2010 14:59:10 +0000 (09:59 -0500)]
sim: Check PIN even if no EFli / EFpl not read

14 years agodoc: Add list of CDMA specifications
Caiwen Zhang [Tue, 24 Aug 2010 09:41:31 +0000 (17:41 +0800)]
doc: Add list of CDMA specifications

14 years agodoc: Update call-barring API
Denis Kenzior [Tue, 24 Aug 2010 00:12:17 +0000 (19:12 -0500)]
doc: Update call-barring API

14 years agotodo: add owner for sim ready notification task
Kristen Carlson Accardi [Mon, 23 Aug 2010 14:07:14 +0000 (07:07 -0700)]
todo: add owner for sim ready notification task

14 years agonovatel: Use Qualcomm specific quirk for SIM handling
Marcel Holtmann [Mon, 23 Aug 2010 20:54:34 +0000 (22:54 +0200)]
novatel: Use Qualcomm specific quirk for SIM handling

14 years agohuaweimodem: Add NDIS based GPRS context driver
Marcel Holtmann [Mon, 23 Aug 2010 20:06:45 +0000 (22:06 +0200)]
huaweimodem: Add NDIS based GPRS context driver

14 years agosim: Retrieve EFphase according to the spec
Denis Kenzior [Mon, 23 Aug 2010 18:58:14 +0000 (13:58 -0500)]
sim: Retrieve EFphase according to the spec

14 years agosim: Reorder SIM initialization
Denis Kenzior [Mon, 23 Aug 2010 18:36:37 +0000 (13:36 -0500)]
sim: Reorder SIM initialization

14 years agosim: Reset mnc_length when removing SIM
Denis Kenzior [Mon, 23 Aug 2010 18:20:54 +0000 (13:20 -0500)]
sim: Reset mnc_length when removing SIM

In case the next SIM doesn't have it or something else weird happens.

14 years agosim: Update the SIM initialization comment
Denis Kenzior [Mon, 23 Aug 2010 18:20:24 +0000 (13:20 -0500)]
sim: Update the SIM initialization comment

14 years agosim: Minor style fix
Denis Kenzior [Mon, 23 Aug 2010 18:16:41 +0000 (13:16 -0500)]
sim: Minor style fix

14 years agosim: Read EFust and EFest
Yang Gu [Thu, 19 Aug 2010 06:05:35 +0000 (14:05 +0800)]
sim: Read EFust and EFest

14 years agohfp: fix typo
João Paulo Rechi Vita [Mon, 23 Aug 2010 18:04:49 +0000 (15:04 -0300)]
hfp: fix typo

14 years agohuawei: Query AT^U2DIAG and AT^GETPORTMODE settings
Marcel Holtmann [Mon, 23 Aug 2010 15:43:20 +0000 (17:43 +0200)]
huawei: Query AT^U2DIAG and AT^GETPORTMODE settings

Just to make the values show up in the AT command debug logs, query them
when enabling the device.

14 years agombm: fix initial polling for sim
Pekka Pessi [Mon, 23 Aug 2010 14:18:09 +0000 (17:18 +0300)]
mbm: fix initial polling for sim

There seems to be no specific error codes returned when SIM is missing.
Poll at least 5 times upon an error and give up after that.

14 years agohsomodem: Minor style fixes in GPRS context driver
Marcel Holtmann [Mon, 23 Aug 2010 14:29:51 +0000 (16:29 +0200)]
hsomodem: Minor style fixes in GPRS context driver