Skip to contentSkip to conversation

/var/lib/bluetooth/$BDADDR/names, when does that file get updated?

DISCUSSION Folkert van Heusden 2 participants 3 messages Dec 12, 2008 – Dec 22, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

Signature · 5 lines
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, www.vanheusden.com
maintainer
#1 lore raw

Hi Folkert,

Quoted 3 lines

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

#2 lore raw
Quoted 6 lines
Quoted 3 lines

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

Signature · 5 lines
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, www.vanheusden.com