summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-06-10test: Adapt voice call test scripts to multi-modemAlfonso Sanchez-Beato5-34/+75
Some tests scripts were not ready to handle situations with more than one modem present. This change fixes the scripts that handle voice calls.
2014-05-30hfp: Fix case where RING never arrivesDenis Kenzior1-1/+28
2014-05-21hfp: Use proper prefixDenis Kenzior1-1/+2
Otherwise the BCS command can consume unsolicited notifications. ofonod[3270]: < \r\n+BCS: 2\r\n ofonod[3270]: > AT+BCS=2\r ofonod[3270]: < \r\n+CIEV: 1,1\r\n ofonod[3270]: < \r\n+CIEV: 2,0\r\n ofonod[3270]: < \r\nOK\r\n
2014-04-22handsfree: correct crash on connect of hfpAndrew Earl1-1/+2
2014-04-10handsfree: Rename driver functionDenis Kenzior1-3/+3
To be more consistent with others in the same file
2014-04-10handsfree: Simplify logicDenis Kenzior1-18/+12
2014-04-10hfp: Add CNUM query to handsfree interface for subscriber numberAndrew Earl1-0/+88
2014-04-10handsfree: Rename variableDenis Kenzior1-6/+6
2014-04-10handsfree: Reflow logicDenis Kenzior1-7/+8
2014-04-10handsfree: Remove functionDenis Kenzior1-6/+1
No need for one line functions that are only used once
2014-04-10handsfree: Rename functionDenis Kenzior1-2/+2
No need for the ofono_ prefix here
2014-04-10handsfree: Remove unneeded variableDenis Kenzior1-2/+1
2014-04-10handsfree: Remove unneeded variable iDenis Kenzior1-2/+1
2014-04-10handsfree: style fixes for previous commitDenis Kenzior1-6/+7
2014-04-10hfp: Add subscriber number to handsfree propertiesAndrew Earl1-3/+121
2014-04-10include: Add subscriber number to handsfree APIAndrew Earl1-0/+6
2014-04-10doc: Add subscriber number to handsfree-apiAndrew Earl1-0/+4
2014-03-27AUTHORS: Mention Jussi's contributionsDenis Kenzior1-0/+1
2014-03-27phonesim: Fixup whitespaceDenis Kenzior1-0/+1
2014-03-27phonesim: Add conf file overrideJussi Pakkanen1-2/+5
OFONO_PHONESIM_CONFIG allows the configuration file location to be overriden from the default $CONFIGDIR/phonesim.conf (typically /etc)
2014-03-24gdbus: Add g_dbus_proxy_set_property_arrayClaudio Takahasi2-0/+92
This patch adds a new gdbus utility function to allow setting a property of fixed, and non-fixed values array.
2014-03-20he910: Fix unused variable warningDenis Kenzior1-1/+0
plugins/he910.c: In function ‘qss_query_cb’: plugins/he910.c:174:21: error: unused variable ‘data’ [-Werror=unused-variable]
2014-03-19he910: Switch to permissive parserDenis Kenzior1-1/+1
Seems the CCFC implementation on Telit firmware is not v.250 compliant: ofonod[445]: Aux: > AT+CCFC=0,2\r ofonod[445]: Aux: < \r\n\r\n+CCFC:0,7\r\n\r\nOK\r\n
2014-03-19he910: Fixup SIM detectionDenis Kenzior1-7/+37
In certain cases the #QSS notification is never sent, or sent too early. Make sure that we enable #QSS notification only after the modem has been set as powered. Also make sure that we explicitly query #QSS in case we missed the earlier #QSS notification.
2014-03-19hfp: Use enum from hfp.hDenis Kenzior3-23/+16
2014-03-19hfp: Fixup variable namesDenis Kenzior1-3/+3
2014-03-19hfp: Add CHLD features to drver dataKrzysztof Wilk1-0/+3
2014-03-19handsfree: Fixup variable namesDenis Kenzior1-10/+11
2014-03-19hfp: extend Features to three way calling and CHLDKrzysztof Wilk1-3/+31
2014-03-19include: Declaration function to set CHLD featuresKrzysztof Wilk1-0/+2
2014-03-19hfp: Define hfp_ag_chld_featureKrzysztof Wilk1-0/+11
2014-03-19doc: Extend Features propertyKrzysztof Wilk1-0/+6
2014-03-14AUTHORS: Mention Alfonso's contributionsDenis Kenzior1-0/+1
2014-03-14unit: Fix test to use valid EF_PNNAlfonso Sanchez-Beato1-5/+7
test-simutil was not using EF_PNN files with a valid format.
2014-03-14simutil: Fix EF_PNN accessAlfonso Sanchez-Beato1-7/+16
EF_PNN was not being read properly (see TS 24.008, section 10.5.3.5a, for network names format), which affected the displayed PLMN name for some MVNOs. Some modems already read the file and return the right string: these do not show the problem.
2014-03-14stktest: Remove some unneeded outputDenis Kenzior1-7/+2
2014-03-14test: Make sure test-stk-menu works with python3Denis Kenzior1-16/+17
2014-03-11AUTHORS: Mention Martin's contributionsDenis Kenzior1-0/+1
2014-03-11test: Convert to Python 3Martin Pitt94-124/+124
Change raw_input() to input() and unicode to str. This is *not* compatible with Python 2. Update the hashbangs to run with Python 3.
2014-03-11test: Move from static gobject bindings to GIMartin Pitt21-57/+60
Use GLib gobject-introspection bindings so that we can also use the scripts with Python 3.
2014-03-11test: Replace obsolete has_key() with "in"Martin Pitt2-13/+13
In order to also work with Python 3
2014-03-11test: Make exceptions compatible with Python 3Martin Pitt17-45/+45
Use "except Type as var" syntax to work with both Python >= 2.6 and Python 3.
2014-03-11test: Make print calls compatible with Python 3Martin Pitt86-576/+576
Turn print calls into print() function calls and avoid using comma-separated arguments, so that they work and look the same with both Python 2 and 3.
2014-03-10he910: Fix whitespaceDenis Kenzior1-1/+0
2014-03-06gdbus: Add g_dbus_client_set_ready_watch()Claudio Takahasi2-1/+20
This patch adds a new gdbus helper to notify the clients that GetManagedObjects reply was received and the last proxy has been informed previously by the proxy_added callback.
2014-03-05AUTHORS: Mention Tony's contributionsDenis Kenzior1-0/+1
2014-03-05idmap: use UL for bitshift literalsTony Espy1-4/+4
The current bitshift logic in idmap incorrectly uses the literal 1 for the value to shift in idmap_alloc(), idmap_take(), and idmap_alloc_next(). This causes the resulting value to be an int instead of a long, which results in the wrong bit being set once the number of bits to shift operand exceeds sizeof(int). Also on some platforms, the behavior of the left bitshift operator is undefined when this overflow occurs.
2014-02-18gdbus: Replace g_timeout_add with g_idle_addLuiz Augusto von Dentz1-4/+1
Passing 0 as timeout to g_timeout_add should equivalent to g_idle_add.
2014-02-18gdbus: Fix incorrect DBusConnection reference countingAnderson Lizardo1-10/+4
Commit abfc2b0dd5c3e33abfdf1a815b16d492c1751c06 attempted to fix a crash related to improper reference counting, but the main issue was that the reference was taken only during the function call (which is usually unnecessary for single thread), but still passed a pointer to DBusConnection to a function that is called by the mainloop. This left a window where the DBusConnection can be destroyed. Fixes this crash on unit/test-gdbus-client: ==32642== Invalid read of size 4 ==32642== at 0x690D0A6: dbus_connection_ref (in /lib/i386-linux-gnu/libdbus-1.so.3.7.6) ==32642== by 0x804CEDB: message_dispatch (mainloop.c:73) ==32642== by 0x684580E: g_timeout_dispatch (gmain.c:4450) ==32642== by 0x6844A75: g_main_context_dispatch (gmain.c:3065) ==32642== by 0x6844E14: g_main_context_iterate.isra.23 (gmain.c:3712) ==32642== by 0x68452FA: g_main_loop_run (gmain.c:3906) ==32642== by 0x804C7D3: client_connect_disconnect (test-gdbus-client.c:188) ==32642== by 0x6868DB2: g_test_run_suite_internal (gtestutils.c:2067) ==32642== by 0x6868F8D: g_test_run_suite_internal (gtestutils.c:2138) ==32642== by 0x6869320: g_test_run_suite (gtestutils.c:2189) ==32642== by 0x686936B: g_test_run (gtestutils.c:1508) ==32642== by 0x696D4D2: (below main) (libc-start.c:226) ==32642== Address 0x709c6e4 is 140 bytes inside a block of size 144 free'd ==32642== at 0x67E806C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==32642== by 0x692D62E: dbus_free (in /lib/i386-linux-gnu/libdbus-1.so.3.7.6) ==32642== by 0x690E1C2: ??? (in /lib/i386-linux-gnu/libdbus-1.so.3.7.6) ==32642== by 0x804AAEC: destroy_context (test-gdbus-client.c:104) ==32642== by 0x6868DB2: g_test_run_suite_internal (gtestutils.c:2067) ==32642== by 0x6868F8D: g_test_run_suite_internal (gtestutils.c:2138) ==32642== by 0x6869320: g_test_run_suite (gtestutils.c:2189) ==32642== by 0x686936B: g_test_run (gtestutils.c:1508) ==32642== by 0x696D4D2: (below main) (libc-start.c:226)
2014-02-18gdbus: Fix memory leakAnderson Lizardo1-0/+2
data->conn and data->path must be destroyed before freeing "data".