platform/upstream/ofono.git
13 years agomodem: Miscellaneous style fixes
Denis Kenzior [Mon, 22 Nov 2010 10:29:06 +0000 (04:29 -0600)]
modem: Miscellaneous style fixes

13 years agomodem: add modem online-offline watch
Andras Domokos [Mon, 15 Nov 2010 16:57:55 +0000 (18:57 +0200)]
modem: add modem online-offline watch

13 years agoisi/voicecall: release COMING calls with BUSY cause
Pekka Pessi [Tue, 16 Nov 2010 17:05:23 +0000 (19:05 +0200)]
isi/voicecall: release COMING calls with BUSY cause

Very early incoming calls were not released with BUSY cause.

13 years agodoc: Fixup the use of read-write to readwrite
Denis Kenzior [Mon, 22 Nov 2010 11:20:28 +0000 (05:20 -0600)]
doc: Fixup the use of read-write to readwrite

13 years agoAUTHORS: Mention George's contributions
Denis Kenzior [Mon, 22 Nov 2010 11:12:49 +0000 (05:12 -0600)]
AUTHORS: Mention George's contributions

13 years agobuild: Update glib version in configure.ac
George Matveev [Fri, 19 Nov 2010 09:18:05 +0000 (10:18 +0100)]
build: Update glib version in configure.ac

function g_mkstemp_full in src/storage.c
requires glib version 2.22 or higher

13 years agosrc: coding style fixes - rule M6
Jeevaka Badrappan [Fri, 19 Nov 2010 13:57:22 +0000 (05:57 -0800)]
src: coding style fixes - rule M6

13 years agosimutil: coding style fixes - rule M6
Jeevaka Badrappan [Fri, 19 Nov 2010 13:57:22 +0000 (05:57 -0800)]
simutil: coding style fixes - rule M6

13 years agosimfs: coding style fixes - rule M6
Jeevaka Badrappan [Fri, 19 Nov 2010 13:57:22 +0000 (05:57 -0800)]
simfs: coding style fixes - rule M6

13 years agostkutil: coding style fixes - rule M6
Jeevaka Badrappan [Fri, 19 Nov 2010 13:57:22 +0000 (05:57 -0800)]
stkutil: coding style fixes - rule M6

13 years agosmsutil: coding style fixes - rule M6
Jeevaka Badrappan [Fri, 19 Nov 2010 13:57:22 +0000 (05:57 -0800)]
smsutil: coding style fixes - rule M6

13 years agoutil: coding style fixes - rule M6
Jeevaka Badrappan [Fri, 19 Nov 2010 13:57:22 +0000 (05:57 -0800)]
util: coding style fixes - rule M6

13 years agodoc: fix typos
Rémi Denis-Courmont [Thu, 18 Nov 2010 15:11:45 +0000 (17:11 +0200)]
doc: fix typos

13 years agomodem: Fix small coding style issue
Marcel Holtmann [Fri, 19 Nov 2010 10:40:31 +0000 (11:40 +0100)]
modem: Fix small coding style issue

13 years agoutil: Remove extra tab
Jeevaka Badrappan [Wed, 17 Nov 2010 15:32:43 +0000 (07:32 -0800)]
util: Remove extra tab

13 years agomodem: Fix up doc typo
Denis Kenzior [Wed, 17 Nov 2010 14:26:26 +0000 (08:26 -0600)]
modem: Fix up doc typo

13 years agoTODO: Add Location Service (AGPS) task.
Sjur Brændeland [Wed, 17 Nov 2010 07:09:13 +0000 (08:09 +0100)]
TODO: Add Location Service (AGPS) task.

13 years agocoding-style: Add exception to rule M12
Sjur Brændeland [Wed, 17 Nov 2010 07:09:12 +0000 (08:09 +0100)]
coding-style: Add exception to rule M12

For external enums

13 years agoSimplify ofono_modem_set_powered() logic
Gustavo F. Padovan [Fri, 12 Nov 2010 19:56:10 +0000 (17:56 -0200)]
Simplify ofono_modem_set_powered() logic

13 years agostemodem: Fix for error handling, memleak and changed some defines
Sjur Brændeland [Fri, 12 Nov 2010 15:02:38 +0000 (16:02 +0100)]
stemodem: Fix for error handling, memleak and changed some defines

* renamed MAX_LEN to IP_ADDR_LEN
* removed memory leak from unneeded strdup when parsing xml response.
* better handling of AT error responses
* reduced number of caif interfaces to 4

