Skip to content

Hciconfig

configure Bluetooth devices

List of bluetooth devices

hciconfig -a provides way more information, including the Bluetooth version.

hciconfig -a

켜져 있으면 다음과 같이 세 번째 줄에 UP RUNNING ... 이란 글이 나온다.

hci0:   Type: Primary  Bus: USB
    BD Address: 00:1A:7D:DC:70:13  ACL MTU: 310:10  SCO MTU: 64:8
    UP RUNNING PSCAN 
    RX bytes:1013 acl:0 sco:0 events:60 errors:0
    TX bytes:4890 acl:0 sco:0 commands:60 errors:0
    Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    Link policy: RSWITCH HOLD SNIFF PARK 
    Link mode: SLAVE ACCEPT 
    Name: 'hostname'
    Class: 0x1c0104
    Service Classes: Rendering, Capturing, Object Transfer
    Device Class: Computer, Desktop workstation
    HCI Version: 4.0 (0x6)  Revision: 0x22bb
    LMP Version: 4.0 (0x6)  Subversion: 0x22bb
    Manufacturer: Cambridge Silicon Radio (10)

꺼져있으면 다음과 같이 세 번째 줄에 DOWN 이란 글이 나온다.

hci0:   Type: Primary  Bus: USB
        BD Address: 84:1B:77:2D:A3:83  ACL MTU: 1021:4  SCO MTU: 96:6
        DOWN
        RX bytes:751 acl:0 sco:0 events:49 errors:0
        TX bytes:455 acl:0 sco:0 commands:49 errors:0
        Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH SNIFF
        Link mode: SLAVE ACCEPT

See also