bluez-tools
tom-slick / bluez-tools Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/bluez-tools
Automatically exported from code.google.com/p/bluez-tools
bluez-tools
../../src/bt-obex.c: In function 'main':
../../src/bt-obex.c:147:2: warning: 'g_type_init' is deprecated (declared at
/usr/include/glib-2.0/gobject/gtype.h:679) [-Wdeprecated-declarations]
g_type_init();
^
../../src/bt-obex.c:313:46: warning: passing argument 3 of
'obexclient_send_files' from incompatible pointer type
obexclient_send_files(client, device_dict, files_to_send, OBEXAGENT_DBUS_PATH, &error);
^
In file included from ../../src/lib/obexd-api.h:41:0,
from ../../src/lib/helpers.h:33,
from ../../src/bt-obex.c:39:
../../src/lib/obexd/obexclient.h:68:6: note: expected 'const gchar **' but
argument is of type 'gchar **'
void obexclient_send_files(OBEXClient *self, const GHashTable *device, const gchar **files, const gchar *agent, GError **error);
^
Original issue reported on code.google.com by [email protected]
on 7 Nov 2014 at 3:21
[deleted issue]
Hi, when I do make install, I get this error:
make install-recursive
make[1]: Entering directory
`/home/victor/code/pkgbuild/bluez-tools/src/bluez-tools-0.1.27-8255'
Making install in src
make[2]: Entering directory
`/home/victor/code/pkgbuild/bluez-tools/src/bluez-tools-0.1.27-8255/src'
make[3]: Entering directory
`/home/victor/code/pkgbuild/bluez-tools/src/bluez-tools-0.1.27-8255/src'
test -z "/usr/bin" || /bin/mkdir -p
"/home/victor/code/pkgbuild/bluez-tools/pkg/usr/bin"
/bin/install -c bt-monitor bt-adapter bt-agent bt-device bt-input bt-audio bt-network bt-serial bt-obex '/home/victor/code/pkgbuild/bluez-tools/pkg/usr/bin'
test -z "/usr/share/man/man1" || /bin/mkdir -p
"/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1"
/bin/install -c -m 644 bt-monitor.1 bt-adapter.1 bt-agent.1 bt-device.1 bt-input.1 bt-audio.1 bt-network.1 bt-serial.1 bt-obex.1 bt-monitor.1 bt-adapter.1 bt-agent.1 bt-device.1 bt-input.1 bt-audio.1 bt-network.1 bt-serial.1 bt-obex.1 '/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-monitor.1'
with `bt-monitor.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-adapter.1'
with `bt-adapter.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-agent.1' with
`bt-agent.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-device.1'
with `bt-device.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-input.1' with
`bt-input.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-audio.1' with
`bt-audio.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-network.1'
with `bt-network.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-serial.1'
with `bt-serial.1'
/bin/install: will not overwrite just-created
`/home/victor/code/pkgbuild/bluez-tools/pkg/usr/share/man/man1/bt-obex.1' with
`bt-obex.1'
make[3]: *** [install-man1] Error 1
make[3]: Leaving directory
`/home/victor/code/pkgbuild/bluez-tools/src/bluez-tools-0.1.27-8255/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/home/victor/code/pkgbuild/bluez-tools/src/bluez-tools-0.1.27-8255/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/victor/code/pkgbuild/bluez-tools/src/bluez-tools-0.1.27-8255'
make: *** [install] Error 2
Original issue reported on code.google.com by [email protected]
on 21 Nov 2010 at 12:56
gcc -v
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.5.1/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.5.1/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-4.5.1/configure --prefix=/usr --libdir=/usr/lib64
--mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap
--enable-languages=ada,c,c++,fortran,java,objc,lto --enable-threads=posix
--enable-checking=release --with-system-zlib
--with-python-dir=/lib64/python2.6/site-packages --disable-libunwind-exceptions
--enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose
--disable-multilib --target=x86_64-slackware-linux
--build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.5.1 (GCC)
bluez-4.79
obex-data-server-0.4.5
obexfs-0.12
obexftp-0.23
openobex-1.5
/home/murat/Desktop/bluez-tools-0.1.38-662e# make
blablabla
blablabla
blablabla
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -pthread -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O2 -MT bt-obex.o -MD -MP -MF $depbase.Tpo -c
-o bt-obex.o bt-obex.c &&\
mv -f $depbase.Tpo $depbase.Po
bt-obex.c: In function ‘main’:
bt-obex.c:313:3: warning: passing argument 3 of ‘obexclient_send_files’
from incompatible pointer type
lib/obexd/obexclient.h:68:6: note: expected ‘const gchar **’ but argument
is of type ‘gchar **’
gcc -std=gnu99 -O2 -ldbus-1 -lpthread -lrt -lglib-2.0 -pthread
-ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
-o bt-obex lib/marshallers.o lib/dbus-common.o lib/helpers.o lib/sdp.o
lib/bluez/adapter.o lib/bluez/agent.o lib/bluez/audio.o lib/bluez/device.o
lib/bluez/input.o lib/bluez/manager.o lib/bluez/network.o
lib/bluez/network_server.o lib/bluez/serial.o lib/obexd/obexagent.o
lib/obexd/obexclient.o lib/obexd/obexclient_file_transfer.o
lib/obexd/obexclient_session.o lib/obexd/obexclient_transfer.o
lib/obexd/obexmanager.o lib/obexd/obexsession.o lib/obexd/obextransfer.o
bt-obex.o -lreadline
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `PC'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `tgetflag'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `tgetent'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `UP'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `tputs'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `tgoto'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `tgetnum'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `BC'
/usr/lib64/gcc/x86_64-slackware-linux/4.5.1/../../../../lib64/libreadline.so:
undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [bt-obex] Error 1
make[2]: Leaving directory `/home/murat/Desktop/bluez-tools-0.1.38-662e/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/murat/Desktop/bluez-tools-0.1.38-662e'
make: *** [all] Error 2
Original issue reported on code.google.com by [email protected]
on 18 Dec 2010 at 2:25
What steps will reproduce the problem?
1. Attempt to clone git repository (git clone
https://code.google.com/p/bluez-tools) as recommended here under Source
2. Observer git's response
3. Wonder about why the source is no longer available.
What is the expected output? What do you see instead?
Expect to get source. Should at least be able to browse it here under Source.
Instead, see no source.
What version of the product are you using? On what operating system?
Doesn't matter.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 May 2012 at 11:44
What steps will reproduce the problem?
1. ./bootstrap
2. ./configure
3. make
What is the expected output? What do you see instead?
make fails with error "Version mismatch error. This is libtool 2.4.6, but the
definition of this LT_INIT comes from libtool 2.4.2."
What version of the product are you using? On what operating system?
git tag 5.30 and git commit b725195bd6a782bdc9689d43e47005c711bcebce
Please provide any additional information below.
patch to fix attached
Original issue reported on code.google.com by [email protected]
on 29 May 2015 at 10:58
Attachments:
From commit message:
There were two issues:
1. According to network-api.txt:Connect,
"The connection will be closed and network device
released either upon calling Disconnect() or when
the client disappears from the message bus."
That means that we shouldn't terminate the app, or bluez disconnects us
immediately. Instead, we should run mainloop, and when user breaks us, the
disconnect will happen (this is similar to pppd nodetach).
Note that with this change, disconnect command is really useless and always
returns "org.bluez.Error.Failed: Operation not permited", as bluez has
rigid check that connect and disconnect come from the same sender process.
2. We print connection data from C caches of DBus values, and those are updated
on PropertyChanged signals. But signals come one by one, so not all properties
are updated at the same time, in the end we print null for interface name/uuid.
Instead, handle PropertyChanged signal for all properties, and print as they
come
(works well as we now run mainloop). Alterntively, we could try to make
GetProperties()
call to DBus, hoping that props on its side are updated at once, only change
signals
are serialized.
Original issue reported on code.google.com by [email protected]
on 1 Nov 2010 at 12:28
Attachments:
Git repo comes w/o configure and friends, and few people may don't
know/remember how to bootstrap autotools environment. There's good practice of
adding a script "autogen.sh" which will do it. Attached script worked for me in
case of bluez-tools.
Original issue reported on code.google.com by [email protected]
on 14 Nov 2010 at 9:19
Attachments:
What steps will reproduce the problem?
1. # ./bt-obex -s
Couldn't connect to DBus session bus: /bin/dbus-launch terminated abnormally
with the following error: Autolaunch error: X11 initialization failed.
What is the expected output? What do you see instead?
Can start obex server instance
What version of the product are you using? On what operating system?
Ubuntu 10.04, ARM
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 May 2011 at 9:56
What steps will reproduce the problem?
1. Try to compile
Compilation failed with GStatBuf undeclared in bt-agent.c:53.
Original issue reported on code.google.com by [email protected]
on 25 Jun 2011 at 10:56
[deleted issue]
What steps will reproduce the problem?
1. Download Bluez-Tools
2. Run Bluez-Tools
3. It is based on 4.0 rather than 5.0. This creates some issues and conflicts.
What is the expected output? What do you see instead?
Most significantly, Bluez-Tools is not compatible with 5.*. This means
Bluez-Tools will not on Chromium-OS unless this is fixed.
What version of the product are you using? On what operating system?
Tested on Windows 7/8 and Linux with Ubuntu Target
Please provide any additional information below.
This is an urgent issue. It should be given Showstopper status.
Porting will probably involve the considerations involved in the Bluez API
introduction and porting guide:
http://www.bluez.org/bluez-5-api-introduction-and-porting-guide/
Original issue reported on code.google.com by [email protected]
on 18 Oct 2013 at 9:06
Building in buildroot environment causes error: "multiple definition of `xtoi'"
due to non-static assignement of inline function:
--- bluez-tools-0.1.20-8459/src/lib/helpers.h 2010-10-06 17:33:21.816000017
-0700
+++ output/build/bluez-tools-0.1.20-8459/src/lib/helpers.h 2010-10-06
17:45:14.800000020 -0700
@@ -47,7 +47,7 @@
exit(EXIT_FAILURE); \
}; }G_STMT_END
-inline int xtoi(const gchar *str)
+static inline int xtoi(const gchar *str)
{
int i = 0;
sscanf(str, "0x%x", &i);
What version of the product are you using? On what operating system?
Using bluez-tools-0.1.20-8459 on Linux(buildroot cross compilation) environment
Please provide any additional information below.
Once the 'static' keyword is added in front of the 'inline' definition of xtoi
in helpers.h compilation works fine. Somehow the compiler gets confused with
the inclusion of this header file and specifically with this inline function.
Defining it as static will ensure that the symbol is only visible within one
file context. Since the function is inline optimizations are not relevant here.
Original issue reported on code.google.com by [email protected]
on 7 Oct 2010 at 12:58
What steps will reproduce the problem?
1. ./bt-adapter -d
What is the expected output? What do you see instead?
Only can it find mobiles, no laptop and desktop PC can be found.
What version of the product are you using? On what operating system?
bluez-tools-0.1.38-662e/Linux Ubuntu 10.04
Please provide any additional information below.
Run on an ARM CotexA8 board with an ARM native build.
Original issue reported on code.google.com by [email protected]
on 24 May 2011 at 5:12
What steps will reproduce the problem?
1. bt-device -c ID
2. Enter information requested
3. Crashes with
#0 0xb6e77d00 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0
#1 0xb6e7b5c8 in g_variant_new_string () from /usr/lib/libglib-2.0.so.0
#2 0x0000c0b8 in _bt_agent_method_call_func (connection=,
sender=, object_path=,
interface_name=, method_name=0x18fc228 "RequestPinCode",
parameters=0x1905f00, invocation=0x18fdab0, user_data=0x0)
at lib/agent-helper.c:310
Expected to pair with device instead.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 17 Nov 2014 at 7:59
Hi Alexander, your tools are great, finally I was able to set up a NAP with
latest Bluez (with some patches though, to follow). I hope many people and
distros will adopt it soon.
In the meantime, a patch to fix grammar in "not found" messages - there should
be passive voice ("не найден", не "не нашел").
Original issue reported on code.google.com by [email protected]
on 31 Oct 2010 at 11:27
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.