User Tools

Site Tools


wiki:lininobluetooth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:lininobluetooth [2014/10/30 20:22]
adriano [Use BlueZ]
wiki:lininobluetooth [2019/05/28 11:22] (current)
Line 38: Line 38:
 </​code>​ </​code>​
  
 +The result should be:
 <code bash> <code bash>
 root@linino:​~#​ hciconfig -a root@linino:​~#​ hciconfig -a
 hci0: Type: USB hci0: Type: USB
  BD Address: 00:​1A:​7D:​DA:​71:​05 ACL MTU: 310:10 SCO MTU: 64:8  BD Address: 00:​1A:​7D:​DA:​71:​05 ACL MTU: 310:10 SCO MTU: 64:8
- UP RUNNING PSCAN ISCAN + **UP RUNNING PSCAN ISCAN** 
  RX bytes:6971 acl:10 sco:0 events:172 errors:0  RX bytes:6971 acl:10 sco:0 events:172 errors:0
  TX bytes:1283 acl:8 sco:0 commands:97 errors:0  TX bytes:1283 acl:8 sco:0 commands:97 errors:0
Line 55: Line 56:
  HCI Ver:  (0x6) HCI Rev: 0x22bb LMP Ver:  (0x6) LMP Subver: 0x22bb  HCI Ver:  (0x6) HCI Rev: 0x22bb LMP Ver:  (0x6) LMP Subver: 0x22bb
 </​code>​ </​code>​
 +
 +If the device were to be down, you have to take it up with this command:
 +<code bash>
 +hciconfig hci0 up
 +</​code>​
 +
 +If the command returns error trying to disconnect and re-insert the USB dongle, and retry the command.
  
 To scan for remote devices: ​ To scan for remote devices: ​
wiki/lininobluetooth.txt ยท Last modified: 2019/05/28 11:22 (external edit)