platform/upstream/ofono.git
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

13 years agosmsagent: Add smsagent implementation
Denis Kenzior [Fri, 29 Oct 2010 19:24:27 +0000 (14:24 -0500)]
smsagent: Add smsagent implementation

Based on the patches by Aki Niemi

13 years agoTODO: update owner of see/cancel pending SMS task
Yang Gu [Mon, 1 Nov 2010 09:09:21 +0000 (17:09 +0800)]
TODO: update owner of see/cancel pending SMS task

13 years agomain: add capabilities for phonet
Mika Liljeberg [Mon, 1 Nov 2010 15:53:02 +0000 (17:53 +0200)]
main: add capabilities for phonet

Phonet sockets require CAP_SYS_ADMIN and SO_BINDTODEVICE socket
option requires CAP_NET_RAW.

13 years agoisigen: fix phonet address initialization
Mika Liljeberg [Mon, 1 Nov 2010 15:53:01 +0000 (17:53 +0200)]
isigen: fix phonet address initialization

13 years agoRelease 0.34 0.34
Marcel Holtmann [Mon, 1 Nov 2010 13:56:22 +0000 (14:56 +0100)]
Release 0.34

13 years agostemodem: Fix broken coding style
Marcel Holtmann [Sat, 30 Oct 2010 17:09:59 +0000 (19:09 +0200)]
stemodem: Fix broken coding style

13 years agoTODO: Owner of Read / Write EFcfis
Jeevaka Badrappan [Fri, 29 Oct 2010 06:13:43 +0000 (09:13 +0300)]
TODO: Owner of Read / Write EFcfis

13 years agoifxmodem: Enable emergency call state notifications
Marcel Holtmann [Fri, 29 Oct 2010 11:56:09 +0000 (13:56 +0200)]
ifxmodem: Enable emergency call state notifications

This enables the Infineon specific emergency call state notifications so
that they show up in the traces when this happens. No logic to handle
them properly is implemented.

13 years agoifx: Enable vendor quirk for GPRS atom
Marcel Holtmann [Fri, 29 Oct 2010 11:42:34 +0000 (13:42 +0200)]
ifx: Enable vendor quirk for GPRS atom

Enabling the Infineon specific vendor quirk for the GPRS atom will enable
support for the GPRS suspend notifications.

13 years agoatmodem: Add support for IFX specific GPRS suspend notification
Marcel Holtmann [Fri, 29 Oct 2010 11:39:27 +0000 (13:39 +0200)]
atmodem: Add support for IFX specific GPRS suspend notification

The Infineon modem informs about GPRS suspend cases. For example when
GPRS is active and a call is made. If the status changes, inform the
core about this change.

This uses GPRS_SUSPENDED_UNKNOWN_CAUSE reason since the modem does not
give a clear reason why GPRS was suspended. With this reason there is
a delay before the status change gets send out as D-Bus signal.

13 years agoatmodem: Add dummy handler for generic time zone update
Marcel Holtmann [Thu, 28 Oct 2010 17:11:18 +0000 (19:11 +0200)]
atmodem: Add dummy handler for generic time zone update

13 years agoatmodem: Time reporting on Infineon modem is IFX specific
Marcel Holtmann [Thu, 28 Oct 2010 17:05:29 +0000 (19:05 +0200)]
atmodem: Time reporting on Infineon modem is IFX specific

The time reporting via +CTZV and +CTZDST on the Infineon modem is not
following the standard. So mark these clearly as IFX specific.

13 years agoatmodem: Enable home zone reporting for IFX modems
Marcel Holtmann [Thu, 28 Oct 2010 17:01:55 +0000 (19:01 +0200)]
atmodem: Enable home zone reporting for IFX modems

For the Infineon modem the AT+XHOMEZR option can be set to get informed
about home zone labels. If this information is available, it it still
not properly used, but it shows up in the traces for reference.

13 years agoifxmodem: Enable Calling Name Presentation (CNAP) notifications
Marcel Holtmann [Thu, 28 Oct 2010 16:10:15 +0000 (18:10 +0200)]
ifxmodem: Enable Calling Name Presentation (CNAP) notifications

This enables the CNAP notifications so that they show up in the traces
if used by a network. No logic is implemented to handle them.

13 years agofeatures: Annotate modem-handled commands
Denis Kenzior [Thu, 28 Oct 2010 15:42:59 +0000 (10:42 -0500)]
features: Annotate modem-handled commands

