Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] dbus pin failure
@ 2006-03-03 14:30 David Woodhouse
  2006-03-03 14:59 ` Marcel Holtmann
  0 siblings, 1 reply; 11+ messages in thread
From: David Woodhouse @ 2006-03-03 14:30 UTC (permalink / raw)
  To: bluez-devel

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.

-- 
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-03 14:30 [Bluez-devel] dbus pin failure David Woodhouse
@ 2006-03-03 14:59 ` Marcel Holtmann
  2006-03-03 20:34   ` David Woodhouse
  0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2006-03-03 14:59 UTC (permalink / raw)
  To: bluez-devel

Hi David,

> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-03 14:59 ` Marcel Holtmann
@ 2006-03-03 20:34   ` David Woodhouse
  2006-03-05  4:22     ` Marcel Holtmann
  0 siblings, 1 reply; 11+ messages in thread
From: David Woodhouse @ 2006-03-03 20:34 UTC (permalink / raw)
  To: bluez-devel

On Fri, 2006-03-03 at 15:59 +0100, Marcel Holtmann wrote:
> 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

-- 
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-03 20:34   ` David Woodhouse
@ 2006-03-05  4:22     ` Marcel Holtmann
  2006-03-06 16:47       ` David Woodhouse
  0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2006-03-05  4:22 UTC (permalink / raw)
  To: bluez-devel

Hi David,

> > 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-05  4:22     ` Marcel Holtmann
@ 2006-03-06 16:47       ` David Woodhouse
  2006-03-06 17:34         ` Marcel Holtmann
  0 siblings, 1 reply; 11+ messages in thread
From: David Woodhouse @ 2006-03-06 16:47 UTC (permalink / raw)
  To: bluez-devel

On Sun, 2006-03-05 at 05:22 +0100, Marcel Holtmann wrote:
> 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

-- 
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-06 16:47       ` David Woodhouse
@ 2006-03-06 17:34         ` Marcel Holtmann
  2006-03-06 22:26           ` David Woodhouse
  2006-03-14 17:00           ` David Woodhouse
  0 siblings, 2 replies; 11+ messages in thread
From: Marcel Holtmann @ 2006-03-06 17:34 UTC (permalink / raw)
  To: bluez-devel

Hi David,

> > 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-06 17:34         ` Marcel Holtmann
@ 2006-03-06 22:26           ` David Woodhouse
  2006-03-06 22:35             ` Marcel Holtmann
  2006-03-14 17:00           ` David Woodhouse
  1 sibling, 1 reply; 11+ messages in thread
From: David Woodhouse @ 2006-03-06 22:26 UTC (permalink / raw)
  To: bluez-devel

On Mon, 2006-03-06 at 18:34 +0100, Marcel Holtmann wrote:
> 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 :)

-- 
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-06 22:26           ` David Woodhouse
@ 2006-03-06 22:35             ` Marcel Holtmann
  2006-03-07 15:03               ` Claudio Takahasi
  0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2006-03-06 22:35 UTC (permalink / raw)
  To: bluez-devel

Hi David,

> > 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-06 22:35             ` Marcel Holtmann
@ 2006-03-07 15:03               ` Claudio Takahasi
  0 siblings, 0 replies; 11+ messages in thread
From: Claudio Takahasi @ 2006-03-07 15:03 UTC (permalink / raw)
  To: bluez-devel

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.




On 3/6/06, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi David,
>
> > > 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 langua=
ge
> that extends applications into web and mobile media. Attend the live webc=
ast
> and join the prime developer group breaking into this new coding territor=
y!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-06 17:34         ` Marcel Holtmann
  2006-03-06 22:26           ` David Woodhouse
@ 2006-03-14 17:00           ` David Woodhouse
  2006-03-14 17:07             ` Marcel Holtmann
  1 sibling, 1 reply; 11+ messages in thread
From: David Woodhouse @ 2006-03-14 17:00 UTC (permalink / raw)
  To: bluez-devel

On Mon, 2006-03-06 at 18:34 +0100, Marcel Holtmann wrote:
> 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

-- 
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-devel] dbus pin failure
  2006-03-14 17:00           ` David Woodhouse
@ 2006-03-14 17:07             ` Marcel Holtmann
  0 siblings, 0 replies; 11+ messages in thread
From: Marcel Holtmann @ 2006-03-14 17:07 UTC (permalink / raw)
  To: bluez-devel

Hi David,

> > 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-03-14 17:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 14:30 [Bluez-devel] dbus pin failure David Woodhouse
2006-03-03 14:59 ` Marcel Holtmann
2006-03-03 20:34   ` David Woodhouse
2006-03-05  4:22     ` Marcel Holtmann
2006-03-06 16:47       ` David Woodhouse
2006-03-06 17:34         ` Marcel Holtmann
2006-03-06 22:26           ` David Woodhouse
2006-03-06 22:35             ` Marcel Holtmann
2006-03-07 15:03               ` Claudio Takahasi
2006-03-14 17:00           ` David Woodhouse
2006-03-14 17:07             ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox