Skip to contentSkip to conversation

AUX1 packets

Bluez-users Thor Egil Skaug 3 participants 6 messages Feb 28, 2004 – Mar 1, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Is there any way of having an ACL connection use AUX1 packets?

The packet type is not defined in the Bluetooth specification for the HCI_create_connection command.

I am using Belkin USB devices (CSR).

Can this be done by setting one of the reserved packet types, or using a vendor specific command, or is it simply not possible?

The reason I want to do this is to measure the effect of having CRC, FEC and ARQ on the software side, also using proactive retransmits.

Thanks,

Thor E. Skaug

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Thor,

Quoted 4 lines

Is there any way of having an ACL connection use AUX1 packets?

The packet type is not defined in the Bluetooth specification for the HCI_create_connection command.

you can't control this from the host stack side, because as you already have seen it is not defined for the HCI_create_connection command. It is the job of the link manager to choose the right packet types.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 8 lines

Hi Thor,

Is there any way of having an ACL connection use AUX1 packets?

The packet type is not defined in the Bluetooth specification for the HCI_create_connection command.

you can't control this from the host stack side, because as you already

have seen it is not defined for the HCI_create_connection command. It is the job of the link manager to choose the right packet types.

Quoted 4 lines

Regards

Marcel

Regarding DM and DH packets:
Am I correct in assuming the following?

If I use the HCI_change_connection_packet_type command, I can change the packet type for the connection
as long as it is supported by both devices? It is then mostly my decision what packet type is used for the
connection, although the link controller may use DM1 packets if necessary.

I am trying to have my application select different packet types based on the current BER.

Thor

#3 lore raw
Quoted 2 lines · Thor Egil Skaug

I am trying to have my application select different packet types based on the current BER.

If both ends of the link support CQDDR then the Link Managers will do this automatically.

If you try to do this yourself, you'll just end up with the host and the controller fighting each other.

- Steven

Signature · 11 lines
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
#4 lore raw
Quoted 1 line

If both ends of the link support CQDDR then the Link Managers will do

this automatically.

Quoted 2 lines

If you try to do this yourself, you'll just end up with the host and

the controller fighting each other.

Quoted 2 lines

- Steven

But the LM can only use packet types that I specified in create_connection or change_connection_packet_type,
in addition to the mandatory DM1 type. Am I correct in assuming this?

Will the link manager notify me through events that CQDDR scheme has changed packet type?

How do I know whether CQDDR is supported, and is there any way of disabling this?

Thor

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw
Quoted 3 lines · Thor Egil Skaug

But the LM can only use packet types that I specified in create_connection or change_connection_packet_type,
in addition to the mandatory DM1 type. Am I correct in assuming this?

This is true, but, if you specify DM and DH packets, then the Link Manager will switch automatically. If you try to specify just DH packets but the Link Manager thinks the link is too poor to use them then, since DM1 packets are always allowed, it will drop to DM1 giving poor bandwidth (whereas if you'd left it alone it would have used DM5).

The only thing that works is specifying DM packets only.

Note also that you can alter the packet types only for the packets sent by the controller. The information is not communicated over the air, so the other side will be using whatever packet types its host has suggested.

Quoted 2 lines

Will the link manager notify me through events that CQDDR scheme has changed packet type?

No, and seeing as the LM can adapt very quickly, this could lead to the host being flooded by messages.

Quoted 2 lines

How do I know whether CQDDR is supported, and is there any way of disabling this?

CQDDR is supported if the appropriate features bit is set. BlueZ reports it as Channel Quality (IIRC).

There's no standard way of disabling it. I've yet to be convinved it would be a good thing.

In what way is automatic CQDDR inappropriate for your application.

- Steven

Signature · 23 lines
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users