I found that sometime after BT device is plugged in, it is not "online"
use the "hciconfig -a" to get BT adaptor status
For example - this is output when device was not online.

Code:
--------------------
    
  hci0: Type: BR/EDR Bus: USB
  BD Address: 00:19:86:00:18:CB ACL MTU: 1017:8 SCO MTU: 64:0
  DOWN 
  RX bytes:444 acl:0 sco:0 events:16 errors:0
  TX bytes:69 acl:0 sco:0 commands:16 errors:0
  Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
  Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
  Link policy: RSWITCH HOLD SNIFF PARK 
  Link mode: SLAVE ACCEPT
  
--------------------


In this case I would do a "hciconfig hci0 reset"
and then output of "hciconfig -a" would look like

Code:
--------------------
    
  hci0: Type: BR/EDR Bus: USB
  BD Address: 00:19:86:00:18:CB ACL MTU: 1017:8 SCO MTU: 64:0
  UP RUNNING 
  RX bytes:882 acl:0 sco:0 events:31 errors:0
  TX bytes:135 acl:0 sco:0 commands:31 errors:0
  Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
  Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
  Link policy: RSWITCH HOLD SNIFF PARK 
  Link mode: SLAVE ACCEPT 
  Name: 'BCM2045B3 Initialization Configuration Record File w/o UHE'
  Class: 0x000000
  Service Classes: Unspecified
  Device Class: Miscellaneous, 
  HCI Version: 2.0 (0x3) Revision: 0x411a
  LMP Version: 2.0 (0x3) Subversion: 0x430e
  Manufacturer: Broadcom Corporation (15)ode]
  
--------------------


On ubuntu Bluez4 kept all details of Bluetooth adaptors, trusted
devices, paired devices etc. in the var/lib/bluetooth directories and
I'd often delete all to get back to a clean system.

You can also run the bluetoothd daemon with debug and message to go
system log.

If you need to make the PC discoverable by the BT device (i.e. for some
reason BT adaptors is in in the right mode)  - then you can use the
command "hciconfig pci0 piscan


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=101872

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to