[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bluetooth-dev] "Inquiry: Timer expired"



thank you Alok,

but, I'm stiil getting the error.
hci is discarding some bytes of data when intializing in any baud rate other
than 57600.

And this error is not consistance sometimes it is comming, sometimes not

I'm attaching the log:

/*********LOG-   /var/log/messages***************************/

Jun 27 08:23:04 localhost kernel: Bluetooth Driver v1.3, Copyright (c) 2000,
2001 Axis Communications AB
Jun 27 08:23:04 localhost kernel: BT SYS: Bluetooth driver registered as
ttyBT
Jun 27 08:23:04 localhost kernel: BT SYS: Bluetooth line discipline
registered.
Jun 27 08:23:04 localhost kernel: BT (driver) Initialising bt ctrl struct
Jun 27 08:23:04 localhost kernel: BT SYS: Registering BT proc files
Jun 27 08:23:04 localhost kernel: BT SYS: Bluetooth Driver Using ttyBT[0-6]
(data), ttyBTC (ctrl [7])
Jun 27 08:23:29 localhost btd: Initiating signal handler 
Jun 27 08:23:29 localhost btd: Starting SDP server [sdp_server] 
Jun 27 08:23:29 localhost btd: Opening dev /dev/ttyS0 
Jun 27 08:23:29 localhost kernel: BT (driver) bt_open: Line 7
Jun 27 08:23:29 localhost kernel: BT (driver) Registering tty on line 7
(btd)
Jun 27 08:23:29 localhost kernel: BT (driver) Now 1 open fd:s for ttyBTC
[btd]
Jun 27 08:23:29 localhost kernel: BT (driver) bt_close: Line 7
Jun 27 08:23:29 localhost kernel: BT (driver) Unregistering tty on line 7
Jun 27 08:23:29 localhost kernel: BT (ldisc) bt_tty_open
Jun 27 08:23:29 localhost kernel: BT SYS: Setting BT driver to use serial
tty
Jun 27 08:23:29 localhost btd: Opening dev /dev/ttyBTC 
Jun 27 08:23:29 localhost kernel: BT (driver) bt_open: Line 7
Jun 27 08:23:29 localhost kernel: BT (driver) Registering tty on line 7
(btd)
Jun 27 08:23:29 localhost kernel: BT (driver) Now 1 open fd:s for ttyBTC
[btd]
Jun 27 08:23:30 localhost kernel: BT (driver) bt_flush_buffer: Ignored
Jun 27 08:23:30 localhost sdp_server: SDP Server starting
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising Bluetooth Stack
Jun 27 08:23:30 localhost kernel: BT SYS: Current HW: Ericsson
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising BTMEM [2500 bytes]
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising HCI
Jun 27 08:23:30 localhost kernel: BT SYS: HCI emulator off
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising HCI inbuffers [800]
Jun 27 08:23:30 localhost kernel: BT SYS: Reading buffer sizes in HW module
Jun 27 08:23:30 localhost kernel: 
Jun 27 08:23:30 localhost kernel: HW module contains...
Jun 27 08:23:30 localhost kernel: 10 ACL buffers at 672 bytes
Jun 27 08:23:30 localhost kernel: 0 SCO buffers at 0 bytes
Jun 27 08:23:30 localhost kernel: 
Jun 27 08:23:30 localhost kernel: BT SYS: Reading firmware info in HW module
Jun 27 08:23:30 localhost kernel: Ericsson HW revision info: ^M
Jun 27 08:23:30 localhost kernel:  Generated: 2001-01-17 12:37^M
Jun 27 08:23:30 localhost kernel:  Comment: CXC 125 244 P13A
Jun 27 08:23:30 localhost kernel: 
Jun 27 08:23:30 localhost kernel: BT SYS: Host flow control not enabled
Jun 27 08:23:30 localhost kernel: BT SYS: M/S switch disabled
Jun 27 08:23:30 localhost kernel: BT SYS: Force M/S switch set to 0
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising L2CAP
Jun 27 08:23:30 localhost kernel: BT SYS: Local bd [00:80:37:13:d1:eb]
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising RFCOMM
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising SDP
Jun 27 08:23:30 localhost kernel: BT SYS: Init SDP as server
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising TCS
Jun 27 08:23:30 localhost kernel: BT SYS: Initialising TEST
Jun 27 08:23:30 localhost kernel: BT (driver) __bt_ioctl:
HCIWRITECLASSOFDEVICE
Jun 27 08:23:30 localhost kernel: BT (driver) __bt_ioctl: HCISETLOCALNAME
Jun 27 08:23:31 localhost kernel: BT (driver) Setting write scan enable:
[0x3]
Jun 27 08:23:32 localhost kernel: BT (driver) __bt_ioctl:
HCISET_EVENT_FILTER
Jun 27 08:23:33 localhost kernel: BT (driver) __bt_ioctl: Setting baudrate
in host controller to 115200
Jun 27 08:23:33 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl
0x5401 to n_tty line disc
Jun 27 08:23:33 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl
0x5402 to n_tty line disc
Jun 27 08:23:33 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl
0x5401 to n_tty line disc
Jun 27 08:23:33 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl
0x540b to n_tty line disc
Jun 27 08:23:33 localhost kernel: BT SYS: ERROR: hci_receive_data:
discarding 10 bytes
Jun 27 08:23:37 localhost kernel: BT (driver) __bt_ioctl: HCINQUIRY
Jun 27 08:23:37 localhost kernel: 
Jun 27 08:23:37 localhost kernel: hci_inquiry (9):
Jun 27 08:23:37 localhost kernel: 0x01 0x01 0x04 0x05 0x33 0x8b 0x9e 0x05
0x02 
Jun 27 08:23:47 localhost kernel: inq_timeout: Timeout when waiting for
inquiry response
Jun 27 08:24:11 localhost kernel: BT (driver) __bt_ioctl: HCINQUIRY
Jun 27 08:24:11 localhost kernel: 
Jun 27 08:24:11 localhost kernel: hci_inquiry (9):
Jun 27 08:24:11 localhost kernel: 0x01 0x01 0x04 0x05 0x33 0x8b 0x9e 0x09
0x04 
Jun 27 08:24:29 localhost kernel: inq_timeout: Timeout when waiting for
inquiry response
Jun 27 08:27:19 localhost gconfd (root-1275): 20 items remain in the cache
after cleaning already-synced items older than 300 seconds

