summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-12-19gdbus: Add helper functions for simple D-Bus clientsMarcel Holtmann2-0/+355
2012-12-17telit: set baud rate to 115200Christopher Vogl1-1/+11
Telit HE910 needs the baud rate to be set.
2012-12-17sim: return from cpin when sim ready for telitChristopher Vogl1-1/+1
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.
2012-12-17atutil: Remove unused macroDaniel Wagner1-5/+0
With commit 6ee21a3fc18460cc12dbddb3b7ec70e941fa4bbc the usage DECLARE_FAILURE was removed.
2012-12-17test: Tweak list-modems to display battchgDenis Kenzior1-1/+2
2012-12-17hfp: use ofono_handsfree_battchg_notifyDenis Kenzior1-0/+31
2012-12-17handsfree: Implement BatteryChargeLevelDenis Kenzior1-0/+27
2012-12-17include: Add battery charge level notify APIDenis Kenzior1-0/+3
2012-12-17doc: Add BatteryChargeLevel to HandsfreeDenis Kenzior1-0/+5
2012-12-15tools: Make two functions of stktest staticMarcel Holtmann1-4/+4
2012-12-11build: Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_PMarcel Holtmann1-1/+1
2012-12-10build: Reorder default developer build optionsMarcel Holtmann1-2/+2
2012-12-10build: Reorder configure optionsMarcel Holtmann1-19/+19
2012-12-04AUTHORS: Mention Mingli's contributionsDenis Kenzior1-0/+1
2012-12-04atmodem: remove pending idle callbacks at removalMingli Wu6-0/+6
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.
2012-12-04atmodem: Re-work the CBS driverDenis Kenzior1-26/+6
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.
2012-12-04qmi: Include persistent device configuration serviceMarcel Holtmann2-0/+3
2012-12-01qmi: Print service number if name is not knownMarcel Holtmann1-2/+6
2012-11-30gdbus: Add g_dbus_add_properties_watch functionLuiz Augusto von Dentz2-0/+33
Convenient function to create watches for D-Bus properties.
2012-11-29gdbus: Don't automatically attach ObjectManagerLucas De Marchi2-21/+36
Let each project attach the object manager interface instead of registering it automatically.
2012-11-29gdbus: Don't register DBus.Properties with no propertiesLucas De Marchi1-3/+6
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.
2012-11-29sms: Don't try to start the queue if already activeDenis Kenzior1-0/+3
If the queue is currently inside a submit operation and the network registration state changes, do not try to schedule the next operation.
2012-11-28ifx: Bump the setup timeoutDenis Kenzior1-1/+1
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.
2012-11-28ifx: Fix the case of modem-originated callDenis Kenzior1-12/+13
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.
2012-11-28stk: Fix Set Up Call with pause charactersDenis Kenzior1-1/+14
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 }
2012-11-28stk: Print what kind of info the SIM wantsDenis Kenzior1-3/+45
In Provide Local Information implementation
2012-11-28voicecall: Add extra debug infoDenis Kenzior1-0/+3
2012-11-28voicecall: Fix crashDenis Kenzior1-4/+7
2012-11-28sim: Fix crashDenis Kenzior1-3/+4
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]: +++++++++++++++++++++++++++
2012-11-28ifx: Rework SIM state handlingDenis Kenzior1-4/+9
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.
2012-11-28atmodem: For IFX XSIMSTATE 7 should never occurDenis Kenzior1-1/+0
in the case of a PIN entry, XSIMSTATE of 7 (Ready to Attach) should never occur
2012-11-28stk: Handle self explanatory icons in idle mode textDenis Kenzior1-5/+9
2012-11-28test: Use pretty-printing from monitor-ofonoDenis Kenzior1-1/+49
2012-11-28stk: Handle icon self explanatory in play toneDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in get inputDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in get inkeyDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in display textDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in menusDenis Kenzior1-0/+5
2012-11-28sim: Fix crashDenis Kenzior1-1/+1
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
2012-11-28tools: Wait an extra second before opening the TTYMarcel Holtmann1-0/+1
2012-11-28tools: Add simple TTY redirector utilityMarcel Holtmann3-1/+385
2012-11-27qmimodem: Fix reporting of PIN or PUK statesMarcel Holtmann1-2/+2
2012-11-27test: Allow LoopTone to be interrupted by incoming callsMarcel Holtmann1-5/+20
2012-11-27test: Remove unneeded semicolons in STK test scriptMarcel Holtmann1-15/+15
2012-11-26gdbus: Remove not needed NULL pointer checksSzymon Janc1-2/+2
g_strdup returns NULL if argument passed is NULL and there is no need to double check that.
2012-11-26gdbus: Replace leading spaces with tabsSyam Sidhardhan1-4/+4
Trivial formatting fix.
2012-11-26gdbus: Fix compilation error due to missing #definesSyam Sidhardhan1-0/+8
Since these are simple #define strings, we are defining it here instead of upgrading to D-Bus 1.5 or later. Log: CC gdbus/object.o gdbus/object.c: In function ‘properties_set’: gdbus/object.c:876:7: error: ‘DBUS_ERROR_UNKNOWN_PROPERTY’ undeclared (first use in this function) gdbus/object.c:876:7: note: each undeclared identifier is reported only once for each function it appears in gdbus/object.c:881:6: error: ‘DBUS_ERROR_PROPERTY_READ_ONLY’ undeclared (first use in this function) make[1]: *** [gdbus/object.o] Error 1 make: *** [all] Error 2
2012-11-26gdbus: Remove connection from pending_property functionsLucas De Marchi2-20/+17
The reply to a DBus.Properties.Set() method call should go through the same D-Bus connection. Thus remove the DBusConnection parameter from the following functions: - g_dbus_pending_property_success() - g_dbus_pending_property_error_valist() - g_dbus_pending_property_error()
2012-11-26gdbus: Fix invalid memory access during interface removalJohan Hedberg1-6/+6
If an interface is removed from the root path during the same mainloop iteration that it was added we need to check for data->added before doing the check for data->parent == NULL in the remove_interface() function. Otherwise the added interface doesn't get removed from the data->added list and will result in accessing freed memory: ==337== Invalid read of size 8 ==337== at 0x4F65AFA: dbus_message_iter_append_basic (in /usr/lib64/libdbus-1.so.3.7.1) ==337== by 0x1247B5: append_interface (object.c:556) ==337== by 0x4C8DC5C: g_slist_foreach (gslist.c:840) ==337== by 0x1261F7: process_changes (object.c:594) ==337== by 0x126372: generic_unregister (object.c:997) ==337== by 0x4F69669: ??? (in /usr/lib64/libdbus-1.so.3.7.1) ==337== by 0x4F5CE51: dbus_connection_unregister_object_path (in /usr/lib64/libdbus-1.so.3.7.1) ==337== by 0x125E81: object_path_unref (object.c:1236) ==337== by 0x126136: g_dbus_unregister_interface (object.c:1361) ==337== by 0x14CDF0: service_exit (service.c:581) ==337== by 0x177556: plugin_cleanup (plugin.c:242) ==337== by 0x12221F: main (main.c:559) ==337== Address 0x5bc1550 is 0 bytes inside a block of size 56 free'd ==337== at 0x4A079AE: free (vg_replace_malloc.c:427) ==337== by 0x4C7850E: g_free (gmem.c:252) ==337== by 0x125DB0: remove_interface (object.c:671) ==337== by 0x125E3B: object_path_unref (object.c:1230) ==337== by 0x126136: g_dbus_unregister_interface (object.c:1361) ==337== by 0x14CDF0: service_exit (service.c:581) ==337== by 0x177556: plugin_cleanup (plugin.c:242) ==337== by 0x12221F: main (main.c:559)
2012-11-26gdbus: Add g_dbus_get_properties functionJohan Hedberg2-0/+21
This function can be used to construct custom D-Bus messages containing the properties for a specific interface on a given path.