Skip to contentSkip to conversation

bluetooth clock and security manager

Bluez-users Jin Pu 2 participants 2 messages Apr 4, 2005 Bluetooth drivers

lore
Share & tools
lore

Jin Pu

author
#0 lore raw

Hi,
I want to read local bluetooth clock with hcitool. But when I=
use the command "hcitool clock XX:XX:XX:XX:XX:XX=A3=A8local= bd_addr)",the return message is "not connected",and I am sure= that I have created one ACL link.
So, I use "hcitool clock XX:XX:XX:XX:XX:XX=A3=A8remote=
bd_addr)",the reture message is "read failed,Input/output= error",but the command "hcitool clkoff" works good.
Now,I have to read the local device clock or the remote=
clock,what shall I do?
There is another question about security mananger within=
BlueZ.
I have paired my pda with BlueZ successfully,but I want to make=
it clearly that how to add authenticated device into the= security manager in programming ,and where do these= authenticated device go?
Thanks.

=09

=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=D6=C2 =C0=F1=A3=A1
=09=09=09=09

=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Jin Pu =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1jpu@emails.bjpu.edu.cn =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12005-04-04

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi,

Quoted 1 line

I want to read local bluetooth clock with hcitool. But when I use the=

command "hcitool clock XX:XX:XX:XX:XX:XX=EF=BC=88local bd_addr)",the ret=
urn message is "not connected",and I am sure that I have created one ACL = link.

Quoted 1 line

So, I use "hcitool clock XX:XX:XX:XX:XX:XX=EF=BC=88remote bd_addr)",=

the reture message is "read failed,Input/output error",but the command "h= citool clkoff" works good.

the clock reading is a Bluetooth 1.2 feature. So make sure that you use Bluetooth 1.2 device that supports this HCI command.

Quoted 2 lines

There is another question about security mananger within BlueZ. I have paired my pda with BlueZ successfully,but I want to make it cl=

early that how to add authenticated device into the security manager in p= rogramming ,and where do these authenticated device go?

The current security manager is inside hcid. The link keys are stored at /etc/bluetooth/link_key.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users