/**********************END OF LOG******************************/


Regards,
Sanjeev

-----Original Message-----
From: alok [mailto:alok@xxxxxxx.com]
Sent: Wednesday, June 26, 2002 11:11 AM
To: Sanjeev Manral
Subject: Re: [bluetooth-dev] "Inquiry: Timer expired"


increase timeout u won't get timeout error
like
inq 2 5
regards,
Alok
Alok Goyal
Samsung India Software Operations,




-----Original Message-----
From: Sanjeev Manral 
Sent: Wednesday, June 26, 2002 10:49 AM
To: 'bluetooth-dev@xxxxxxx.com'
Subject: "Inquiry: Timer expired"


hi all,

I'm running axis stack in kernel mode and using ericsson bluetooth kit.
I initialize the stack using btd

#btd --speed 115200 --client --cmdmode

after getting command menu, I'm doing inquiry. It is returning following
error.

>inq 2 2
Inquiry: Timer expired

if I start btd with speed 57600. It works perfectly.

#btd --speed 57600 --client --cmdmode

>inq 2 2
BD 0: 00:80:37:13:bb:20
BD 1: 00:80:37:13:d2:59

"Inquiry: Timer expired" is coming in any speed other then 57600.

What can be reason of this error?

Thanks,
Sanjeev

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com