2008-12-12 18:01:32

by folkert

[permalink] [raw]
Subject: /var/lib/bluetooth/$BDADDR/names, when does that file get updated?

Hi,

When does /var/lib/bluetooth/$BDADDR/names get updated?
Because hcitool inq does not tell the names while hcitool scan does not
tell class of the devices.


Folkert van Heusden

--
Multi tail barnamaj mowahib li mora9abat attasjilat wa nataij awamir
al 7asoub. damj, talwin, mora9abat attarchi7 wa ila akhirih.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com


2008-12-22 13:22:05

by folkert

[permalink] [raw]
Subject: Re: /var/lib/bluetooth/$BDADDR/names, when does that file get updated?

> > When does /var/lib/bluetooth/$BDADDR/names get updated?
> > Because hcitool inq does not tell the names while hcitool scan does not
> > tell class of the devices.
> every time a HCI remote name complete event is received. Or in case of
> Bluetooth 2.1 when an Extended Inquiry Result with name information is
> recieved.

Ah ok.

F.y.i.: I was trying to monitor 24/7 if a bluetooth device with a specific
mac-address and device-name was in reach of the system with that bluetooth-
dongle. Worked like a charm but unfortunately these usb-dongles die
(brakedown) in a couple of days.


Folkert van Heusden

--
MultiTail cok yonlu kullanimli bir program, loglari okumak, verilen
kommandolari yerine getirebilen. Filter, renk verme, merge, 'diff-
view', vs. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com

2008-12-19 18:59:54

by Marcel Holtmann

[permalink] [raw]
Subject: Re: /var/lib/bluetooth/$BDADDR/names, when does that file get updated?

Hi Folkert,

> When does /var/lib/bluetooth/$BDADDR/names get updated?
> Because hcitool inq does not tell the names while hcitool scan does not
> tell class of the devices.

every time a HCI remote name complete event is received. Or in case of
Bluetooth 2.1 when an Extended Inquiry Result with name information is
recieved.

Regards

Marcel