summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #44 from chardin-cpi/ckhardin/fix-signal-handlersHEADmastergitjackolantern2020-10-240-0/+0
|\ | | | | Correct the signal handler registration bt-agent
| * Correct the signal handler registration bt-agentCharles Hardin2020-08-111-2/+2
| | | | | | | | | | | | | | | | Integration with systemd showed that the bt-agent was not terminating on a SIGTERM being sent seems evident from the typo on the handler registration for the TERM being assign to the usr1_handler. Signed-off-by: Charles Hardin <charles.hardin@chargepoint.com>
* | Merge pull request #34 from leigh123linux/gcc-10gitjackolantern2020-10-242-2/+4
|\ \ | | | | | | fix gcc-10 compile
| * | fix gcc-10 compileLeigh Scott2020-01-282-2/+4
| |/
* | Merge pull request #29 from jhnswlhfr/mastergitjackolantern2020-10-241-11/+11
|\ \ | | | | | | remove incorrectly handled error argument from device_* calls in bt-device.c
| * | remove incorrectly handled error argument from device_* calls00002019-09-091-11/+11
| |/
* | Merge pull request #27 from LeBlue/fix-bt-agent-signal-handlergitjackolantern2020-10-241-2/+2
|\ \ | |/ |/| Fix bt-agent file reloading signal handler setup
| * Fix bt-agent file reloading signal handler setupMatthias Wauer2019-06-131-2/+2
|/
* Merge pull request #26 from nicolasfella/simaccessbluez-tools-update-working-branchbluez-tools-updategitjackolantern2019-04-281-0/+1
|\ | | | | Add UUID for SIMAccess
| * Add UUID for SIMAccessNicolas Fella2018-12-251-0/+1
|/
* Merge pull request #19 from dflogeras/bt-obex-typo-fixgitjackolantern2017-09-111-1/+1
|\ | | | | Fix grammar in bt-obex help
| * Fix grammar in bt-obex helpDave Flogeras2017-06-261-1/+1
|/
* Merge pull request #12 from keaton-freude/bt-obex-fixgitjackolantern2016-12-121-1/+1
|\ | | | | Fix proxy_return value check in obex_client.c
| * Fix proxy_return value check in obex_client.ckdfreude2016-08-181-1/+1
| |
* | Merge pull request #9 from hadess/mastergitjackolantern2016-12-128-38/+68
|\ \ | |/ |/| Bug fixes, and AuthorizeService implementation
| * helpers: Fix undeclared g_access()Bastien Nocera2016-05-131-0/+1
| | | | | | | | We need to include gstdio.h for that function.
| * bt-agent: Fix possible crasher when pin or passkey is requestedBastien Nocera2016-05-131-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | Both the RequestPinCode and RequestPasskey agent functions were using incorrect constructs to reply to bluetoothd. Fix those to fix a possible crash: Backtrace stopped: previous frame identical to this frame (corrupt stack?) #0 0xb6f618a4 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0 #1 0xb6f5d1b6 in g_variant_new_tuple () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0 #2 0x00012fee in _bt_agent_method_call_func () #3 0xb6e998a8 in ?? () from /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
| * bt-agent: Don't wait for AgentReleased signalBastien Nocera2016-05-131-3/+0
| | | | | | | | | | | | This is only useful for applications that do more than handle agents and would stay running afterwards. As we're yanking ourselves off the bus, bluetoothd will notice and everything will be fine.
| * bt-agent: Fix incorrect Unix signal handlingBastien Nocera2016-05-132-20/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The signal handler cannot do any sort of memory allocation, and it's likely that it refuses to stop when wrapped in a systemd service because of this. Instead, use the g_unix_signal_add() helper which will call the handler in a context that does allow us to re-read the PIN text file for example. Note that monitoring SIGUSR1 requires glib 2.36 or newer, as mentioned in the documentation, even if g_unix_signal_add() is already available in glib 2.30.
| * bt-agent: Implement AuthorizeService securityBastien Nocera2016-05-131-2/+28
| | | | | | | | | | | | We shouldn't allow just anyone to connect to our Bluetooth services. Only allow paired devices to connect. Trusted devices are already allowed to connect without calling out the agent.
| * build: Run configure after autogen.shBastien Nocera2016-05-131-0/+1
| | | | | | | | It's how most build helpers expect it.
| * bt-obex: Fix compilation warningBastien Nocera2016-05-131-1/+1
| | | | | | | | Expects a gboolean, not a pointer.
| * bt-agent: Fix PIN code scanningBastien Nocera2016-05-131-3/+7
| |
| * bt-obex: Fix large integer formatting warningBastien Nocera2016-05-092-2/+2
| | | | | | | | | | The modifier to use depends on the arch targetted. Use GLib's constant which will always be the correct one for the arch.
| * bt-adapter: Fix help outputBastien Nocera2016-05-081-1/+1
|/ | | | | | It mentions the "Name" property, but only handles the "Alias" property. The "Name" property in bluez is read-only anyway, and only set from the daemon side.
* Merge pull request #8 from syntheticpp/variantgitjackolantern2015-09-091-60/+74
|\ | | | | dbus needs a tuple of variants
| * dbus needs a tuple of variantsPeter Kümmel2015-09-081-10/+24
| |
| * replace tabs with spaces and remove trailing spacesPeter Kümmel2015-09-081-51/+51
|/
* Merge pull request #3 from spellingmistake/mastergitjackolantern2015-08-313-11/+37
|\ | | | | Add property to automatically accept incoming files
| * Add property to automatically accept incoming filesThomas Egerer2015-06-113-11/+37
| | | | | | | | | | | | | | | | When receiving more than one file from a paired device, it's not very pleasant to type 'yes' (or 'y' for that matter) over and over again. Hence the -y switch to auto-accept all incoming files. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
* | Merge pull request #7 from tdaitx/fix-implicity-pointer-conversiongitjackolantern2015-08-312-1/+2
|\ \ | | | | | | Fix implicit pointer conversion in bt-device.c
| * | Fix implicit pointer conversion in bt-device.cTiago Stürmer Daitx2015-08-292-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | Provide the right includes so gcc can know the right return type instead of assuming an integer. This fix prevents the implicit pointer conversion warning from happening (see [1] why it is good to avoid those kind of conversions). bt-device.c was missing an include for gio/gunixinputstream.c. configure.ac had to be updated to include gio-unix-2.0 module. [1] https://wiki.debian.org/ImplicitPointerConversions
* | Merge pull request #5 from tdaitx/mastergitjackolantern2015-08-311-2/+2
|\ \ | | | | | | Fix AM_LDFLAGS misuse, use LDADD instead
| * | Fix AM_LDFLAGS misuse, use LDADD insteadTiago Sturmer Daitx2015-08-271-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Libraries are wrongly being added to LDFLAGS, they should be set in LIBS or LDADD according to autoconf [1] and automake [2]. This causes failure to build from source (FTBFS) in Ubuntu Wily Proposed as reported in Launchpad #1489661 [3] and Debian #797128. [1] http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Preset-Output-Variables.html#index-LDFLAGS-112 [2] http://www.gnu.org/software/automake/manual/html_node/Linking.html [3] https://bugs.launchpad.net/debian/+source/bluez-tools/+bug/1489661 [4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797128
* | Merge pull request #4 from syntheticpp/mastergitjackolantern2015-08-311-2/+4
|\ \ | |/ |/| fix crash, dbus call
| * fix crash, dbus callPeter Kümmel2015-08-221-2/+4
|/
* Changed a C flag, though it does not affect compilation.maxthest2014-08-031-1/+1
|
* Forgot to switch to the GIO libraries.maxthest2014-08-031-2/+2
|
* bluez-tools-0.2.0 |Documentation| Updated project git repository to current ↵orangejackolantern2014-08-031-1/+1
| | | | home.
* Source code and contrib files updated to use the newer BlueZ 5 API. ↵Daniel Sills2014-08-03170-12283/+19822
| | | | Bluez-tools now at version 0.2.0. Details regarding changes included in the ChangeLog file.
* bluez-tools-0.2.0 |Documentation Autotools| Added update to readme and ↵orangejackolantern2014-08-033-47/+70
| | | | updated autotools scripts.
* Part of previous commitbluez-tools-legacyAlexander Orlenko2011-09-2324-2356/+130
|
* Updated API of bluez-tools to 4.96Alexander Orlenko2011-09-2312-0/+1772
| | | | | | Updated API of obexd to 0.42 Fixed type of daemon_arg in bt-agent Added daemon mode support in bt-network
* Some refactoring stuffAlexander Orlenko2011-01-091-8/+9
|
* Updated .gitignoreAlexander Orlenko2011-01-093-78/+385
| | | | | | Added capability/pin/daemon options to bt-agent Added support of PIN Hash Table to lib/bluez/agent.c Added support of Interactive Mode to lib/bluez/agent.c
* Removed the explicit dependence D-BusAlexander Orlenko2011-01-092-3/+2
|
* Added git-version-gen to extra distAlexander Orlenko2010-11-221-0/+1
|
* Updated READMEAlexander Orlenko2010-11-221-0/+1
|
* used dist_man_MANS instead of man_MANS (fixed issue #7)Alexander Orlenko2010-11-222-5/+3
| | | | changed comment in bt-network :)
* Added disconnect command to bt-deviceAlexander Orlenko2010-11-2212-26/+40
| | | | Updated MANs