Skip to contentSkip to conversation

dbus pin failure

Bluez-devel David Woodhouse 3 participants 11 messages Mar 3, 2006 – Mar 14, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

With the current bluez-utils (2.25) and bluez-pin (0.30) packages, the PIN helper doesn't work. When hcid requests a PIN, I get this...

6047: arguments to dbus_message_iter_get_fixed_array() were incorrect, assertion "(subtype == DBUS_TYPE_INVALID) || dbus_type_is_fixed (subtype)" failed in file dbus-message.c line 1743.
This is normally a bug in some application using the D-BUS library.

Signature · 13 lines
dwmw2



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#1 lore raw

Hi David,

Quoted 7 lines

With the current bluez-utils (2.25) and bluez-pin (0.30) packages, the PIN helper doesn't work. When hcid requests a PIN, I get this...

6047: arguments to dbus_message_iter_get_fixed_array() were incorrect, assertion "(subtype == DBUS_TYPE_INVALID) || dbus_type_is_fixed (subtype)" failed in file dbus-message.c line 1743.
This is normally a bug in some application using the D-BUS library.

maybe the D-Bus library is a little bit too old. I actually removed support for the old versions some time ago. What version are you running?

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
Quoted 3 lines · Marcel Holtmann

maybe the D-Bus library is a little bit too old. I actually removed support for the old versions some time ago. What version are you running?

It's 0.61

Signature · 13 lines
dwmw2



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#3 lore raw

Hi David,

Quoted 5 lines
Quoted 3 lines

maybe the D-Bus library is a little bit too old. I actually removed support for the old versions some time ago. What version are you running?

It's 0.61

ok then maybe it is too new. Does bluez-pin or hcid create this error message? I am still at 0.60 on all of my machines.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw
Quoted 2 lines · Marcel Holtmann

ok then maybe it is too new. Does bluez-pin or hcid create this error message? I am still at 0.60 on all of my machines.

It's printed by bluez-pin

Signature · 13 lines
dwmw2



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#5 lore raw

Hi David,

Quoted 4 lines
Quoted 2 lines

ok then maybe it is too new. Does bluez-pin or hcid create this error message? I am still at 0.60 on all of my machines.

It's printed by bluez-pin

so I assume this means that bluez-pin is at fault. Actually that is out of my responsibility. However you also should already have patches in it for making it work with 0.36. Maybe these need to be reviewed.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#6 lore raw
Quoted 2 lines · Marcel Holtmann

so I assume this means that bluez-pin is at fault. Actually that is out of my responsibility.

Do you have a sample PIN helper which is known to work? My dbus-fu is weak; it would help if dbus wasn't a moving target :)

Signature · 13 lines
dwmw2



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#7 lore raw

Hi David,

Quoted 5 lines
Quoted 2 lines

so I assume this means that bluez-pin is at fault. Actually that is out of my responsibility.

Do you have a sample PIN helper which is known to work? My dbus-fu is weak; it would help if dbus wasn't a moving target :)

you might wanna try this one:

http://www.cin.ufpe.br/~ckt/gbluezconf/gbluezconf-00.08.tar.gz

It is actually kinda rough, but did quite a good job on one of mobile systems.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#8 lore raw

Hi David,

Try this version:
http://www.cin.ufpe.br/~ckt/gbluezconf/gbluezconf-00.10.tar.gz

It's isn't fully compliant with the latest D-Bus API, but it's working fine= .

Regards,
Claudio.

Quoted 17 lines · Marcel Holtmann

Hi David,

Quoted 5 lines
Quoted 2 lines

so I assume this means that bluez-pin is at fault. Actually that is out of my responsibility.

Do you have a sample PIN helper which is known to work? My dbus-fu is weak; it would help if dbus wasn't a moving target :)

you might wanna try this one:

http://www.cin.ufpe.br/~ckt/gbluezconf/gbluezconf-00.08.tar.gz

It is actually kinda rough, but did quite a good job on one of mobile systems.

Regards

Quoted 7 lines

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=

ge

Quoted 1 line

that extends applications into web and mobile media. Attend the live webc=

ast

Quoted 1 line

and join the prime developer group breaking into this new coding territor=

y!

Quoted 1 line

http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=

=3D121642

Quoted 5 lines

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

--
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#9 lore raw
In reply to Marcel Holtmann
Quoted 2 lines · Marcel Holtmann

so I assume this means that bluez-pin is at fault. Actually that is out of my responsibility.

For the record, this is fixed by the patch at
http://david.woodhou.se/bluez-pin-0.30-dbus-die-die-die.patch

Signature · 13 lines
dwmw2



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#10 lore raw

Hi David,

Quoted 5 lines
Quoted 2 lines

so I assume this means that bluez-pin is at fault. Actually that is out of my responsibility.

For the record, this is fixed by the patch at
http://david.woodhou.se/bluez-pin-0.30-dbus-die-die-die.patch

and the next bluez-utils will contain a complete different interface for PIN handling. However we have a passkey-agent.c example in the CVS and it should be really easy to change bluez-pin to use it.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel