What does hciconfig do if no command is given?

What does hciconfig do if no command is given?

If hciX is not given, hciconfig prints name and basic information about all the Bluetooth devices installed in the system. If hciX is given but no command is given, it prints basic information on device hciX only.

How is hciconfig used to configure Bluetooth devices?

hciconfig is used to configure Bluetooth devices. hciX is the name of a Bluetooth device installed in the system. If hciX is not given, hciconfig prints name and basic information about all the Bluetooth devices installed in the system. If hciX is given but no command is given, it prints basic information on device hciX only.

What do the hex codes on hciconfig stand for?

I can’t seem to find anywhere what the hex codes listed under hciconfig Features stand for. Does anyone know where I can find a list to show which feature corresponds to which hex code?

Where to put hciconfig hci0 up on Raspberry Pi?

The command is sudo hciconfig hci0 up. Should I put it in /etc/rc.local? or should I use update-rc.d? If there is no “proper” way to do it, I’ll choose the way with /etc/rc.local. Thanks. Following @krt’s answer I added @reboot cronjob, but hci0 are still down when rebooting.

What does hcix print if no command is given?

If hciX is given but no command is given, it prints basic information on device hciX only. Basic information is interface type, BD address, ACL MTU, SCO MTU, flags (up, init, running, raw, page scan enabled, inquiry scan enabled, inquiry, authentication enabled, encryption enabled).

Is there a way to init a hci0 device?

$ hciconfig dev hci0: Type: BR/EDR Bus: USB BD Address: 00:03:C9:80:08:0B ACL MTU: 377:10 SCO MTU: 16:0 DOWN RX bytes:688 acl:0 sco:0 events:20 errors:0 TX bytes:80 acl:0 sco:0 commands:20 errors:0 That looks fine, your interface is already up. The next step is just to scan for external devices. Try Then you just have to pair with the device.