13 years agostemodem: Fix various coding style and logic issues with RTNL support
Marcel Holtmann [Sat, 13 Nov 2010 01:26:07 +0000 (10:26 +0900)]
stemodem: Fix various coding style and logic issues with RTNL support

13 years agostemodem: Add RTNL functionality managing CAIF Network Interfaces.
Sjur Brændeland [Fri, 12 Nov 2010 10:41:30 +0000 (11:41 +0100)]
stemodem: Add RTNL functionality managing CAIF Network Interfaces.

13 years agoisigen: create four gprs contexts
Mika Liljeberg [Thu, 11 Nov 2010 15:50:00 +0000 (17:50 +0200)]
isigen: create four gprs contexts

13 years agoisimodem: Get rid of whitespace corruption
Denis Kenzior [Thu, 11 Nov 2010 15:08:09 +0000 (09:08 -0600)]
isimodem: Get rid of whitespace corruption

13 years agomonitor-ofono: monitor DisconnectReason
Pekka Pessi [Thu, 11 Nov 2010 12:54:24 +0000 (14:54 +0200)]
monitor-ofono: monitor DisconnectReason

13 years agoisimodem: Fix style issues in gprs-context.c
Aki Niemi [Thu, 11 Nov 2010 08:11:24 +0000 (10:11 +0200)]
isimodem: Fix style issues in gprs-context.c

13 years agoisimodem: revector GPRS context driver
Mika Liljeberg [Wed, 10 Nov 2010 12:22:30 +0000 (14:22 +0200)]
isimodem: revector GPRS context driver

13 years agogisi: return NULL instead of asserting
Mika Liljeberg [Wed, 10 Nov 2010 12:22:29 +0000 (14:22 +0200)]
gisi: return NULL instead of asserting

13 years agogisi: fix crash bug in g_isi_remove_subscription
Mika Liljeberg [Wed, 10 Nov 2010 12:22:28 +0000 (14:22 +0200)]
gisi: fix crash bug in g_isi_remove_subscription

13 years agoTODO: Assign Voicecall emergency property task
John Mathew [Wed, 10 Nov 2010 16:09:49 +0000 (11:09 -0500)]
TODO: Assign Voicecall emergency property task

13 years agosms: Fix up comment style and wording
Denis Kenzior [Wed, 10 Nov 2010 15:17:19 +0000 (09:17 -0600)]
sms: Fix up comment style and wording

13 years agocbs: Minor style fixes
Denis Kenzior [Wed, 10 Nov 2010 15:15:51 +0000 (09:15 -0600)]
cbs: Minor style fixes

13 years agocbs: CBS-PP download must be enabled in sst / est
Andrzej Zaborowski [Wed, 10 Nov 2010 03:27:52 +0000 (04:27 +0100)]
cbs: CBS-PP download must be enabled in sst / est

13 years agosms: SMS-PP download must be enabled in sst / est
Andrzej Zaborowski [Wed, 10 Nov 2010 03:27:51 +0000 (04:27 +0100)]
sms: SMS-PP download must be enabled in sst / est

13 years agosim: Add sim_service_available()
Andrzej Zaborowski [Wed, 10 Nov 2010 03:27:50 +0000 (04:27 +0100)]
sim: Add sim_service_available()

This is meant to query EFsst or EFust.

The function is not public api because the service constants are in
src/simutil.h.

13 years agoTODO: Check SIM pin status if sim_change_pin fails
Marit Henriksen [Wed, 10 Nov 2010 11:35:45 +0000 (12:35 +0100)]
TODO: Check SIM pin status if sim_change_pin fails

13 years agobuild: Add reset-pin script
Denis Kenzior [Tue, 9 Nov 2010 16:18:14 +0000 (10:18 -0600)]
build: Add reset-pin script

13 years agoAdd test/reset-pin
Pekka Pessi [Mon, 8 Nov 2010 20:28:33 +0000 (22:28 +0200)]
Add test/reset-pin

13 years agoTODO: Add async SMS acknowledgement task
Andrzej Zaborowski [Sun, 7 Nov 2010 17:42:20 +0000 (18:42 +0100)]
TODO: Add async SMS acknowledgement task

13 years agoTODO: Mark SMS-PP download task as done
Denis Kenzior [Mon, 8 Nov 2010 19:43:22 +0000 (13:43 -0600)]
TODO: Mark SMS-PP download task as done

13 years agosms: Handle "USIM Download" SMS type.
Andrzej Zaborowski [Sun, 7 Nov 2010 17:42:19 +0000 (18:42 +0100)]
sms: Handle "USIM Download" SMS type.

