Regularly command "hcitool scan" hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am regularly having trouble that an application is unable to connect to a 
nearby bluetooth device without an obvious reason. The connection is made each 
5 minutes. The distance is only 10 to 20 cm.

In order to make things work, I have a monitoring script that each 15 minutes 
does a "timeout -k 10s 1m hcitool scan". When it times out after 1 minute, 
which occurs a few times per day, the script reloads the driver and things are 
OK again.

The system is a Raspberry Pi 1B, with linux kernel 4.1.6, bluez-5.33-1.1, 
libbluetooth3-5.33-1.1, and bluez-firmware-1.2-148.1.

The bluetooth device is:
Bus 001 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

Should I use bluetoothctl? If so, where do I find comprehensive documentation 
on it?

-- 
fr.gr.

Freek de Kruijf

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux