| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Correct the signal handler registration bt-agent
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
fix gcc-10 compile
|
| |/ |
|
|\ \
| | |
| | | |
remove incorrectly handled error argument from device_* calls in bt-device.c
|
| |/ |
|
|\ \
| |/
|/| |
Fix bt-agent file reloading signal handler setup
|
|/ |
|
|\
| |
| | |
Add UUID for SIMAccess
|
|/ |
|
|\
| |
| | |
Fix grammar in bt-obex help
|
|/ |
|
|\
| |
| | |
Fix proxy_return value check in obex_client.c
|
| | |
|
|\ \
| |/
|/| |
Bug fixes, and AuthorizeService implementation
|
| |
| |
| |
| | |
We need to include gstdio.h for that function.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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?)
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
It's how most build helpers expect it.
|
| |
| |
| |
| | |
Expects a gboolean, not a pointer.
|
| | |
|
| |
| |
| |
| |
| | |
The modifier to use depends on the arch targetted. Use GLib's constant
which will always be the correct one for the arch.
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
dbus needs a tuple of variants
|
| | |
|
|/ |
|
|\
| |
| | |
Add property to automatically accept incoming files
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Fix implicit pointer conversion in bt-device.c
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
Fix AM_LDFLAGS misuse, use LDADD instead
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
fix crash, dbus call
|
|/ |
|
| |
|
| |
|
|
|
|
| |
home.
|
|
|
|
| |
Bluez-tools now at version 0.2.0. Details regarding changes included in the ChangeLog file.
|
|
|
|
| |
updated autotools scripts.
|
| |
|
|
|
|
|
|
| |
Updated API of obexd to 0.42
Fixed type of daemon_arg in bt-agent
Added daemon mode support in bt-network
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
changed comment in bt-network :)
|
|
|
|
| |
Updated MANs
|