Pekka Pessi [Wed, 20 Oct 2010 16:44:54 +0000 (19:44 +0300)]
isi: fix SMS
Read absence/presence flags from correct field.
Try to avoid overwriting other SMS parameters but SCA address.
Use g_isi_(v)send().
Pekka Pessi [Wed, 20 Oct 2010 17:08:29 +0000 (20:08 +0300)]
isi: fix hangup_active and set_udub methods
The concept of "active" call seems to be overloaded.
Denis Kenzior [Wed, 20 Oct 2010 17:50:51 +0000 (12:50 -0500)]
voicecall: Document driver methods
Aki Niemi [Wed, 20 Oct 2010 14:29:42 +0000 (17:29 +0300)]
isimodem: Fix setting SCA type
Marcel Holtmann [Wed, 20 Oct 2010 11:55:20 +0000 (13:55 +0200)]
atmodem: Decode and report time information from network
Marcel Holtmann [Wed, 20 Oct 2010 11:27:04 +0000 (13:27 +0200)]
atmodem: Add skeleton for time update reporting
Marcel Holtmann [Wed, 20 Oct 2010 09:57:22 +0000 (11:57 +0200)]
ifxmodem: Signal STK session end only after normal ending of command
The Infineon modem returns more detailed information of the SIM Toolkit
proactive sessions to the modem driver. A proactive session starts with
the status response '91 xx' (proactive command pending) and ends with a
status response response of '90 00' (normal ending of command) after
Terminal Response.
So only when receiving '90 00' result, the indication that the session
has ended should be given to the core.
Marcel Holtmann [Tue, 19 Oct 2010 20:59:21 +0000 (22:59 +0200)]
ifx: Wait for DLC creation to settle (internal multiplexer)
When driving the Infineon modem with the builtin multiplexer there is
a small race condition with setting up the channels and sending the
first AT commands. The window here is pretty small, but it seems to be
a modem firmware issue. In case the AT command is send right away it can
happen that the modem does not process any further AT commands. In that
case the setup is stuck and enabling the modem fails.
Just adding a 10 milliseconds delay after DLC creation and before
sending the first AT commands is enough to make this work smoothly.
Denis Kenzior [Tue, 19 Oct 2010 19:20:57 +0000 (14:20 -0500)]
sim: Read EFust and EFest after phase is known
Denis Kenzior [Tue, 19 Oct 2010 19:07:11 +0000 (14:07 -0500)]
simfs: Don't cache if phase is unknown
Denis Kenzior [Tue, 19 Oct 2010 19:06:52 +0000 (14:06 -0500)]
sim: Fix setting the correct phase from EFphase
Marcel Holtmann [Tue, 19 Oct 2010 18:42:29 +0000 (20:42 +0200)]
phonesim: Add missing ATE0 when in multiplexer mode
Denis Kenzior [Tue, 19 Oct 2010 17:09:30 +0000 (12:09 -0500)]
common: Fix mmi code to bearer class mappings
MMI services 22, 21, 20 and 26 were mapped incorrectly. See the comment
in the code for more information and the thread 'Call Barring and MMI
Supplementary Service codes' on the oFono mailing list.
Marcel Holtmann [Tue, 19 Oct 2010 16:50:06 +0000 (18:50 +0200)]
phonesim: Fix multiplexer setup handling and modem power
Marcel Holtmann [Tue, 19 Oct 2010 16:49:07 +0000 (18:49 +0200)]
gatchat: Add support for skipping AT+CMUX speed parameter
Aki Niemi [Tue, 19 Oct 2010 08:28:06 +0000 (11:28 +0300)]
isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
Marcel Holtmann [Tue, 19 Oct 2010 10:16:13 +0000 (12:16 +0200)]
ifxmodem: Fix missing result iter init call for SIM Toolkit
Marcel Holtmann [Tue, 19 Oct 2010 09:56:45 +0000 (11:56 +0200)]
ifxmodem: Enable SIM Toolkit with AT+CFUN=6
The current Infineon firmware overloads the AT+CFUN command with
enabling SIM Toolkit and fetching of proactive commands. It seems
to be safe to send this command in offline mode (AT+CFUN=4) and
also in online mode (AT+CFUN=1). These are the two cases where
SIM Toolkit atom would be initialized.
Rajesh Kadhiravan Nagaiah [Tue, 19 Oct 2010 07:23:41 +0000 (00:23 -0700)]
TODO: Add CDMA support to SMS stack
Marcel Holtmann [Mon, 18 Oct 2010 19:11:23 +0000 (21:11 +0200)]
Release 0.32
Marcel Holtmann [Sat, 16 Oct 2010 10:26:26 +0000 (13:26 +0300)]
atmodem: Add SIM ready quirk for IFX when entering PUK
For the Infineon modem, also the PUK entering needs to be extended with
a quirk to wait for the SIM ready notification.
Marcel Holtmann [Sun, 17 Oct 2010 12:50:45 +0000 (14:50 +0200)]
ifx: Separate AT command from multiplexer debug setting
Marcel Holtmann [Sat, 16 Oct 2010 22:00:02 +0000 (00:00 +0200)]
test: Fix script for enabling delivery reports
Denis Kenzior [Fri, 15 Oct 2010 13:00:19 +0000 (08:00 -0500)]
TODO: Reset PPP Server task owner
Alexander Kanavin [Fri, 15 Oct 2010 11:53:01 +0000 (14:53 +0300)]
doc: update the supplementary services docs
Document the various SS control string related APIs
Marcel Holtmann [Fri, 15 Oct 2010 13:07:51 +0000 (16:07 +0300)]
atmodem: Remove workaround for SIM ready notifier removal
Denis Kenzior [Fri, 15 Oct 2010 12:25:50 +0000 (07:25 -0500)]
sim: Use enums for EF valid / invalidated status
Denis Kenzior [Fri, 15 Oct 2010 12:05:37 +0000 (07:05 -0500)]
common: Update the basic services in comments
Denis Kenzior [Fri, 15 Oct 2010 11:26:34 +0000 (06:26 -0500)]
sim: Fix crash on sim re-insertion
Denis Kenzior [Fri, 15 Oct 2010 11:26:28 +0000 (06:26 -0500)]
simfs: Make compile
Denis Kenzior [Fri, 15 Oct 2010 08:59:31 +0000 (03:59 -0500)]
doc: Cleanup the sim-api doc
Petteri Tikander [Thu, 14 Oct 2010 21:02:55 +0000 (00:02 +0300)]
doc: update sim-api
Fixed Dialing is not supported. New property added
to indicate FD-enable status in the SIM-card.
Petteri Tikander [Thu, 14 Oct 2010 21:02:52 +0000 (00:02 +0300)]
isimodem: returns file-status of SIM EF-file
Petteri Tikander [Thu, 14 Oct 2010 21:02:51 +0000 (00:02 +0300)]
atmodem: returns file-status of SIM EF-file
Petteri Tikander [Thu, 14 Oct 2010 21:02:50 +0000 (00:02 +0300)]
sim: add new parameter to file-info utility
Denis Kenzior [Fri, 15 Oct 2010 07:14:45 +0000 (02:14 -0500)]
simutil: Remove unneeded enum
Petteri Tikander [Thu, 14 Oct 2010 21:02:49 +0000 (00:02 +0300)]
simutil: response-handler returns now also file-status
Denis Kenzior [Thu, 14 Oct 2010 14:41:09 +0000 (09:41 -0500)]
gatchat: Fix calling unregister from callbacks
This fixes the issues with SIM hotswap on infineon
Denis Kenzior [Thu, 14 Oct 2010 12:50:43 +0000 (07:50 -0500)]
TODO: Mark SIM icon tasks as done
Denis Kenzior [Thu, 14 Oct 2010 12:21:55 +0000 (07:21 -0500)]
gatchat: break out the remove_if logic
And make unregister_group use the new function
Denis Kenzior [Thu, 14 Oct 2010 11:58:53 +0000 (06:58 -0500)]
gatchat: quit early if the group id doesn't match
If the ID of the notify matches but the group id does not match it means
that the unregister is being called with an id that does not belong to
that particular group. Checking further entries is no longer necessary.
Aki Niemi [Thu, 14 Oct 2010 12:37:37 +0000 (15:37 +0300)]
Fix style problem
Aki Niemi [Thu, 14 Oct 2010 12:29:58 +0000 (15:29 +0300)]
gisi: Fix copyright and license boilerplate
Aki Niemi [Fri, 1 Oct 2010 14:24:28 +0000 (17:24 +0300)]
sms: Implement text and datagram watch
Allow setting a watch for incoming text and datagram messages on the
sms atom.
Aki Niemi [Thu, 14 Oct 2010 07:50:08 +0000 (10:50 +0300)]
isimodem: Fix copyright and license boilerplate
Aki Niemi [Thu, 14 Oct 2010 07:40:37 +0000 (10:40 +0300)]
isimodem: Fix SMSC address update request
Petteri Tikander [Tue, 12 Oct 2010 15:18:12 +0000 (18:18 +0300)]
simutil: add ID of EFadn
Denis Kenzior [Thu, 14 Oct 2010 09:17:06 +0000 (04:17 -0500)]
stk: Add a debug to print the handled command type
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:16 +0000 (15:54 +0200)]
API for STK driver to signal executed commands
Some modems are able to handle some proactive commands in their
firmware or otherwise, if the command doesn't require input from user.
Nevertheles ofono may need to update internal state or notify the user
where necessary. With this api the driver can notify core that a
command is being executed in the modem or that a command is finished
executing and the TERMINAL RESPONSE has been sent to SIM. It would
also be possible for a driver to handle a command.
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:14 +0000 (15:54 +0200)]
stkagent: Add PlayTone and LoopTone requests
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:12 +0000 (15:54 +0200)]
stk: Simplify and add icon to alphaId api
The assumption is now that stk_alpha_id_set will handle NULL
or empty alphaIds or icons.
Denis Kenzior [Thu, 14 Oct 2010 07:45:05 +0000 (02:45 -0500)]
stk: Make the stk properties not optional
Denis Kenzior [Thu, 14 Oct 2010 07:58:07 +0000 (02:58 -0500)]
stkagent: Handle NULL items in append_menu_items
Denis Kenzior [Thu, 14 Oct 2010 07:44:32 +0000 (02:44 -0500)]
doc: Update the properties to be readonly
This also implies that none of these properties are optional
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:11 +0000 (15:54 +0200)]
stk: IdleModeIcon and MainMenuIcon properties
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:05 +0000 (15:54 +0200)]
stk: Rename sms_submit_req to extern_req
Denis Kenzior [Thu, 14 Oct 2010 06:36:08 +0000 (01:36 -0500)]
doc: Remove unused property
Denis Kenzior [Thu, 14 Oct 2010 06:21:10 +0000 (01:21 -0500)]
stk: Reflow stk_menu_create slightly
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:10 +0000 (15:54 +0200)]
stk: Add icon ID information in stk_menu
Denis Kenzior [Thu, 14 Oct 2010 06:07:44 +0000 (01:07 -0500)]
phonesim: minor whitespace fix
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:09 +0000 (15:54 +0200)]
stk: Pass icon IDs in stk agent request parameters
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:08 +0000 (15:54 +0200)]
doc: Add STK properties relevant for icons.
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:07 +0000 (15:54 +0200)]
doc: Update property name to match code.
Luiz Augusto von Dentz [Wed, 13 Oct 2010 12:06:46 +0000 (15:06 +0300)]
gdbus: fix not handling bus disconnects
We where not dispatching data when a bus disconnects which cause
Disconnected signal to not be processed and thus causing the process to
either not exit or to not trigger callbacks registered with
g_dbus_set_disconnect_function.
To fix this now we always schedule a dispatch which will make sure data
still not processed will make its way to the proper handlers even if
disconnected.
Torgny Johansson [Tue, 12 Oct 2010 12:41:03 +0000 (14:41 +0200)]
ofono.rules: Add additional MBM rules
Add Ericsson c3607w and HP f3607gw/f3307 devices to udev rules file
Denis Kenzior [Wed, 13 Oct 2010 13:41:41 +0000 (08:41 -0500)]
sim: Refactor iidf reading
Get rid of image_data since it can lead to potential memory leaks when
sim is removed while the IIDF operations are in progress.
Denis Kenzior [Wed, 13 Oct 2010 09:02:58 +0000 (04:02 -0500)]
test: Update get-icon to the new API
Denis Kenzior [Wed, 13 Oct 2010 09:01:32 +0000 (04:01 -0500)]
sim: Use ay return signature for GetIcon
Denis Kenzior [Wed, 13 Oct 2010 09:01:05 +0000 (04:01 -0500)]
doc: Update sim-api.txt with GetIcon
Denis Kenzior [Wed, 13 Oct 2010 07:55:04 +0000 (02:55 -0500)]
simfs: Also clean out image files
When cleaning cache
Denis Kenzior [Wed, 13 Oct 2010 07:41:53 +0000 (02:41 -0500)]
test: Add get-icon script
Denis Kenzior [Wed, 13 Oct 2010 07:38:11 +0000 (02:38 -0500)]
simfs: Fix the number of bytes copied
In block reading operations we read too much when the number of bytes to
read is smaller than the size of the file.
Denis Kenzior [Wed, 13 Oct 2010 07:37:59 +0000 (02:37 -0500)]
simfs: Add some debug statements
Denis Kenzior [Tue, 12 Oct 2010 02:40:52 +0000 (21:40 -0500)]
huawei: Fixup whitespace corruption
Denis Kenzior [Tue, 12 Oct 2010 02:38:26 +0000 (21:38 -0500)]
simfs: Move buffer back to the op structure
This was causing problems when multiple sim writes were being issued
(and thus bug #8265).
Denis Kenzior [Tue, 12 Oct 2010 01:45:27 +0000 (20:45 -0500)]
simfs: Reflow to get rid of unnecessary label
Denis Kenzior [Tue, 12 Oct 2010 01:42:07 +0000 (20:42 -0500)]
sim: Use g_dbus_create_reply
Instead of compound statements
Denis Kenzior [Tue, 12 Oct 2010 01:40:16 +0000 (20:40 -0500)]
sim: Don't re-check for id != 0
We already check the id is valid in the get_icon function, there's no
reason to re-check it.
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:22 +0000 (15:33 -0700)]
simutil: add file type for EFimg
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:20 +0000 (15:33 -0700)]
sim: implement GetIcon
Denis Kenzior [Tue, 12 Oct 2010 01:14:24 +0000 (20:14 -0500)]
simfs: Group lines logically
Denis Kenzior [Tue, 12 Oct 2010 01:14:04 +0000 (20:14 -0500)]
simfs: If buffer alloc fails, error out
Denis Kenzior [Tue, 12 Oct 2010 01:13:08 +0000 (20:13 -0500)]
simfs: Don't try to read image cache imsi is null
Denis Kenzior [Tue, 12 Oct 2010 01:12:26 +0000 (20:12 -0500)]
simfs: Make image cache logic a bit easier to read
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:19 +0000 (15:33 -0700)]
simfs: cache images
Marcel Holtmann [Wed, 13 Oct 2010 05:38:43 +0000 (08:38 +0300)]
ifx: Disable modem UART for power saving
Send AT+XPOW=0,0,0 command when enabling modem to disable UART. This
is done for power saving.
Marcel Holtmann [Wed, 13 Oct 2010 05:25:59 +0000 (08:25 +0300)]
atmodem: Send DTMF commands without quotes
The AT+VTS command takes a single character and should not use quotes.
Marcel Holtmann [Wed, 13 Oct 2010 05:24:13 +0000 (08:24 +0300)]
ifxmodem: Send DTMF commands without quotes
The AT+VTS command takes a single character and should not use quotes.
Aki Niemi [Mon, 11 Oct 2010 12:56:15 +0000 (15:56 +0300)]
Fix smart messaging D-Bus signatures
Aki Niemi [Mon, 11 Oct 2010 12:56:00 +0000 (15:56 +0300)]
Fix smart messaging documentation
Aki Niemi [Mon, 11 Oct 2010 12:41:41 +0000 (15:41 +0300)]
isigen: Add dummy ops for enable/disable
Without these the core gets confused. These are actually no-ops, since
enabling and disabling aren't supported with a USB modem.
Pekka Pessi [Wed, 6 Oct 2010 14:52:19 +0000 (17:52 +0300)]
voicecall: check g_try_new0 return value
Pekka Pessi [Wed, 6 Oct 2010 14:52:18 +0000 (17:52 +0300)]
voicecall: remove dial_request_finish() cb param
There is no need for callback param anymore.
Pekka Pessi [Wed, 6 Oct 2010 14:52:17 +0000 (17:52 +0300)]
voicecall: Check dial requests in voicecall_is_busy
Return true if a call is being dialed by stk.
Use __ofono_voicecall_is_busy() in __ofono_voicecall_dial().
Pekka Pessi [Wed, 6 Oct 2010 14:52:16 +0000 (17:52 +0300)]
ussd: pass call_in_progress to valid_ussd_string
Query the voicecall atom whether a call is in progress and pass this
information along to valid_ussd_string.
Pekka Pessi [Wed, 6 Oct 2010 14:52:16 +0000 (17:52 +0300)]
common: fixup logic of valid_ussd_string()
The logic of valid_ussd_string was not quite correct as it didn't take
care of size 1 USSD strings. In addition, call_in_progress parameter is
passed in to take care of size 2 USSD strings which might start with a
'1' according to the rules of 22.030.
The comment about USSD routing is removed, it is out of scope of oFono.
The cellular network routes the USSD requests based on the rules laid
out in the 22.090, however, any string that can be encoded according to
the rules of 23.030 is valid USSD.
Pekka Pessi [Fri, 8 Oct 2010 15:39:17 +0000 (18:39 +0300)]
TODO: long phone numbers
Pekka Pessi [Mon, 4 Oct 2010 13:11:05 +0000 (15:11 +0200)]
udev: refactor add_isi
Gather OFONO_ISI_ADDRESS from same udev device node as OFONO_DRIVER.
Pekka Pessi [Mon, 4 Oct 2010 13:11:04 +0000 (15:11 +0200)]
udev: do not use post-143 libudev features
There is no udev_device_get_property_value() in libudev version 143.
Alexander Kanavin [Thu, 7 Oct 2010 10:50:55 +0000 (13:50 +0300)]
Fix COLR typo