Bluetooth ACL Problems

Posted: 02-10-2004, 01:51 PM
I have been having some problems sending and receiving HCI ACL
packets. For some reason I have to wait about 20ms between sending
packets when sending from master to slave, otherwise the module will
crash. Sending ACL packets from slave to master does not work at all.
Therefore, I have two questions:

1. When do you know if it is safe to send another ACL packet?
2. Why is my communication only 1 way?

The master bluetooth module is connected to a Rabbit 3000
Microprocessor, and the slave is attached to a PC, both over
rs232/UART @ 57.6kbps. Both Bluetooth modules are Ericsson ROK 101 008
modules. I should note that I have no problem sending HCI commands and
receiving HCI events. The problem is only with HCI ACL Data packets.

Thanks!
-Mike
Reply With Quote

Responses to "Bluetooth ACL Problems"

mike lyons
mike lyons's Avatar
Posts: n/a
 
Re: Bluetooth ACL Problems
Posted: 02-10-2004, 07:39 PM
I forgot to note that all HCI ACL packets payloads are in L2CAP
format, as I know they must be for the ROK's

-Mike
Reply With Quote
Duy K Do
Duy K Do's Avatar
Posts: n/a
 
Re: Bluetooth ACL Problems
Posted: 02-11-2004, 11:59 PM
Hi there,

It is already a long time since I worked on bluetooth so if my memory
serves correctly.

To work from HCI level:

First, you have to send HCI_Connect() with BD_ADDR get from
HCI_Inquiry() command. Verify the link is setup. The HCI_Connect()
will return a Connection ID, and it will be used to send L2CAP data
packet. Regarding L2CAP, you also have to setup the L2CAP connection
ID as well.

To know when you can send an ACL data packet, There is a HCI event to
tell how many ACL buffers and SCO buffer available for the host to
send out, as long those numbers is not zero, you can send ACL data
packet.

There is no limitation on interval time between ACL packet. I guess
the reason is that the connection is not setup properly so the
internal buffer on the chip filled up but you keep sending packet in
to overflow the device. The fact the packet can't be sent from slave
could verify my assumption. Please verify the result of HCI_Connect()
and verify how you setup the slave. Did it send a HCI_Accept() command
following a HCI_Connection_request() event?

Just some pointers there, you could read the bluetooth specification
for reference.

Regards

Duy Do

explosivedonut@yahoo.com (mike lyons) wrote in message news:<43748cb0.0402101139.3ad35883@posting.google. com>...
> I forgot to note that all HCI ACL packets payloads are in L2CAP
> format, as I know they must be for the ROK's
>
> -Mike

Reply With Quote
 
Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
T630 and HBH-65 Bluetooth problems dskeeles Sony Ericsson 1 01-26-2005 08:52 AM
T39m -- known Bluetooth problems? Juergen Nickelsen Sony Ericsson 5 01-22-2004 05:42 PM
Siemesn S55 and Bluetooth problems Crazy Cowboy Bluetooth 7 01-13-2004 03:13 PM
Problems with Bluetooth and my lan connection Brian Jensen Bluetooth 8 11-12-2003 10:38 AM
T610 Bluetooth problems Mauricio Freitas Sony Ericsson 2 06-23-2003 11:51 PM


All times are GMT. The time now is 12:34 PM.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33