13 years agostk: API for SMS Point-to-Point download to UICC
Andrzej Zaborowski [Sun, 7 Nov 2010 17:42:18 +0000 (18:42 +0100)]
stk: API for SMS Point-to-Point download to UICC

The callback returns the TP-User-Data element content of the RP-ACK or
RP-ERROR message, returned by the UICC.

13 years agoTODO: add owner to TTY support
Lucas De Marchi [Mon, 8 Nov 2010 19:07:05 +0000 (17:07 -0200)]
TODO: add owner to TTY support

13 years agoTODO: Add owner to silent modem reset
Gustavo F. Padovan [Mon, 8 Nov 2010 18:58:39 +0000 (16:58 -0200)]
TODO: Add owner to silent modem reset

13 years agoudev: do not use weird serial with zte
Pekka Pessi [Mon, 8 Nov 2010 18:41:24 +0000 (20:41 +0200)]
udev: do not use weird serial with zte

13 years agogprs: NULL-safe ofono_gprs_context_remove()
Pekka Pessi [Mon, 8 Nov 2010 18:41:07 +0000 (20:41 +0200)]
gprs: NULL-safe ofono_gprs_context_remove()

Check for NULL in one place.

13 years agozte: use AT+CFUN=1;+CFUN=4 in enable
Pekka Pessi [Mon, 8 Nov 2010 17:46:57 +0000 (19:46 +0200)]
zte: use AT+CFUN=1;+CFUN=4 in enable

Direct +CFUN transition 0 -> 4 gets SIM in inconsistent state.

13 years agodbus: Use OFONO_ERROR_INTERFACE define
Gustavo F. Padovan [Mon, 8 Nov 2010 17:12:00 +0000 (15:12 -0200)]
dbus: Use OFONO_ERROR_INTERFACE define

Instead of the legacy DBUS_GSM_ERROR_INTERFACE.  The new name is more
generic, which make more sense.

13 years agoAdd vid/pid for Ericsson F5521gw
Torgny Johansson [Mon, 8 Nov 2010 08:48:37 +0000 (09:48 +0100)]
Add vid/pid for Ericsson F5521gw

13 years agoAdded Nokia CS-17 to udev rules.
Hannu Lyytinen [Sat, 6 Nov 2010 19:48:48 +0000 (21:48 +0200)]
Added Nokia CS-17 to udev rules.

The stick has to be initialized with usb_modeswitch, though.

13 years agoFixes segfault when removing Nokia Datacard.
Hannu Lyytinen [Sat, 6 Nov 2010 19:48:47 +0000 (21:48 +0200)]
Fixes segfault when removing Nokia Datacard.

13 years agoRelease 0.35 0.35
Marcel Holtmann [Fri, 5 Nov 2010 18:32:14 +0000 (19:32 +0100)]
Release 0.35

13 years agosim: Check both EFust and EFest for FDN & BDN
Denis Kenzior [Fri, 5 Nov 2010 14:08:52 +0000 (09:08 -0500)]
sim: Check both EFust and EFest for FDN & BDN

We were checking EFest only for whether BDN and FDN were enabled.
According to 31.102 Section 5.3.2 we should be checking both EFust
(availability of the service) and EFest (whether it is enabled)

13 years agosim: Don't read EFest if the file is not available
Denis Kenzior [Fri, 5 Nov 2010 14:05:23 +0000 (09:05 -0500)]
sim: Don't read EFest if the file is not available

13 years agoAUTHORS: Mention Guillaume's contributions
Denis Kenzior [Fri, 5 Nov 2010 13:49:55 +0000 (08:49 -0500)]
AUTHORS: Mention Guillaume's contributions

13 years agosim: use mask for check of sim file status
Guillaume Lucas [Fri, 5 Nov 2010 13:05:05 +0000 (13:05 +0000)]
sim: use mask for check of sim file status

It is the first bit of the sim file status who indicates if a file
is valid or not. So a mask must be used to check this.

13 years agoTODO: Add owner of provide local info task
Yang Gu [Fri, 5 Nov 2010 10:46:42 +0000 (18:46 +0800)]
TODO: Add owner of provide local info task

13 years agoTODO: Mark WAP PUSH task as done
Denis Kenzior [Thu, 4 Nov 2010 16:20:57 +0000 (11:20 -0500)]
TODO: Mark WAP PUSH task as done

13 years agoTODO: Mark Smart Messaging task as done
Denis Kenzior [Thu, 4 Nov 2010 16:19:49 +0000 (11:19 -0500)]
TODO: Mark Smart Messaging task as done

