* Unable to run bluez test health scripts
@ 2012-04-26 8:34 Ángel Martínez Cavero
2012-04-27 6:50 ` [HPD test scripts] " Ángel Martínez Cavero
0 siblings, 1 reply; 2+ messages in thread
From: Ángel Martínez Cavero @ 2012-04-26 8:34 UTC (permalink / raw)
To: linux-bluetooth
Dear bluez list,
this is my first message to the list so thanks in advance for your time
reading me :-)
I want to develop some health field applications (in C code) so I've
just start playing with the latest blueZ libraries (4.99 version)
available for download. First thing was try to understand the logical
process and routines involved in the API through the test scripts shared
with the blueZ project (under "test" folder). The problem is that my
system is not able to run all those scripts related with the health
profile unfortunately, that is: "test-health" and "test-health-sink"
files getting always the same output as result (the others works fine:
simple-agent, test-discovery, etc):
First script output
=============
./test-health
Select 1. source or 2. sink: 2
Select a data type: 1004
ERROR:dbus.connection:Unable to set arguments ({'DataType':
dbus.UInt16(1004), 'Role': 'Sink', 'Description': 'Test sink'},)
according to signature None: <type 'exceptions.TypeError'>: an integer
is required
Traceback (most recent call last):
File "./test-health", line 110, in <module>
"Role": role})
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in
__call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 620,
in call_blocking
message.append(signature=signature, *args)
TypeError: an integer is required
Second script output
===============
./test-health-sink
ERROR:dbus.connection:Unable to set arguments ({'DataType':
dbus.UInt16(4103), 'Role': 'sink'},) according to signature None: <type
'exceptions.TypeError'>: an integer is required
Traceback (most recent call last):
File "./test-health-sink", line 18, in <module>
"Role": "sink"})
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in
__call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 620,
in call_blocking
message.append(signature=signature, *args)
TypeError: an integer is required
I'm working with Ubuntu 11.10 OS (32 bits). Any advice would be greatly
appreciated.
Best regards.
^ permalink raw reply [flat|nested] 2+ messages in thread* [HPD test scripts] Unable to run bluez test health scripts
2012-04-26 8:34 Unable to run bluez test health scripts Ángel Martínez Cavero
@ 2012-04-27 6:50 ` Ángel Martínez Cavero
0 siblings, 0 replies; 2+ messages in thread
From: Ángel Martínez Cavero @ 2012-04-27 6:50 UTC (permalink / raw)
To: linux-bluetooth
Hi community,
after reading the kind of messages (technical level) send it to the list
yesterday I suspect that this is not the best place to ask a question as
I did. I don't want to cause any trouble to the blueZ developers so I
would appreciate if you could indicate me the best place to ask my
question (related to the health profile test script execution).
Thanks in advance,
Ángel
========
Dear bluez list,
this is my first message to the list so thanks in advance for your time
reading me :-)
I want to develop some health field applications (in C code) so I've
just start playing with the latest blueZ libraries (4.99 version)
available for download. First thing was try to understand the logical
process and routines involved in the API through the test scripts shared
with the blueZ project (under "test" folder). The problem is that my
system is not able to run all those scripts related with the health
profile unfortunately, that is: "test-health" and "test-health-sink"
files getting always the same output as result (the others works fine:
simple-agent, test-discovery, etc):
First script output
=============
./test-health
Select 1. source or 2. sink: 2
Select a data type: 1004
ERROR:dbus.connection:Unable to set arguments ({'DataType':
dbus.UInt16(1004), 'Role': 'Sink', 'Description': 'Test sink'},)
according to signature None:<type 'exceptions.TypeError'>: an integer
is required
Traceback (most recent call last):
File "./test-health", line 110, in<module>
"Role": role})
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in
__call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 620,
in call_blocking
message.append(signature=signature, *args)
TypeError: an integer is required
Second script output
===============
./test-health-sink
ERROR:dbus.connection:Unable to set arguments ({'DataType':
dbus.UInt16(4103), 'Role': 'sink'},) according to signature None:<type
'exceptions.TypeError'>: an integer is required
Traceback (most recent call last):
File "./test-health-sink", line 18, in<module>
"Role": "sink"})
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in
__call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 620,
in call_blocking
message.append(signature=signature, *args)
TypeError: an integer is required
I'm working with Ubuntu 11.10 OS (32 bits). Any advice would be greatly
appreciated.
Best regards.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-27 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 8:34 Unable to run bluez test health scripts Ángel Martínez Cavero
2012-04-27 6:50 ` [HPD test scripts] " Ángel Martínez Cavero
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).