Changes between Version 3 and Version 4 of HowTo/Bluetooth/UsingCL


Ignore:
Timestamp:
Sep 1, 2007, 6:45:46 PM (17 years ago)
Author:
harisk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/Bluetooth/UsingCL

    v3 v4  
    2828http://bluez.sourceforge.net/contrib/HOWTO-PAN
    2929
    30 == hci, hciconfig, and hcitool ==
     30== hciconfig and hcitool ==
    3131
    32 To Do
     32''hciconfig'' returns current status of the ''device'' or configures it:
     33
     34{{{
     35root@node1-1:~# hciconfig hci0
     36hci0:   Type: USB
     37        BD Address: 00:0A:3A:59:9A:34 ACL MTU: 192:8 SCO MTU: 64:8
     38        UP RUNNING PSCAN
     39        RX bytes:409 acl:0 sco:0 events:18 errors:0
     40        TX bytes:316 acl:0 sco:0 commands:17 errors:0
     41}}}
     42
     43''hcitool'' configures Bluetooth ''connections''. For instance, to test ''link quality'', ''RSSI'', and ''transmit power'' used by the device 00:0A:3A:59:9A:34 on node1-1:
     44
     45{{{
     46root@node1-2:~# hcitool lq 00:0A:3A:59:9A:34
     47Link quality: 255
     48root@node1-2:~# hcitool rssi 00:0A:3A:59:9A:34
     49RSSI return value: 5
     50root@node1-2:~# hcitool tpl 00:0A:3A:59:9A:34
     51Current transmit power level: -12
     52}}}
     53
     54
     55Interface settings are described in file:
    3356
    3457{{{