bluetooth.rst
changeset 127 54418eba8bc7
parent 81 c136e60b0958
child 128 227c1986d643
equal deleted inserted replaced
114:099903bdc13c 127:54418eba8bc7
    14   $ hcitool dev
    14   $ hcitool dev
    15 Devices:
    15 Devices:
    16     hci0    00:03:C9:05:65:98
    16     hci0    00:03:C9:05:65:98
    17     hci1    00:1F:81:00:02:5A
    17     hci1    00:1F:81:00:02:5A
    18 
    18 
    19 or
    19 or (hciconfig placed in /usr/sbin, so see you PATH!)
    20 
    20 
    21   $ sudo hciconfig -a
    21   $ hciconfig -a
    22 hci0:   Type: USB
    22 hci0:   Type: USB
    23     BD Address: 00:03:C9:05:65:98 ACL MTU: 1017:8 SCO MTU: 64:0
    23     BD Address: 00:03:C9:05:65:98 ACL MTU: 1017:8 SCO MTU: 64:0
    24     UP RUNNING PSCAN
    24     UP RUNNING PSCAN
    25     RX bytes:2517 acl:12 sco:0 events:64 errors:0
    25     RX bytes:2517 acl:12 sco:0 events:64 errors:0
    26     TX bytes:756 acl:12 sco:0 commands:33 errors:0
    26     TX bytes:756 acl:12 sco:0 commands:33 errors:0
    54 ** How find remote bluetooth device?
    54 ** How find remote bluetooth device?
    55 
    55 
    56   $ hcitool scan
    56   $ hcitool scan
    57 Scanning ...
    57 Scanning ...
    58         00:22:66:D1:B7:20       Nokia 5320
    58         00:22:66:D1:B7:20       Nokia 5320
       
    59 
       
    60 In order to do this remote device must be set "visible".
       
    61 
       
    62 ** How to set bluetooth dongle "visible"?
       
    63 
       
    64   $ hciconfig -a | grep hci.:
       
    65 hci0:	Type: USB
       
    66   $ sudo hciconfig hci0 piscan
    59 
    67 
    60 ** What version of Bluetooth support local device?
    68 ** What version of Bluetooth support local device?
    61 
    69 
    62   $ sudo hciconfig -a
    70   $ sudo hciconfig -a
    63 hci0:   Type: USB
    71 hci0:   Type: USB