Andrzej Zaborowski [Fri, 16 Oct 2009 22:45:15 +0000 (00:45 +0200)]
Parse +CUSD responses.
Denis Kenzior [Fri, 16 Oct 2009 21:25:19 +0000 (16:25 -0500)]
Fix: Stop crashing when unrefing chat in callback
Marcel Holtmann [Fri, 16 Oct 2009 20:18:31 +0000 (22:18 +0200)]
Release 0.8
Denis Kenzior [Fri, 16 Oct 2009 18:19:11 +0000 (13:19 -0500)]
Fix: Don't return NULL if message is empty
Empty SMS messages are in sms_decode_text are returned as NULL, e.g.
error. This shouldn't be the case, empty messages should be reported
and signaled.
Denis Kenzior [Fri, 16 Oct 2009 18:07:35 +0000 (13:07 -0500)]
Mention Marko's contribution
Andrzej Zaborowski [Mon, 12 Oct 2009 20:43:04 +0000 (22:43 +0200)]
Fix: Skip over empty messages
Andrzej Zaborowski [Mon, 12 Oct 2009 20:41:35 +0000 (22:41 +0200)]
Fix: Emit debug message instead of an error
SMS storage is frequently empty at startup, if this is the case, do not
use ofono_error, use ofono_debug instead.
Andrzej Zaborowski [Mon, 12 Oct 2009 20:39:47 +0000 (22:39 +0200)]
Always return a string from telephony_error_to_str.
So that it can be used as a printf argument directly.
Andrzej Zaborowski [Mon, 12 Oct 2009 20:37:14 +0000 (22:37 +0200)]
Refactor: Move network registration status utils
Move the status to string functions to common.c so that they can be
reused in data connection related network registration code.
Andrzej Zaborowski [Fri, 16 Oct 2009 17:44:36 +0000 (19:44 +0200)]
Fix: Free converted string after use.
Also make sure we don't read beyond end of the string.
Marko Saukko [Fri, 16 Oct 2009 09:47:48 +0000 (12:47 +0300)]
API: Documentation fixes
Aki Niemi [Fri, 16 Oct 2009 11:02:27 +0000 (14:02 +0300)]
Fix conditional statement
Aki Niemi [Fri, 16 Oct 2009 08:26:15 +0000 (11:26 +0300)]
Fix: restrict keyword use breaking distcheck
Pekka Pessi [Fri, 9 Oct 2009 14:45:37 +0000 (17:45 +0300)]
isimodem/voicecall.c: initial version
Implementing all the voicecall methods. Tested with Nokia 2008 modems.
- problems in call creation are probably not reported properly
- deflect not implemented in modem, not properly tested
TODO: Clean up style issues and align with other drivers.
Aki Niemi [Thu, 15 Oct 2009 12:13:16 +0000 (15:13 +0300)]
Refactor sub-sub-block handling
Denis Kenzior [Thu, 15 Oct 2009 20:57:12 +0000 (15:57 -0500)]
Setup better debugging information for calypso
Denis Kenzior [Thu, 15 Oct 2009 20:56:48 +0000 (15:56 -0500)]
Fix: Quiet a warning on some compilers
Denis Kenzior [Thu, 15 Oct 2009 03:30:31 +0000 (22:30 -0500)]
Multiplexer support for OpenMoko device
Denis Kenzior [Wed, 14 Oct 2009 22:00:20 +0000 (17:00 -0500)]
Fix: Do not leak chat memory
Denis Kenzior [Wed, 14 Oct 2009 21:57:21 +0000 (16:57 -0500)]
Fix: Do not leak chat references in case of error
Denis Kenzior [Wed, 14 Oct 2009 21:34:59 +0000 (16:34 -0500)]
Fix: Cleanup debug formats
Denis Kenzior [Wed, 14 Oct 2009 21:34:35 +0000 (16:34 -0500)]
Fix: Do not send shutdown more than once
Denis Kenzior [Wed, 14 Oct 2009 21:03:36 +0000 (16:03 -0500)]
Fix: Be more paranoid in checking DLC validity
Denis Kenzior [Wed, 14 Oct 2009 20:54:10 +0000 (15:54 -0500)]
Update unit tests for GSM 07.10 implementation
Denis Kenzior [Wed, 14 Oct 2009 20:50:55 +0000 (15:50 -0500)]
Refactor: Add driver model to GAtMux
GAtMux can now be made to work with multiple multiplexing protocols.
Currently on the 27.010 (07.10) Advanced and Basic modes are supported.
However, further protocol support can be added by providing the
necessary driver functions for GAtMux
Denis Kenzior [Wed, 14 Oct 2009 18:28:17 +0000 (13:28 -0500)]
Fix: Quiet compiler warning
Denis Kenzior [Mon, 12 Oct 2009 21:00:44 +0000 (16:00 -0500)]
Forgot to add void* to get_data
Denis Kenzior [Mon, 12 Oct 2009 20:40:31 +0000 (15:40 -0500)]
Forgot to add driverdata functions
Denis Kenzior [Mon, 12 Oct 2009 20:31:44 +0000 (15:31 -0500)]
Refactor: Enable multiplexer drivers for GAtMux
Denis Kenzior [Mon, 12 Oct 2009 16:56:41 +0000 (11:56 -0500)]
Fix: Notify sources upon shutdown
Denis Kenzior [Mon, 12 Oct 2009 03:36:23 +0000 (22:36 -0500)]
Update unit test for the new API
Denis Kenzior [Mon, 12 Oct 2009 03:35:49 +0000 (22:35 -0500)]
Add mux setup step to phonesim plugin
Denis Kenzior [Mon, 12 Oct 2009 03:34:31 +0000 (22:34 -0500)]
Add ability to open/close multiple DLCs
Denis Kenzior [Fri, 9 Oct 2009 22:17:03 +0000 (17:17 -0500)]
Fixup unit test to the new API
Denis Kenzior [Fri, 9 Oct 2009 22:15:58 +0000 (17:15 -0500)]
Refactor: Add convenience method to start 0710 MUX
Use an existing GAtChat that has been setup appropriately to conver the
channel into a MUX
Denis Kenzior [Fri, 9 Oct 2009 19:57:14 +0000 (14:57 -0500)]
Add ability to retrieve the atchat IOChannel
Denis Kenzior [Fri, 9 Oct 2009 19:32:59 +0000 (14:32 -0500)]
Remove more unused code
Aki Niemi [Wed, 14 Oct 2009 19:15:10 +0000 (22:15 +0300)]
gisi: Add getter for sub-block data
Also fix indentation and change int->unsigned in the API.
Alexander Kanavin [Thu, 8 Oct 2009 15:44:44 +0000 (18:44 +0300)]
Add isimodem drivers for call barring, forwarding and waiting
Pekka Pessi [Thu, 8 Oct 2009 16:47:15 +0000 (19:47 +0300)]
Refactor subblock iterators.
Always initialize iterators.
Try to avoid pointer arithmetics on NULL; in other words, move all pointer
arithmetics inside g_isi_sb_iter_init().
There are 4 different ways for representing sub blocks in ISI message:
- 8-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 8-bit sub_blocks count, 16-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 16-bit sub_block_id/sub_block_len
The compact form g_isi_sb_iter_init() supports 8-bit sub_block count before
start of the sub blocks themselves and 8-bit sub_block_id and sub_block_len.
The full form g_isi_sb_iter_init_full() with explicit longhdr and sub_block
count supports all other cases.
Denis Kenzior [Thu, 8 Oct 2009 17:58:31 +0000 (12:58 -0500)]
Mention Pekka's contributions
Denis Kenzior [Thu, 8 Oct 2009 17:57:01 +0000 (12:57 -0500)]
Rename function to express its purpose better
Pekka Pessi [Thu, 8 Oct 2009 16:59:53 +0000 (19:59 +0300)]
Allow sending DTMF tones in alerting state
2nd stage dialing may be done before call gets connected.
Pekka Pessi [Thu, 8 Oct 2009 16:59:52 +0000 (19:59 +0300)]
Use swap_without_accept method, if present
Denis Kenzior [Thu, 8 Oct 2009 17:54:26 +0000 (12:54 -0500)]
Mention Zhenhua's contributions
Denis Kenzior [Thu, 8 Oct 2009 17:49:12 +0000 (12:49 -0500)]
Fix: Use DISC on dlc 0 instead of CLD
Some MUX implementations do not seem to support Multiplexer Closedown
(CLD) command. The standard specifies that sending DISC on DLC 0 should
act exactly the same as CLD.
Denis Kenzior [Thu, 8 Oct 2009 05:07:32 +0000 (00:07 -0500)]
Fix: Make compile on some obscure platforms
Denis Kenzior [Wed, 7 Oct 2009 16:06:31 +0000 (11:06 -0500)]
Cleanup: Remove more dead code
Denis Kenzior [Tue, 6 Oct 2009 23:21:01 +0000 (18:21 -0500)]
Cleanup: Get rid of unused member
ctx->server is never set to anything but 0. This was intended to handle
server side functionality of the GSM 07.10 multiplexer, but never fully
implemented. Since GAtMux is only really meant for the client side, we
can safely remove this dead code.
Denis Kenzior [Tue, 6 Oct 2009 23:14:11 +0000 (18:14 -0500)]
Get rid of from_tty variant, use gattty instead
Pekka Pessi [Wed, 30 Sep 2009 20:12:17 +0000 (23:12 +0300)]
gisi: use const and restrict in iter
Jukka Saunamaki [Fri, 18 Sep 2009 06:43:34 +0000 (09:43 +0300)]
Hack for reading EFSPN on isimodem sim driver
In the absence of low-level access to the SIM card, we're adding this
hack to expose the SPN using ISI's high-level access instead.
Denis Kenzior [Mon, 5 Oct 2009 21:20:55 +0000 (16:20 -0500)]
Fix: Don't crash when cached ef structure differs
Marcel Holtmann [Sun, 4 Oct 2009 11:11:14 +0000 (13:11 +0200)]
Release 0.7
Marcel Holtmann [Sun, 4 Oct 2009 11:02:56 +0000 (13:02 +0200)]
Fix pointer size problem with GUINT_TO_POINTER and unsigned short
Denis Kenzior [Sat, 3 Oct 2009 00:26:11 +0000 (19:26 -0500)]
Fix: Handle empty SMSes
If an SMS is empty (e.g. nothing to unpack) then we should simply
continue on.
Denis Kenzior [Sat, 3 Oct 2009 00:25:58 +0000 (19:25 -0500)]
Fix: Quiet a warning
Denis Kenzior [Sat, 3 Oct 2009 00:25:44 +0000 (19:25 -0500)]
Fix: Make const correct
Denis Kenzior [Fri, 2 Oct 2009 23:22:44 +0000 (18:22 -0500)]
Fix: Make next_hexstring handle optional quotes
Ericsson MBM devices send CRSM information as hex strings, yet enclose
them in quotes which is not according to the standard.
Denis Kenzior [Fri, 2 Oct 2009 22:59:08 +0000 (17:59 -0500)]
Make generic sim driver work with 3G SIMs
3G (UICC) based SIMs use a different response format than 2G sims. In
theory this also allows us to determine whether SIM filesystem format is
3G or 2G
Denis Kenzior [Fri, 2 Oct 2009 22:57:24 +0000 (17:57 -0500)]
Fix: Add additional error checking
Denis Kenzior [Fri, 2 Oct 2009 22:49:31 +0000 (17:49 -0500)]
Use small caps for 2G/3G functions
Denis Kenzior [Fri, 2 Oct 2009 22:48:04 +0000 (17:48 -0500)]
Add unit test for 3G STATUS response data
Denis Kenzior [Fri, 2 Oct 2009 22:47:44 +0000 (17:47 -0500)]
Add utility to parse 3G get response data
Based on ETSI 102.221
Denis Kenzior [Fri, 2 Oct 2009 19:52:52 +0000 (14:52 -0500)]
Add utility to parse 2G GET_RESPONSE data
This format is described in 51.011 and the older 11.11. It is not
supported by newer 3G UICC based devices & sim card combinations
Denis Kenzior [Fri, 2 Oct 2009 19:52:10 +0000 (14:52 -0500)]
Add unit test for EF database
Denis Kenzior [Fri, 2 Oct 2009 19:51:47 +0000 (14:51 -0500)]
Add utility to lookup files in EF db
Denis Kenzior [Fri, 2 Oct 2009 19:02:28 +0000 (14:02 -0500)]
Refactor: Move elementary file type checking
Every single EF read callback checks the file type reported out of the
SIM is what it expects. Instead this should be done in one place and
the errors reported accordingly
Denis Kenzior [Fri, 2 Oct 2009 18:08:30 +0000 (13:08 -0500)]
Add basic elementary file database
Marcel Holtmann [Fri, 2 Oct 2009 11:23:26 +0000 (13:23 +0200)]
Enable a few extra atoms in the Huawei plugin
Marcel Holtmann [Fri, 2 Oct 2009 11:22:09 +0000 (13:22 +0200)]
Enable more atoms in the MBM plugin
Marcel Holtmann [Fri, 2 Oct 2009 10:29:02 +0000 (12:29 +0200)]
Add support for switching to a different GAtSyntax at runtime
Marcel Holtmann [Fri, 2 Oct 2009 01:26:35 +0000 (03:26 +0200)]
Remove unused variables causing a compiler warning
Marcel Holtmann [Fri, 2 Oct 2009 01:25:35 +0000 (03:25 +0200)]
Fix missing include for close() function call
Denis Kenzior [Thu, 1 Oct 2009 22:01:15 +0000 (17:01 -0500)]
Update plugins to the new g_at_tty_open API
Denis Kenzior [Thu, 1 Oct 2009 21:37:30 +0000 (16:37 -0500)]
Replace g_at_chat_new_from_tty with g_at_tty_open
Andres Salomon [Wed, 30 Sep 2009 03:53:59 +0000 (23:53 -0400)]
G1: move chat handling into enable callback
This updates the g1 code to create the GAtChat object in the enable() callback,
and to unref it in the disable() callback. This is more in line with what
the other plugins do, and as a bonus fixes a segfault when powering down
the G1 modem..
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Denis Kenzior [Tue, 29 Sep 2009 19:49:59 +0000 (14:49 -0500)]
Fix: different signedness comparison
Denis Kenzior [Tue, 29 Sep 2009 19:47:49 +0000 (14:47 -0500)]
Add call volume atom to calypso plugin
Denis Kenzior [Tue, 29 Sep 2009 19:30:15 +0000 (14:30 -0500)]
Add test script for controlling speaker volume
Denis Kenzior [Tue, 29 Sep 2009 19:30:00 +0000 (14:30 -0500)]
Add call volume to phonesim plugin
Denis Kenzior [Tue, 29 Sep 2009 19:29:45 +0000 (14:29 -0500)]
Add at modem call volume driver
Denis Kenzior [Tue, 29 Sep 2009 19:28:40 +0000 (14:28 -0500)]
Fix: Don't try to set a value if already set
Denis Kenzior [Tue, 29 Sep 2009 18:01:26 +0000 (13:01 -0500)]
Be more numerically stable
Denis Kenzior [Tue, 29 Sep 2009 16:15:11 +0000 (11:15 -0500)]
Use none_prefix in cssn
Denis Kenzior [Tue, 29 Sep 2009 15:55:01 +0000 (10:55 -0500)]
Add Muted property to CallVolume atom
Denis Kenzior [Mon, 28 Sep 2009 23:50:19 +0000 (18:50 -0500)]
Refactor: Call Volume set_property handling
Denis Kenzior [Mon, 28 Sep 2009 23:50:02 +0000 (18:50 -0500)]
Get rid of unused define
Denis Kenzior [Mon, 28 Sep 2009 23:28:43 +0000 (18:28 -0500)]
Get rid of unused variables
Denis Kenzior [Mon, 28 Sep 2009 23:27:01 +0000 (18:27 -0500)]
Refactor: Assume driver will set call volume
Driver should use the ofono_call_volume_set_microphone_volume and
ofono_call_volume_set_speaker_volume functions.
Denis Kenzior [Mon, 28 Sep 2009 23:25:39 +0000 (18:25 -0500)]
Don't use ofono_ prefix for static functions
Denis Kenzior [Mon, 28 Sep 2009 23:23:21 +0000 (18:23 -0500)]
Refactor: Break up call volume notify
Denis Kenzior [Mon, 28 Sep 2009 18:36:28 +0000 (13:36 -0500)]
Cleanup: Do not expose DBus details to drivers
Zhenhua Zhang [Sat, 26 Sep 2009 15:27:25 +0000 (23:27 +0800)]
Add call volume interface to adjust speaker and mic volume
Denis Kenzior [Mon, 28 Sep 2009 17:50:39 +0000 (12:50 -0500)]
Fix: F3607gw not being recognized properly
Reports <foo> Broadband <foo> instead of <foo> Broadband Minicard <foo>
F3607gw Mobile Broadband Data Modem
F3607gw Mobile Broadband Modem
F3607gw Mobile Broadband GPS Port
F3607gw Mobile Broadband Network Adapter
F3607gw Mobile Broadband Device Management
F3607gw Mobile Broadband USIM Port
Denis Kenzior [Sat, 26 Sep 2009 00:52:14 +0000 (19:52 -0500)]
Fix: Report registered modems properly
Denis Kenzior [Sat, 26 Sep 2009 00:40:45 +0000 (19:40 -0500)]
Fix efli being removed prematurely
Marcel Holtmann [Fri, 25 Sep 2009 21:31:02 +0000 (14:31 -0700)]
Release 0.6
Marcel Holtmann [Fri, 25 Sep 2009 21:14:28 +0000 (14:14 -0700)]
Add ignore line generated udev rules file
Marcel Holtmann [Fri, 25 Sep 2009 21:12:59 +0000 (14:12 -0700)]
Fix build issue with example history plugin