13 years agoTODO: Mark app src / dst port handling task done
Denis Kenzior [Thu, 4 Nov 2010 16:16:13 +0000 (11:16 -0500)]
TODO: Mark app src / dst port handling task done

13 years agosmsutil: Use entire range of ref / port addresses
Denis Kenzior [Thu, 4 Nov 2010 16:09:11 +0000 (11:09 -0500)]
smsutil: Use entire range of ref / port addresses

13 years agosmart-messaging: Implement SendAppointment
Denis Kenzior [Thu, 4 Nov 2010 15:24:23 +0000 (10:24 -0500)]
smart-messaging: Implement SendAppointment

13 years agotest: Add send-vcard script
Denis Kenzior [Thu, 4 Nov 2010 15:20:23 +0000 (10:20 -0500)]
test: Add send-vcard script

13 years agosmart-messaging: Implement SendBusinessCard
Denis Kenzior [Thu, 4 Nov 2010 15:22:32 +0000 (10:22 -0500)]
smart-messaging: Implement SendBusinessCard

13 years agosms: Call the txq_submit queued callback
Denis Kenzior [Thu, 4 Nov 2010 15:22:14 +0000 (10:22 -0500)]
sms: Call the txq_submit queued callback

13 years agosms: Separate history from dbus flags in txq_submit
Denis Kenzior [Thu, 4 Nov 2010 15:21:34 +0000 (10:21 -0500)]
sms: Separate history from dbus flags in txq_submit

13 years agosms: Refactor __ofono_sms_txq_submit
Denis Kenzior [Thu, 4 Nov 2010 03:37:17 +0000 (22:37 -0500)]
sms: Refactor __ofono_sms_txq_submit

13 years agosms: Add __ofono_sms_message_path_from_uuid
Denis Kenzior [Thu, 4 Nov 2010 03:32:45 +0000 (22:32 -0500)]
sms: Add __ofono_sms_message_path_from_uuid

13 years agosms: add __ofono_sms_get_next_ref
Denis Kenzior [Thu, 4 Nov 2010 03:30:02 +0000 (22:30 -0500)]
sms: add __ofono_sms_get_next_ref

13 years agoisigen: increase offline timeout
Pekka Pessi [Thu, 4 Nov 2010 14:20:49 +0000 (16:20 +0200)]
isigen: increase offline timeout

The modem deregisters from network before response to MTC_STATE_REQ is
returned.  Deregistering can take up to 6 seconds.

13 years agobuild: Remove generic AT command modem plugin
Marcel Holtmann [Thu, 4 Nov 2010 14:20:38 +0000 (15:20 +0100)]
build: Remove generic AT command modem plugin

This plugin was used for initial testing and is no longer needed. So
just remove it.

13 years agoMention Marit's contributions
Marcel Holtmann [Thu, 4 Nov 2010 09:41:43 +0000 (10:41 +0100)]
Mention Marit's contributions

13 years agoatmodem: Remove at_pin_send_puk_cb, and use at_pin_send_cb instead.
Marit Henriksen [Thu, 4 Nov 2010 09:16:01 +0000 (10:16 +0100)]
atmodem: Remove at_pin_send_puk_cb, and use at_pin_send_cb instead.

When adding the use of pin event *EPEV also to at_pin_send_puk_cb,
it becomes identical to at_pin_send_cb, and can be removed.

13 years agoTODO: Update Read/Write EFcfis description
Jeevaka Badrappan [Wed, 3 Nov 2010 14:34:57 +0000 (07:34 -0700)]
TODO: Update Read/Write EFcfis description

13 years agosmsutil: Remove traces of ref_offset variable
Denis Kenzior [Tue, 2 Nov 2010 20:56:30 +0000 (15:56 -0500)]
smsutil: Remove traces of ref_offset variable

13 years agosms: Fix unused variable warning
Denis Kenzior [Tue, 2 Nov 2010 20:56:22 +0000 (15:56 -0500)]
sms: Fix unused variable warning

13 years agoofono.conf: Punch hole for SmartMessagingAgent
Denis Kenzior [Tue, 2 Nov 2010 19:54:57 +0000 (14:54 -0500)]
ofono.conf: Punch hole for SmartMessagingAgent

13 years agotest: Add test-smart-messaging
Denis Kenzior [Tue, 2 Nov 2010 19:54:21 +0000 (14:54 -0500)]
test: Add test-smart-messaging

13 years agosmart-messaging: Register to vCal notifications
Denis Kenzior [Tue, 2 Nov 2010 19:49:11 +0000 (14:49 -0500)]
smart-messaging: Register to vCal notifications

