Vinicius Costa Gomes [Thu, 17 Jan 2013 15:13:05 +0000 (12:13 -0300)]
hfpmodem: Add version defines for HFP 1.6
Denis Kenzior [Wed, 16 Jan 2013 20:15:39 +0000 (14:15 -0600)]
AUTHORS: Mention Claudio's contributions
Lucas De Marchi [Wed, 16 Jan 2013 21:11:23 +0000 (19:11 -0200)]
build: Use AM_CPPFLAGS instead of INCLUDES
Makefile.am:518: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Lucas De Marchi [Wed, 16 Jan 2013 21:11:22 +0000 (19:11 -0200)]
build: Do not use deprecated AM_CONFIG_HEADER
The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13.
Use AC_CONFIG_HEADERS instead.
Lucas De Marchi [Wed, 16 Jan 2013 21:11:24 +0000 (19:11 -0200)]
storage: Include sys/types.h for ssize_t
src/storage.h:32:1: error: unknown type name 'ssize_t'
src/storage.h:36:1: error: unknown type name 'ssize_t'
Claudio Takahasi [Wed, 16 Jan 2013 13:31:31 +0000 (10:31 -0300)]
hfp_hf_bluez5: Add BlueZ Profile handler
This patch declares the external HFP Profile handler. It contains the
initial implementation of the D-Bus Profile1 interface and methods
responsible for handling Bluetooth connections.
Claudio Takahasi [Wed, 16 Jan 2013 13:31:31 +0000 (10:31 -0300)]
bluez5: Add a couple of defines
Claudio Takahasi [Wed, 16 Jan 2013 13:31:30 +0000 (10:31 -0300)]
hfp_hf_bluez5: Add initial skeleton implementation
Claudio Takahasi [Wed, 16 Jan 2013 13:31:30 +0000 (10:31 -0300)]
bluetooth: Add profile register / unregister
Adds utility API to handle BlueZ 5 RegisterProfile and UnregisterProfile
methods.
Claudio Takahasi [Wed, 16 Jan 2013 13:31:29 +0000 (10:31 -0300)]
hfp_hf: Add initial file for external HFP
This patch adds the initial file to support external HFP profile and
BlueZ 5. "hfp_hf_bluez5" plugin will implement an external Bluetooth
profile compatible with BlueZ 5, and "hfp_hf_bluez4" plugin will keep
the compatibility with BlueZ 4.
Claudio Takahasi [Wed, 16 Jan 2013 13:31:28 +0000 (10:31 -0300)]
bluetooth: Initial files for BlueZ 5
This patch adds the file for Bluetooth(BlueZ 5) oFono plugin.
Claudio Takahasi [Wed, 16 Jan 2013 13:31:27 +0000 (10:31 -0300)]
bluetooth: Rename bluetooth plugins
As BlueZ 5 introduced backwards incompatible API changes, and we want to
keep support for BlueZ 4 based plugins for some time, we need to separate
the plugins that are based on BlueZ 4 from the ones based on BlueZ 5.
The bluetooth.c plugin has now been renamed to bluez4.c and the hfp_hf.c
plugin is renamed to hfp_hf_bluez4. This will make it easy to add a
HFP HF plugin for BlueZ 5.
Claudio Takahasi [Wed, 16 Jan 2013 13:31:26 +0000 (10:31 -0300)]
build: Add configure option for BlueZ 5 support
Going forward, BlueZ 5 will be supported by default. BlueZ 4 support
will have to be explicitly enabled by using '--enable-bluez4'.
As before, the '--disable-bluetooth' configure option will disable all
bluetooth support (BlueZ 4 and BlueZ 5)
Denis Kenzior [Tue, 15 Jan 2013 18:16:08 +0000 (12:16 -0600)]
sim: Fix whitespace violation
Denis Kenzior [Wed, 2 Jan 2013 05:16:05 +0000 (23:16 -0600)]
phonesim: Add support for SIM hotswap
Denis Kenzior [Wed, 2 Jan 2013 03:40:14 +0000 (21:40 -0600)]
stk: Fix crash with Modem-Handled SIM Refresh
Denis Kenzior [Wed, 2 Jan 2013 03:03:23 +0000 (21:03 -0600)]
Revert "stk: Fix crash in SIM refresh handling"
This reverts commit
dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5.
Denis Kenzior [Mon, 31 Dec 2012 02:37:44 +0000 (20:37 -0600)]
AUTHORS: Mention Forest's contributions
Forest Bond [Fri, 28 Dec 2012 19:36:00 +0000 (14:36 -0500)]
sierra: Initialize GSM error reporting separately
Forest Bond [Fri, 28 Dec 2012 19:35:46 +0000 (14:35 -0500)]
sierra: Create GPRS context in post_sim function
This matches the huawei plugin.
Anderson Lizardo [Sun, 6 Jan 2013 00:47:46 +0000 (20:47 -0400)]
gdbus: Fix memory leak on properties_set()
The pointer returned by dbus_message_iter_get_signature() must be freed
with dbus_free().
Fixes this memory leak:
==1857== 16 bytes in 1 blocks are definitely lost in loss record 104 of
251
==1857== at 0x402BF52: realloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1857== by 0x415E286: dbus_realloc (in
/lib/i386-linux-gnu/libdbus-1.so.3.5.8)
==1857== by 0x415E70B: ??? (in
/lib/i386-linux-gnu/libdbus-1.so.3.5.8)
==1857== by 0x415F17B: ??? (in
/lib/i386-linux-gnu/libdbus-1.so.3.5.8)
==1857== by 0x414CB33: dbus_message_iter_get_signature (in
/lib/i386-linux-gnu/libdbus-1.so.3.5.8)
==1857== by 0x8053239: properties_set (object.c:899)
==1857== by 0x5FFFFF: ???
==1857==
Marcel Holtmann [Sat, 5 Jan 2013 04:28:07 +0000 (20:28 -0800)]
gdbus: Check signature of property value before calling setter
Lucas De Marchi [Fri, 4 Jan 2013 03:33:44 +0000 (01:33 -0200)]
gdbus: Don't include just added interfaces in GetManagedObjects
If we received a call to ObjectManager.GetManagedObject we should not
include in the response the interfaces in data->added. This is because
it's not guaranteed that those interfaces will trigger an
InterfacesAdded signal, which is the case if the interface is removed in
the same mainloop iteration.
Lucas De Marchi [Fri, 4 Jan 2013 01:21:04 +0000 (23:21 -0200)]
gdbus: Simplify generated introspection
The generated introspection is not supposed to be read as is by human,
so there's no point in printing the indentation or writing more code to
use auto-close tags.
If it's desired to read the raw xml file, user can always use other
tools to transform the output such as "xmllint --format".
This also fixes a missing </property> when property is deprecated.
Marcel Holtmann [Wed, 2 Jan 2013 15:35:53 +0000 (07:35 -0800)]
gdbus: Hold client reference during get name owner reply
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:03 +0000 (14:51 +0200)]
gdbus: Call check_signals when sending signals with g_dbus_send_message
If message passed to g_dbus_send_message is a signal verify if it is a
valid and there really exists an interface with respective signal name.
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:02 +0000 (14:51 +0200)]
gdbus: Check if the interface being registered is valid
This prevent registering interfaces that are empty or have all members
marked as experiemental.
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:01 +0000 (14:51 +0200)]
gdbus: Introduce G_DBUS_PROPERTY_FLAG_EXPERIMENTAL
This flag can be used to mark properties as experimental, marked
properties are disabled by default and can be enabled by setting
G_DBUS_FLAG_ENABLE_EXPERIMENTAL using g_dbus_set_flags.
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:51:00 +0000 (14:51 +0200)]
gdbus: Introduce G_DBUS_SIGNAL_FLAG_EXPERIMENTAL
This flag can be used to mark signals as experimental, marked
signals are disabled by default and can be enabled by setting
G_DBUS_FLAG_ENABLE_EXPERIMENTAL using g_dbus_set_flags.
Luiz Augusto von Dentz [Fri, 28 Dec 2012 12:50:59 +0000 (14:50 +0200)]
gdbus: Introduce G_DBUS_METHOD_FLAG_EXPERIMENTAL
This flag can be used to mark methods as experimental, marked
methods are disable by default and can be enabled by setting
G_DBUS_FLAG_ENABLE_EXPERIMENTAL using g_dbus_set_flags.
Marcel Holtmann [Sun, 30 Dec 2012 08:58:04 +0000 (00:58 -0800)]
gdbus: Include changed properties only once per signal
Marcel Holtmann [Sat, 29 Dec 2012 21:42:51 +0000 (13:42 -0800)]
gdbus: Update properties on D-Bus client re-connections
Marcel Holtmann [Sat, 29 Dec 2012 21:24:17 +0000 (13:24 -0800)]
gdbus: Add function to manually refresh properties
Marcel Holtmann [Sat, 29 Dec 2012 20:29:50 +0000 (12:29 -0800)]
gdbus: Add support for proxy property change notifications
Marcel Holtmann [Sat, 29 Dec 2012 20:27:33 +0000 (12:27 -0800)]
gdbus: Fix handling of client connect/disconnect signals
Marcel Holtmann [Sat, 29 Dec 2012 19:57:05 +0000 (11:57 -0800)]
gdbus: Protect standalone proxy creation with client reference
Marcel Holtmann [Fri, 28 Dec 2012 05:30:06 +0000 (21:30 -0800)]
gdbus: Use object manager only if callback functions are set
Marcel Holtmann [Fri, 28 Dec 2012 05:21:16 +0000 (21:21 -0800)]
gdbus: Use client service name and not hardcoded org.bluez
Marcel Holtmann [Fri, 28 Dec 2012 05:19:31 +0000 (21:19 -0800)]
gdbus: Add support for creating D-Bus proxies without object manager
Marcel Holtmann [Sat, 22 Dec 2012 20:05:59 +0000 (12:05 -0800)]
gdbus: Avoid using g_ptr_array_new_full convenience function
The g_ptr_array_new_full function only got introduced with GLib 2.30
and to avoid requiring a newer GLib use g_ptr_array_set_free_func instead.
Marcel Holtmann [Wed, 19 Dec 2012 23:10:11 +0000 (00:10 +0100)]
Release 1.12
Denis Kenzior [Wed, 19 Dec 2012 20:01:05 +0000 (14:01 -0600)]
doc: Add USAT certification status document
Marcel Holtmann [Wed, 19 Dec 2012 02:51:22 +0000 (03:51 +0100)]
build: Compile support for new D-Bus client helpers
Marcel Holtmann [Tue, 18 Dec 2012 04:27:09 +0000 (05:27 +0100)]
gdbus: Increase the method call timeout to 5 minutes
Marcel Holtmann [Tue, 18 Dec 2012 04:09:59 +0000 (05:09 +0100)]
gdbus: Add helper for sending async error replies
Marcel Holtmann [Sun, 16 Dec 2012 00:16:28 +0000 (01:16 +0100)]
gdbus: Fix race condition with creating duplicate client proxies
Marcel Holtmann [Sun, 16 Dec 2012 00:06:33 +0000 (01:06 +0100)]
gdbus: Fix issue with unref of client while parsing interfaces
Marcel Holtmann [Sat, 15 Dec 2012 22:34:51 +0000 (23:34 +0100)]
gdbus: Fix issue with unref of client in connect handler
Marcel Holtmann [Sat, 15 Dec 2012 00:50:58 +0000 (01:50 +0100)]
gdbus: Add support for D-Bus client method calls
Marcel Holtmann [Fri, 14 Dec 2012 18:48:06 +0000 (19:48 +0100)]
gdbus: Add callback support for handling property changes
Marcel Holtmann [Fri, 14 Dec 2012 18:16:59 +0000 (19:16 +0100)]
gdbus: Handle property changed signals and update property
Marcel Holtmann [Fri, 14 Dec 2012 17:48:18 +0000 (18:48 +0100)]
gdbus: Set property changed filter match rule for each proxy
Marcel Holtmann [Fri, 14 Dec 2012 17:23:39 +0000 (18:23 +0100)]
gdbus: Use a GPtrArray for the match rules
Marcel Holtmann [Fri, 14 Dec 2012 14:19:53 +0000 (15:19 +0100)]
gdbus: Add support for setting D-Bus client basic properties
Marcel Holtmann [Fri, 14 Dec 2012 14:07:36 +0000 (15:07 +0100)]
gdbus: Deep copy of variants also requires a signature
Marcel Holtmann [Thu, 13 Dec 2012 16:14:33 +0000 (17:14 +0100)]
gdbus: Add support for complex D-Bus client properties
Marcel Holtmann [Thu, 13 Dec 2012 13:06:25 +0000 (14:06 +0100)]
gdbus: Add support for D-Bus client properties
Marcel Holtmann [Thu, 13 Dec 2012 01:38:53 +0000 (02:38 +0100)]
gdbus: Add support for D-Bus client proxies
Marcel Holtmann [Wed, 12 Dec 2012 20:58:57 +0000 (21:58 +0100)]
gdbus: Add helper functions for simple D-Bus clients
Christopher Vogl [Mon, 17 Dec 2012 16:07:51 +0000 (17:07 +0100)]
telit: set baud rate to 115200
Telit HE910 needs the baud rate to be set.
Christopher Vogl [Fri, 14 Dec 2012 14:19:41 +0000 (15:19 +0100)]
sim: return from cpin when sim ready for telit
Especially for Telit HE910 it is not enough to wait for
entering a PIN code.
If we do not wait for #QSS: 3, subsequent commands,
like +CMER will report SIM BUSY and the network registration
atom will be removed as a consequence.
Daniel Wagner [Mon, 10 Dec 2012 10:37:19 +0000 (11:37 +0100)]
atutil: Remove unused macro
With commit
6ee21a3fc18460cc12dbddb3b7ec70e941fa4bbc
the usage DECLARE_FAILURE was removed.
Denis Kenzior [Mon, 17 Dec 2012 15:26:32 +0000 (09:26 -0600)]
test: Tweak list-modems to display battchg
Denis Kenzior [Mon, 17 Dec 2012 15:26:10 +0000 (09:26 -0600)]
hfp: use ofono_handsfree_battchg_notify
Denis Kenzior [Mon, 17 Dec 2012 15:25:54 +0000 (09:25 -0600)]
handsfree: Implement BatteryChargeLevel
Denis Kenzior [Mon, 17 Dec 2012 15:25:35 +0000 (09:25 -0600)]
include: Add battery charge level notify API
Denis Kenzior [Mon, 17 Dec 2012 15:25:17 +0000 (09:25 -0600)]
doc: Add BatteryChargeLevel to Handsfree
Marcel Holtmann [Sat, 15 Dec 2012 20:53:56 +0000 (21:53 +0100)]
tools: Make two functions of stktest static
Marcel Holtmann [Tue, 11 Dec 2012 16:17:46 +0000 (17:17 +0100)]
build: Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P
Marcel Holtmann [Mon, 10 Dec 2012 19:45:24 +0000 (20:45 +0100)]
build: Reorder default developer build options
Marcel Holtmann [Mon, 10 Dec 2012 19:09:30 +0000 (20:09 +0100)]
build: Reorder configure options
Denis Kenzior [Wed, 5 Dec 2012 05:48:50 +0000 (23:48 -0600)]
AUTHORS: Mention Mingli's contributions
Mingli Wu [Tue, 4 Dec 2012 15:33:47 +0000 (16:33 +0100)]
atmodem: remove pending idle callbacks at removal
If device probe and removal happen in short succession, it's possible
that the idle handler registered in the probe function doesn't run before
the device is removed. In this case, the idle handler needs to be
unregistered so that it does not run and try to access the data that's
destroyed during the removal.
Denis Kenzior [Wed, 5 Dec 2012 05:45:35 +0000 (23:45 -0600)]
atmodem: Re-work the CBS driver
We might have mis-interpreted how 27.007 intends for CBS to work. After
studying the implementation notes of the IMC 6260 modem, the spec intent
made a little bit more sense.
Marcel Holtmann [Tue, 4 Dec 2012 04:42:14 +0000 (05:42 +0100)]
qmi: Include persistent device configuration service
Marcel Holtmann [Sat, 1 Dec 2012 20:37:22 +0000 (21:37 +0100)]
qmi: Print service number if name is not known
Luiz Augusto von Dentz [Tue, 27 Nov 2012 12:51:20 +0000 (14:51 +0200)]
gdbus: Add g_dbus_add_properties_watch function
Convenient function to create watches for D-Bus properties.
Lucas De Marchi [Thu, 29 Nov 2012 13:19:32 +0000 (11:19 -0200)]
gdbus: Don't automatically attach ObjectManager
Let each project attach the object manager interface instead of
registering it automatically.
Lucas De Marchi [Thu, 29 Nov 2012 13:19:31 +0000 (11:19 -0200)]
gdbus: Don't register DBus.Properties with no properties
Delay registering DBus.Properties interface until the moment there are
properties on that path. This is needed for objects that currently don't
expose any property to not export the interface.
Denis Kenzior [Thu, 29 Nov 2012 09:05:11 +0000 (03:05 -0600)]
sms: Don't try to start the queue if already active
If the queue is currently inside a submit operation and the network
registration state changes, do not try to schedule the next operation.
Denis Kenzior [Wed, 28 Nov 2012 16:08:16 +0000 (10:08 -0600)]
ifx: Bump the setup timeout
The newer IFX firmware was changed, it no longer accepts AT commands
until the UA frame has been sent back to the AP. The commands are
simply dropped on the floor. This requires a proper fix in GAtMux, but
until then simply bump up the timeout to get around this issue.
Denis Kenzior [Sun, 25 Nov 2012 04:46:49 +0000 (22:46 -0600)]
ifx: Fix the case of modem-originated call
During STK Set Up Call, we have modem-originated calls that do not go
through the core 'Dial' method. Make sure the calls are still detected
in this case.
Denis Kenzior [Sun, 25 Nov 2012 03:56:16 +0000 (21:56 -0600)]
stk: Fix Set Up Call with pause characters
Set Up Call with extra DTMF characters after the phone number should be
set up with only the dialed number. Otherwise we get a sequence like
this:
{VoiceCallManager} [CallAdded] /ifx_0/voicecall01 { LineIdentification =
+
012340123456c1c2, Name = , Emergency = False, Multiparty = False,
RemoteHeld = False, State = alerting, RemoteMultiparty = False }
Denis Kenzior [Sun, 25 Nov 2012 03:55:47 +0000 (21:55 -0600)]
stk: Print what kind of info the SIM wants
In Provide Local Information implementation
Denis Kenzior [Sun, 25 Nov 2012 03:55:23 +0000 (21:55 -0600)]
voicecall: Add extra debug info
Denis Kenzior [Sun, 25 Nov 2012 03:55:04 +0000 (21:55 -0600)]
voicecall: Fix crash
Denis Kenzior [Sat, 24 Nov 2012 13:51:36 +0000 (07:51 -0600)]
sim: Fix crash
ofonod[32055]: ++++++++ backtrace ++++++++
ofonod[32055]: #0 0x7f6af0ee3b30 in /lib64/libc.so.6
ofonod[32055]: #1 0x4c2466 in __ofono_watchlist_remove_item() at
src/watch.c:57
ofonod[32055]: #2 0x4b5b73 in ofono_sim_remove_spn_watch() at
src/sim.c:2715
ofonod[32055]: #3 0x497c30 in netreg_unregister() at src/network.c:1817
ofonod[32055]: #4 0x4912e1 in __ofono_atom_unregister() at
src/modem.c:277
ofonod[32055]: #5 0x491387 in flush_atoms() at src/modem.c:425
ofonod[32055]: #6 0x4b6cb8 in __ofono_sim_refresh() at src/sim.c:3154
ofonod[32055]: #7 0x4b8c41 in handle_command_refresh() at
src/stk.c:2302
ofonod[32055]: #8 0x4baf0d in
ofono_stk_proactive_command_handled_notify() at src/stk.c:3048
ofonod[32055]: #9 0x46c60f in satn_notify() at
drivers/ifxmodem/stk.c:229
ofonod[32055]: #10 0x7f6af1711455 in /usr/lib64/libglib-2.0.so.0
ofonod[32055]: #11 0x43e729 in at_chat_match_notify() at
gatchat/gatchat.c:421
ofonod[32055]: #12 0x440da8 in received_data() at gatchat/gatio.c:125
ofonod[32055]: #13 0x441834 in dispatch_sources() at
gatchat/gatmux.c:157
ofonod[32055]: #14 0x441bbd in received_data() at gatchat/gatmux.c:215
ofonod[32055]: #15 0x7f6af173dfc3 in /usr/lib64/libglib-2.0.so.0
ofonod[32055]: #16 0x7f6af16ef065 in /usr/lib64/libglib-2.0.so.0
ofonod[32055]: #17 0x7f6af16efd0f in /usr/lib64/libglib-2.0.so.0
ofonod[32055]: #18 0x7f6af16efef9 in /usr/lib64/libglib-2.0.so.0
ofonod[32055]: #19 0x7f6af16f032f in /usr/lib64/libglib-2.0.so.0
ofonod[32055]: #20 0x48f5f8 in main() at src/main.c:249
ofonod[32055]: #21 0x7f6af0ed04bd in /lib64/libc.so.6
ofonod[32055]: +++++++++++++++++++++++++++
Denis Kenzior [Sat, 24 Nov 2012 13:50:44 +0000 (07:50 -0600)]
ifx: Rework SIM state handling
When performing a SIM REFRESH, particularly NAA Initialization, we need
to wait until the modem sends XSIMSTATE: 7, not XSIMSTATE:2. Even on
normal initialization it seems safer to wait until XSIMSTATE:2.
Denis Kenzior [Sat, 24 Nov 2012 13:49:54 +0000 (07:49 -0600)]
atmodem: For IFX XSIMSTATE 7 should never occur
in the case of a PIN entry, XSIMSTATE of 7 (Ready to Attach) should
never occur
Denis Kenzior [Sat, 24 Nov 2012 13:49:30 +0000 (07:49 -0600)]
stk: Handle self explanatory icons in idle mode text
Denis Kenzior [Sat, 24 Nov 2012 13:49:02 +0000 (07:49 -0600)]
test: Use pretty-printing from monitor-ofono
Denis Kenzior [Sat, 24 Nov 2012 07:13:36 +0000 (01:13 -0600)]
stk: Handle icon self explanatory in play tone
Denis Kenzior [Sat, 24 Nov 2012 07:13:22 +0000 (01:13 -0600)]
stk: Handle icon self explanatory in get input
Denis Kenzior [Sat, 24 Nov 2012 07:13:09 +0000 (01:13 -0600)]
stk: Handle icon self explanatory in get inkey
Denis Kenzior [Sat, 24 Nov 2012 07:12:55 +0000 (01:12 -0600)]
stk: Handle icon self explanatory in display text
Denis Kenzior [Sat, 24 Nov 2012 07:12:31 +0000 (01:12 -0600)]
stk: Handle icon self explanatory in menus
Denis Kenzior [Sat, 24 Nov 2012 07:11:44 +0000 (01:11 -0600)]
sim: Fix crash
When modem is brought online, then sim removed and re-inserted. We
crash when going online again due to the spn related data-structures not
being initialized properly
Marcel Holtmann [Wed, 28 Nov 2012 09:34:43 +0000 (10:34 +0100)]
tools: Wait an extra second before opening the TTY
Marcel Holtmann [Wed, 28 Nov 2012 09:21:51 +0000 (10:21 +0100)]
tools: Add simple TTY redirector utility
Marcel Holtmann [Tue, 27 Nov 2012 22:31:52 +0000 (23:31 +0100)]
qmimodem: Fix reporting of PIN or PUK states