Fix: Use "btmgmt info" instead of deprecated "hciconfig"

This commit is contained in:
Sebastian Apel 2021-01-14 10:22:04 +01:00
parent 1b54a4ab87
commit 7fa1c54ac9

View file

@ -8,8 +8,8 @@ cat /proc/version > "/tmp/$LOGNAME"
echo "-------- lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 " >> "/tmp/$LOGNAME"
lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 >> "/tmp/$LOGNAME"
echo "-------- hciconfig" >> "/tmp/$LOGNAME"
hciconfig >> "/tmp/$LOGNAME"
echo "-------- btmgmt info" >> "/tmp/$LOGNAME"
btmgmt info >> "/tmp/$LOGNAME"
echo "-------- hciconfig hci0 features" >> "/tmp/$LOGNAME"
hciconfig hci0 features >> "/tmp/$LOGNAME"