summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-11-24test: Support receiving SMS with non-ASCII charsNeil Jerram1-1/+1
Without this I get the following Python traceback, for an SMS that contains the UK pound sign. ERROR:dbus.connection:Exception in handler for D-Bus signal: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message self._handler(*args, **kwargs) File "./receive-sms", line 9, in incoming_message print("%s" % (message)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xa3' in position 51: ordinal not in range(128)
2014-10-22he910: Update copyrightKuba Pawlak1-1/+1
2014-10-22he910: enable location raporting atomKuba Pawlak1-0/+2
2014-10-22udev: add GPS port definition for HE910Kuba Pawlak1-2/+5
2014-10-22telitmodem: Fix a few coding style violationsDenis Kenzior1-4/+5
2014-10-22AUTHORS: Mention Kuba's contributionsDenis Kenzior1-0/+1
2014-10-22telitmodem: location reporting driverKuba Pawlak4-0/+394
2014-10-22doc: new file doc/telit-modem.txtKuba Pawlak2-1/+21
2014-10-20emulator: Refine +BIND supportDenis Kenzior1-1/+11
2014-10-20hfp_ag_bluez5: Bump HFP version to 1.7Denis Kenzior1-2/+2
2014-10-20emulator_fuzz: Add test pluginDenis Kenzior2-0/+129
This plugin creates an org.ofono.test.EmulatorFuzz interface on path /test. Currently only one method is implemented, SetIndicatorActive. SetIndicatorActive("DistractedDrivingReduction", True|False) allows to activate / deactivate the HF indicator via +BIND unsolicited notification.
2014-10-20emulator: Implement new APIDenis Kenzior1-0/+19
2014-10-20include: Add API to (de)activate HF indicatorsDenis Kenzior1-0/+3
2014-10-20test: Add test/set-ddrDenis Kenzior2-1/+23
Script to set DistractedDrivingReduction property
2014-10-20handsfree: Be extra pedantic with booleansDenis Kenzior1-0/+5
2014-10-20hfp_hf_bluez5: Use latest HFP versionDenis Kenzior1-1/+1
2014-10-20handsfree: Don't try to send a method returnDenis Kenzior1-1/+11
When we are simply updating the AG of HF indicator changes, do not try to send a method return message.
2014-10-20slc: Make sure to initialize variablesDenis Kenzior1-0/+3
2014-10-20hfp: Implement +BIND notificationsDenis Kenzior1-0/+22
2014-10-20hfp: Notify core of HF indicators supported by AGDenis Kenzior1-0/+9
This information was obtained from SLC negotiation
2014-10-20hfp: Track supported / active indicatorsDenis Kenzior2-3/+20
This information is obtained during SLC establishment
2014-10-20handsfree: Implement new HF indicators APIDenis Kenzior1-4/+62
2014-10-20include: Add HF Indicators related APIDenis Kenzior1-0/+7
2014-10-20hfp: Add implementation of +BIEVDenis Kenzior1-0/+20
2014-10-20emulator: Refactor data typesDenis Kenzior1-6/+7
2014-10-20hfp: Add HF Indicators BRSF feature for 1.7Denis Kenzior1-0/+5
If HFP 1.7 client is used, enable the right BRSF feature
2014-10-20handsfree: Skeleton implementation of DDRDenis Kenzior2-2/+46
Distracted Driving Reduction or Enhanced Safety is implemented using HF indicator 0x0001
2014-10-20handsfree: Add new driver method for HF indicatorsDenis Kenzior1-0/+3
2014-10-20hfp: Add initial SLC negotiation for HFP 1.7Denis Kenzior1-1/+94
2014-10-20doc: Add Distracted Driving Reduction to HandsfreeDenis Kenzior1-0/+7
2014-10-20handsfree: Implement new Features property valueDenis Kenzior1-0/+3
2014-10-20doc: Add 'hf-indicators' feature to Handsfree APIDenis Kenzior1-0/+1
2014-10-20emulator: Enable HF Indicator featureDenis Kenzior1-0/+1
2014-10-20emulator: Extend BRSF bitmapDenis Kenzior1-1/+1
The current check of 8 bits is not enough with HFP 1.7
2014-10-20emulator: Add +BIEV implementationDenis Kenzior1-0/+39
2014-10-20emulator: Add +BIND implementationDenis Kenzior1-0/+65
2014-10-20emulator: Fix CHLD=? not treated as part of SLCDenis Kenzior1-7/+37
2014-10-20emulator: Improve SLC establishment logicDenis Kenzior3-1/+43
2014-10-20hfp: Add enum for known HF IndicatorsDenis Kenzior1-0/+4
2014-10-20hfp: Update for new HFP 1.7 valuesDenis Kenzior1-1/+4
2014-10-20doc: Fixup Handsfree APIDenis Kenzior1-1/+3
2014-09-20handsfree-audio: Fix broken coding style in switch statementMarcel Holtmann1-4/+4
2014-09-15gdbus: Fix match rule for NameOwnerChangedAlban Crequy1-1/+2
When subscribing to the D-Bus signal NameOwnerChanged from the bus driver, specify the object path and the sender in the match rule. Otherwise, random connections on the bus could impersonate the bus driver.
2014-09-08gdbus: Fix crash when watch is toggled or disconnectedLuiz Augusto von Dentz1-2/+8
This partially reverts 510b32b7156625b9df737c916b7a7a5c6fb285b9 since it still necessary to take a reference before calling dbus_watch_handle since internally it can call watch_info_free as in the following trace: Invalid read of size 8 at 0x121085: watch_func (mainloop.c:105) by 0x4C72694: g_main_context_dispatch (gmain.c:2539) by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146) by 0x4C72DC1: g_main_loop_run (gmain.c:3340) by 0x120541: main (main.c:551) Address 0x5bbcd90 is 16 bytes inside a block of size 24 free'd at 0x4A079AE: free (vg_replace_malloc.c:427) by 0x4C7837E: g_free (gmem.c:252) by 0x4F708BF: dbus_watch_set_data (dbus-watch.c:614) by 0x4F70938: _dbus_watch_unref (dbus-watch.c:132) by 0x4F6E9A7: _dbus_transport_handle_watch (dbus-transport.c:884) by 0x4F59AFB: _dbus_connection_handle_watch (dbus-connection.c:1497) by 0x4F70AF9: dbus_watch_handle (dbus-watch.c:683) by 0x121084: watch_func (mainloop.c:103) by 0x4C72694: g_main_context_dispatch (gmain.c:2539) by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146) by 0x4C72DC1: g_main_loop_run (gmain.c:3340) by 0x120541: main (main.c:551)
2014-09-08gdbus: Fix crash when calling g_dbus_add_service_watchLuiz Augusto von Dentz1-1/+0
If g_dbus_add_service_watch is called for service which bus name is already known the following crash can happen: invalid read of size 1 at 0x4C2A2F2: strlen (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E97722: g_strdup (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x405B0C: update_name_cache (watch.c:435) by 0x405C37: update_service (watch.c:593) by 0x4E7A2A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4038EA: client_ready (test-gdbus-client.c:1014) by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x403614: main (test-gdbus-client.c:1058) Address 0x5dbe5d0 is 0 bytes inside a block of size 7 free'd at 0x4C28577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E7FF7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x405B04: update_name_cache (watch.c:434) by 0x405C37: update_service (watch.c:593) by 0x4E7A2A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4038EA: client_ready (test-gdbus-client.c:1014) by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x403614: main (test-gdbus-client.c:1058)
2014-09-08Revert "gdbus: Don't include just added interfaces in GetManagedObjects"Luiz Augusto von Dentz1-7/+1
This actually creates a problem since the code now does flush any pending message on the queue any signal will be send right away before the actual reply to GetManagedObjects which will not contain those interfaces.
2014-09-08gdbus: Fix use after freeAndrei Emeltchenko1-3/+8
Refactor filter_data_remove_callback so that we do not iterate over freed pointer.
2014-09-08gdbus: Avoid reporting GDBusClient disconnect twiceClaudio Takahasi1-2/+12
No matter if disconnection was reported previously, g_dbus_client_unref() was always calling service disconnect callback. This patch fix the following scenario: 1) service disconnects from the bus 2) disconnect callback gets called 3) client calls g_dbus_client_unref(), disconnect callback is called again.
2014-08-01build: Avoid warnings about _FORTIFY_SOURCEDenis Kenzior1-1/+1
Gentoo (and others) define _FORTIFY_SOURCE=2 by default. We redefine it, resulting in an error / configure failure.
2014-07-08ublox: Minor style cleanupDenis Kenzior1-0/+1