* [Bluez-devel] ACL packet types
@ 2006-06-28 14:32 Iain Hibbert
2006-06-28 18:16 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Iain Hibbert @ 2006-06-28 14:32 UTC (permalink / raw)
To: bluez-devel
Hi,
In bluez-lib-2.25 (I'm not up on latest version, sorry) there are
functions to convert packet types to bit masks and vice versa but they are
wrong.
If you look at the 2.0 Core specification for the "Create Connection"
command, it shows that the bits for the 2Mbps and 3Mbps packet types are
inverted - ie, when the bit is set, the packet type is NOT permitted.
I noticed this using hcidump, it prints the packet types wrongly.
0xff1e = DH1 DM1 DH3 DM3 DH5 DM5
0xcc18 = DH1 DM1 DH3 DM3 DH5 DM5 2-DH1 3-DH1 2-DH3 3-DH3 2-DH5 3-DH5
iain
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] ACL packet types
2006-06-28 14:32 [Bluez-devel] ACL packet types Iain Hibbert
@ 2006-06-28 18:16 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-06-28 18:16 UTC (permalink / raw)
To: BlueZ development; +Cc: bluez-devel
Hi Iain,
> In bluez-lib-2.25 (I'm not up on latest version, sorry) there are
> functions to convert packet types to bit masks and vice versa but they are
> wrong.
>
> If you look at the 2.0 Core specification for the "Create Connection"
> command, it shows that the bits for the 2Mbps and 3Mbps packet types are
> inverted - ie, when the bit is set, the packet type is NOT permitted.
>
> I noticed this using hcidump, it prints the packet types wrongly.
>
> 0xff1e = DH1 DM1 DH3 DM3 DH5 DM5
> 0xcc18 = DH1 DM1 DH3 DM3 DH5 DM5 2-DH1 3-DH1 2-DH3 3-DH3 2-DH5 3-DH5
I don't get your point. If you see 2-x and 3-x, it means that EDR has
been disabled. You will see this if a EDR capable dongle tries to
connect to a non-EDR capable device.
Regards
Marcel
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-28 18:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 14:32 [Bluez-devel] ACL packet types Iain Hibbert
2006-06-28 18:16 ` Marcel Holtmann
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).