| 32 | | To Do |
| | 32 | ''hciconfig'' returns current status of the ''device'' or configures it: |
| | 33 | |
| | 34 | {{{ |
| | 35 | root@node1-1:~# hciconfig hci0 |
| | 36 | hci0: 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 | {{{ |
| | 46 | root@node1-2:~# hcitool lq 00:0A:3A:59:9A:34 |
| | 47 | Link quality: 255 |
| | 48 | root@node1-2:~# hcitool rssi 00:0A:3A:59:9A:34 |
| | 49 | RSSI return value: 5 |
| | 50 | root@node1-2:~# hcitool tpl 00:0A:3A:59:9A:34 |
| | 51 | Current transmit power level: -12 |
| | 52 | }}} |
| | 53 | |
| | 54 | |
| | 55 | Interface settings are described in file: |