13 years agoTODO: Mark Send USSD task as done
Denis Kenzior [Thu, 28 Oct 2010 15:41:17 +0000 (10:41 -0500)]
TODO: Mark Send USSD task as done

13 years agoTODO: Mark Send SS task as done
Denis Kenzior [Thu, 28 Oct 2010 15:37:27 +0000 (10:37 -0500)]
TODO: Mark Send SS task as done

13 years agostk: Handle Send SS in handled_notify
Denis Kenzior [Thu, 28 Oct 2010 15:37:05 +0000 (10:37 -0500)]
stk: Handle Send SS in handled_notify

13 years agoTODO: Add Provide Local Information command task
Denis Kenzior [Thu, 28 Oct 2010 14:19:37 +0000 (09:19 -0500)]
TODO: Add Provide Local Information command task

13 years agoTODO: mark fast dormancy as done
Mika Liljeberg [Tue, 26 Oct 2010 15:31:53 +0000 (18:31 +0300)]
TODO: mark fast dormancy as done

13 years agoisimodem: add support for FastDormancy property
Mika Liljeberg [Tue, 26 Oct 2010 15:31:52 +0000 (18:31 +0300)]
isimodem: add support for FastDormancy property

13 years agotest: add script to control fast dormancy
Mika Liljeberg [Tue, 26 Oct 2010 15:31:51 +0000 (18:31 +0300)]
test: add script to control fast dormancy

13 years agoradio-settings: Don't check for cached
Denis Kenzior [Thu, 28 Oct 2010 03:16:57 +0000 (22:16 -0500)]
radio-settings: Don't check for cached

Checking for this flag does not have the desired effect, or rather it
has other side-effects (e.g. setting the property twice before
GetProperties).  oFono discourages spurious signal emission.

13 years agoradio-settings: Add extra newlines
Denis Kenzior [Thu, 28 Oct 2010 01:32:02 +0000 (20:32 -0500)]
radio-settings: Add extra newlines

To be compliant with the coding style

13 years agoradio settings: add FastDormancy property
Mika Liljeberg [Tue, 26 Oct 2010 15:31:50 +0000 (18:31 +0300)]
radio settings: add FastDormancy property

13 years agoFix string array memory leaks during plugin loading
Johan Hedberg [Wed, 27 Oct 2010 20:21:05 +0000 (16:21 -0400)]
Fix string array memory leaks during plugin loading

13 years agoTODO: Remove SOCKS5 proxy task
Marcel Holtmann [Wed, 27 Oct 2010 23:15:29 +0000 (01:15 +0200)]
TODO: Remove SOCKS5 proxy task

The setup of GRPS context for MMS and its proxy configuration is now
done with host routes and dedicated interfaces. The need for a SOCKS5
proxy is no longer there.

The on-demand context activation can be considered a security risk
and activation via D-Bus method calls is easier to control in a
secure fashion. So this is not needed either.

13 years agogprs-context: Replace TYPE_INVALID with TYPE_ANY
Denis Kenzior [Wed, 27 Oct 2010 17:39:46 +0000 (12:39 -0500)]
gprs-context: Replace TYPE_INVALID with TYPE_ANY

13 years agoifxmodem: Notify core about handled commands
Denis Kenzior [Wed, 27 Oct 2010 17:23:26 +0000 (12:23 -0500)]
ifxmodem: Notify core about handled commands

13 years agombmmodem: Notify core about handled commands
Denis Kenzior [Wed, 27 Oct 2010 17:20:37 +0000 (12:20 -0500)]
mbmmodem: Notify core about handled commands

13 years agocalypsomodem: Notify core about handled commands
Denis Kenzior [Wed, 27 Oct 2010 17:13:34 +0000 (12:13 -0500)]
calypsomodem: Notify core about handled commands

13 years agostk: Remove ofono_stk_terminal_response_sent_notify
Denis Kenzior [Wed, 27 Oct 2010 17:10:17 +0000 (12:10 -0500)]
stk: Remove ofono_stk_terminal_response_sent_notify

Not needed for now.  We can always put this back in later if need be.

13 years agostk: Handle more commands in handled_notify
Andrzej Zaborowski [Tue, 26 Oct 2010 08:52:05 +0000 (10:52 +0200)]
stk: Handle more commands in handled_notify

13 years agogprs: Use common function for default name of default Internet context
Marcel Holtmann [Wed, 27 Oct 2010 16:14:50 +0000 (18:14 +0200)]
gprs: Use common function for default name of default Internet context