13 years agosmart-messaging: Register for vCard notifications
Denis Kenzior [Tue, 2 Nov 2010 19:46:46 +0000 (14:46 -0500)]
smart-messaging: Register for vCard notifications

13 years agosmart-messaging: Free agent when sms atom exits
Denis Kenzior [Tue, 2 Nov 2010 19:35:49 +0000 (14:35 -0500)]
smart-messaging: Free agent when sms atom exits

13 years agosmart-messaging: Implement unregister agent
Denis Kenzior [Tue, 2 Nov 2010 19:34:18 +0000 (14:34 -0500)]
smart-messaging: Implement unregister agent

13 years agosmart-messaging: Implement RegisterAgent
Denis Kenzior [Tue, 2 Nov 2010 18:47:12 +0000 (13:47 -0500)]
smart-messaging: Implement RegisterAgent

13 years agosmsutil: Add sms_datagram_prepare
Denis Kenzior [Tue, 2 Nov 2010 18:40:03 +0000 (13:40 -0500)]
smsutil: Add sms_datagram_prepare

13 years agosms: Update to the new smsutil api
Denis Kenzior [Tue, 2 Nov 2010 18:39:50 +0000 (13:39 -0500)]
sms: Update to the new smsutil api

13 years agounit: Update test-sms to the new API
Denis Kenzior [Tue, 2 Nov 2010 18:39:05 +0000 (13:39 -0500)]
unit: Update test-sms to the new API

13 years agosmsutil: Get rid of ref_offset in sms_text_prepare
Denis Kenzior [Tue, 2 Nov 2010 18:37:29 +0000 (13:37 -0500)]
smsutil: Get rid of ref_offset in sms_text_prepare

The reason for this parameter has ceased to exist quite a while ago.
Namely when the API allowed multiple SMS recipients.  We prepared a
single set of segments and then reset the to address and reference.  We
no longer allow multiple recipients and none of this is now needed.

13 years agocoding_style: Add case for enum as switch variable
Yang Gu [Tue, 2 Nov 2010 14:21:37 +0000 (22:21 +0800)]
coding_style: Add case for enum as switch variable

13 years agocoding_style: Fix enum name
Yang Gu [Tue, 2 Nov 2010 14:21:36 +0000 (22:21 +0800)]
coding_style: Fix enum name

13 years agotest: Add test-push-notification script
Denis Kenzior [Tue, 2 Nov 2010 15:52:30 +0000 (10:52 -0500)]
test: Add test-push-notification script

13 years agosms: Don't crash when encoding fails
Denis Kenzior [Tue, 2 Nov 2010 15:50:03 +0000 (10:50 -0500)]
sms: Don't crash when encoding fails

13 years agosmsutil: Additional sanity checks for decode_scts
Denis Kenzior [Tue, 2 Nov 2010 15:48:44 +0000 (10:48 -0500)]
smsutil: Additional sanity checks for decode_scts

13 years agoofono.conf: Punch hole for PushNotificationAgent
Denis Kenzior [Tue, 2 Nov 2010 15:45:57 +0000 (10:45 -0500)]
ofono.conf: Punch hole for PushNotificationAgent

13 years agopush-notification: Handle WAP push messages
Denis Kenzior [Mon, 1 Nov 2010 15:59:44 +0000 (10:59 -0500)]
push-notification: Handle WAP push messages

13 years agosms: Minor style fix
Denis Kenzior [Mon, 1 Nov 2010 15:24:29 +0000 (10:24 -0500)]
sms: Minor style fix

13 years agosms: Left shift 8-bit ports by 16
Denis Kenzior [Mon, 1 Nov 2010 15:19:10 +0000 (10:19 -0500)]
sms: Left shift 8-bit ports by 16

These are less commonly used so make them not interfere with 16 bit
ports

13 years agopush-notification: Free agent when sms atom exits
Denis Kenzior [Mon, 1 Nov 2010 15:13:59 +0000 (10:13 -0500)]
push-notification: Free agent when sms atom exits

13 years agopush-notification: Implement unregister agent
Denis Kenzior [Mon, 1 Nov 2010 15:04:39 +0000 (10:04 -0500)]
push-notification: Implement unregister agent

13 years agopush-notification: Implement register agent
Denis Kenzior [Mon, 1 Nov 2010 14:51:57 +0000 (09:51 -0500)]
push-notification: Implement register agent

13 years agopush-notification: Add skeleton
Denis Kenzior [Fri, 29 Oct 2010 19:45:31 +0000 (14:45 -0500)]
push-notification: Add skeleton