linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] UART bluetooth chip problem
@ 2005-12-08  1:11 Arthur Chiu
  2005-12-08  5:44 ` Marcel Holtmann
  0 siblings, 1 reply; 21+ messages in thread
From: Arthur Chiu @ 2005-12-08  1:11 UTC (permalink / raw)
  To: Bluez-users

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Hi, I am currently using a bluetooth chip by bluegiga (www.bluegiga.com),
called WRAP THOR 2022-1-B2B.
I set the configurations on the chip so that it is running at 115200 baud
rate. After, I tried doing the following:

# hcid
# hciattach -s 115200 /dev/ttyS1 any 115200 flow
# hciconfig
hci0:   Type: UART
        BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
        DOWN INIT RUNNING
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:4 acl:0 sco:0 commands:1 errors:0
# hciconfig hci0 up
Can't init device hci0: Connection timed out (145)

I checked and error code 145 indeed means Connection timed out on my header
files (errno.h).
What might be wrong?

Thanks a lot.

Cheers,

  Arthur

[-- Attachment #2: Type: text/html, Size: 1024 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: [Bluez-users] UART bluetooth chip problem
@ 2005-12-08 18:58 Pering, Trevor
  0 siblings, 0 replies; 21+ messages in thread
From: Pering, Trevor @ 2005-12-08 18:58 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 2208 bytes --]

You might try "noflow" instead of "flow" to see if there is some problem
with the UART flow control setup/signals.
 
    Trevor
 

________________________________

From: bluez-users-admin@lists.sourceforge.net
[mailto:bluez-users-admin@lists.sourceforge.net] On Behalf Of Arthur
Chiu
Sent: Thursday, December 08, 2005 10:20 AM
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] UART bluetooth chip problem


Hi Marcel, thanks for your reply.

Since I can change the setting on the bluetooth chip, I am currently
using UART H4 and baudrate 115200. As for what chip they are using, I
suppose they manufacture their own bluetooh chip? 

Thanks,

  Arthur


On 12/7/05, Marcel Holtmann <marcel@holtmann.org> wrote: 

	Hi Arthur,
	
	> I am currently using a bluetooth chip by bluegiga
(www.bluegiga.com),
	> called WRAP THOR 2022-1-B2B.
	> I set the configurations on the chip so that it is running at
115200 
	> baud rate. After, I tried doing the following:
	>
	> # hcid
	> # hciattach -s 115200 /dev/ttyS1 any 115200 flow
	> # hciconfig
	> hci0:   Type: UART
	>         BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU:
0:0 
	>         DOWN INIT RUNNING
	>         RX bytes:0 acl:0 sco:0 events:0 errors:0
	>         TX bytes:4 acl:0 sco:0 commands:1 errors:0
	> # hciconfig hci0 up
	> Can't init device hci0: Connection timed out (145) 
	>
	> I checked and error code 145 indeed means Connection timed out
on my
	> header files (errno.h).
	> What might be wrong?
	
	first, you should ask you module manufacturer what chip they are
using 
	and then what transport they use.
	
	Regards
	
	Marcel
	
	
	
	
	-------------------------------------------------------
	This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files 
	for problems?  Stop!  Download the new AJAX search engine that
makes
	searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
	http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
	_______________________________________________
	Bluez-users mailing list
	Bluez-users@lists.sourceforge.net 
	https://lists.sourceforge.net/lists/listinfo/bluez-users
	



[-- Attachment #2: Type: text/html, Size: 4015 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-12-20  1:02 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-08  1:11 [Bluez-users] UART bluetooth chip problem Arthur Chiu
2005-12-08  5:44 ` Marcel Holtmann
2005-12-08 18:19   ` Arthur Chiu
2005-12-08 20:34     ` Marcel Holtmann
2005-12-08 23:10       ` Arthur Chiu
2005-12-09  0:23         ` Marcel Holtmann
2005-12-09 17:46           ` Arthur Chiu
2005-12-09 17:57             ` Arthur Chiu
2005-12-09 18:15               ` Arthur Chiu
2005-12-09 18:41               ` Marcel Holtmann
2005-12-09 18:47             ` Marcel Holtmann
2005-12-09 19:23               ` Arthur Chiu
2005-12-09 20:01                 ` Marcel Holtmann
2005-12-12 18:21                   ` Arthur Chiu
2005-12-12 19:43                     ` Marcel Holtmann
2005-12-12 21:06                       ` Arthur Chiu
2005-12-12 21:18                         ` Marcel Holtmann
2005-12-19 21:54                           ` Arthur Chiu
2005-12-19 22:58                             ` Marcel Holtmann
2005-12-20  1:02                               ` Arthur Chiu
  -- strict thread matches above, loose matches on Subject: below --
2005-12-08 18:58 Pering, Trevor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).