Bonding
Hello,
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
Jose
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Jose,
Quoted 5 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 10 lines · Marcel Holtmann
Hi Jose,
Quoted 6 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
Quoted 7 lines
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
Regards
Marcel
Hi Marcel,
I don't see any error message in syslog or anywhere else. The commands themselves don't seem to report anything unusual.
Jose
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Jose,
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
Quoted 6 lines
Quoted 2 lines
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
I don't see any error message in syslog or anywhere else. The commands themselves don't seem to report anything unusual.
I am pretty sure that it works as expected. What distro do you have running. Maybe SELinux is restricting access to /var/lib/bluetooth/
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 17 lines · Marcel Holtmann
Hi Jose,
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
Quoted 7 lines
Quoted 3 lines
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
I don't see any error message in syslog or anywhere else. The commands themselves don't seem to report anything unusual.
Quoted 7 lines
I am pretty sure that it works as expected. What distro do you have running. Maybe SELinux is restricting access to
/var/lib/bluetooth/Regards
Marcel
OK, I did a little bit of digging and here's a better description:
Removing a device that has lower case hex numbers does not remove it from the linkkeys file. You must use upper case.
Jose
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Jose,
Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 9 lines
Quoted 6 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
I don't see any error message in syslog or anywhere else. The commands themselves don't seem to report anything unusual.
Quoted 6 lines
Quoted 2 lines
I am pretty sure that it works as expected. What distro do you have running. Maybe SELinux is restricting access to
/var/lib/bluetooth/OK, I did a little bit of digging and here's a better description:
Removing a device that has lower case hex numbers does not remove it from the linkkeys file. You must use upper case.
that should have been fixed. What version of bluez-utils are you running.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 27 lines · Marcel Holtmann
Hi Jose,
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 11 lines
Quoted 7 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
I don't see any error message in syslog or anywhere else. The commands themselves don't seem to report anything unusual.
Quoted 7 lines
Quoted 3 lines
I am pretty sure that it works as expected. What distro do you have running. Maybe SELinux is restricting access to
/var/lib/bluetooth/OK, I did a little bit of digging and here's a better description:
Removing a device that has lower case hex numbers does not remove it from the linkkeys file. You must use upper case.
Quoted 8 lines
that should have been fixed. What version of bluez-utils are you running.
Regards
Marcel
I'm running the latest, version 3.7 on Ubuntu 6.06.
Jose
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
[Bluez-devel] Role switching
Hi,
I've tried two concurrent "connect" to 2 remote devices (a mobile phone and a XP RFCOMM server) and systematically get a errno 110 on the "connect" that goes to the XP box.
I have followed Marcel advice (lm set to master) and I have recompiled my 2.18.2002 kernel with the MH7 patch.
A "hcidump" shows that XP server is trying to switch master / slave so I suppose that's the reason of my errno 110 (the mobile remains in slave)
Just in case ... has anybody worked a bit on the MS stack / driver and could tell me if it's possible to disable role switch so it could remain as slave ?
There is a parameter under Windows CE (NoRoleSwitch) but could not find the same for XP SP2.
Regards,
Oli
Signature · 14 lines
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.30/521 - Release Date: 07/11/2006 ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Jose,
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
Quoted 8 lines
Quoted 5 lines
I don't see any error message in syslog or anywhere else. The commands themselves don't seem to report anything unusual.
I am pretty sure that it works as expected. What distro do you have running. Maybe SELinux is restricting access to
/var/lib/bluetooth/OK, I did a little bit of digging and here's a better description:
Removing a device that has lower case hex numbers does not remove it from the linkkeys file. You must use upper case.
Quoted 4 lines
Quoted 3 lines
that should have been fixed. What version of bluez-utils are you running.
I'm running the latest, version 3.7 on Ubuntu 6.06.
check the CVS when it was fixed (if we didn't forget it). I am pretty sure that if was fixed before 3.7, but I might be mistaken here. If it is still broken or the patch was incomplete, please fix it and send in a patch for it.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 38 lines · Marcel Holtmann
Hi Jose,
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 8 lines
I see that the dbus message RemoveBonding clears the link key on the bluetooth adapter but does not remove the entry from the linkkeys file. Afterwards ListBondings still shows a bonding and CreateBonding reports that a bonding already exists. Is this the correct behavior?
actually it should remove the entry from the linkkeys file. Otherwise this is a bug. Can you check the log files for errors.
Quoted 10 lines
Quoted 6 lines
I don't see any error message in syslog or anywhere else. The commands themselves don't seem to report anything unusual.
I am pretty sure that it works as expected. What distro do you have running. Maybe SELinux is restricting access to
/var/lib/bluetooth/OK, I did a little bit of digging and here's a better description:
Removing a device that has lower case hex numbers does not remove it from the linkkeys file. You must use upper case.Quoted 6 lines
Quoted 4 lines
that should have been fixed. What version of bluez-utils are you running.
I'm running the latest, version 3.7 on Ubuntu 6.06.
Quoted 9 lines
check the CVS when it was fixed (if we didn't forget it). I am pretty sure that if was fixed before 3.7, but I might be mistaken here. If it is still broken or the patch was incomplete, please fix it and send in a patch for it.
Regards
Marcel
Looks like the problem is that the function textfile_del in common/textfile.c
calls write_key with the icase parameter set to 0. This is NOT fixed in CVS.
Jose
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
[Bluez-devel] Case handling (was: Bonding)
In reply to Marcel HoltmannHi Marcel,
Looking at this code I find the logic a bit convoluted. I don't see the point of the case checking. Wouldn't be easier to convert any address coming from the dbus to upper case once?
Jose
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerRe: [Bluez-devel] Case handling (was: Bonding)
Hi Jose,
Quoted 4 lines
Looking at this code I find the logic a bit convoluted. I don't see the point of the case checking. Wouldn't be easier to convert any address coming from the dbus to upper case once?
I added now textfile_casedel() and it makes use of it. So the CVS version should work as expected.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel