LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   BlueZ with iMX FreeScale PDK cannot scan (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/bluez-with-imx-freescale-pdk-cannot-scan-746936/)

dracoid4 08-12-2009 04:18 AM

BlueZ with iMX FreeScale PDK cannot scan
 
I am using iMX Freescale PDK with the onboard CSR BT chip.

Command sent before:
#hcid -f /etc/bluetooth/hcid.conf
#sdpd
#rfcomm -f /etc/bluetooth/rfcomm.conf
#hciattach -s 115200 /dev/ttymxc1 bcsp 921600
#hciconfig hci0 up

I was able to get the following from hciconfig -a hci0:

hci0: Type: UART
BD Address: 00:02:5B:00:A5:A5 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:723 acl:0 sco:0 events:19 errors:0
TX bytes:621 acl:0 sco:0 commands:18 errors:0
Features: 0xff 0xff 0x8f 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: 'BlueZ(0)'
Class: 0x3e0104
Service Classes: Networking, Rendering, Capturing
Device Class: Computer, Desktop workstation
HCI Ver: 2.0 (0x3) HCI Rev: 0xc5c LMP Ver: 2.0 (0x3) LMP Subver: 0xc5c
Manufacturer: Cambridge Silicon Radio (10)

But when i do a hcitool scan, I will get the error:
Scanning ...
Inquiry failed: Connection timed out

What did I miss out?


All times are GMT -5. The time now is 12:36 PM.