Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] friendly name in pin exchange
@ 2007-03-16 18:17 Vincent Yau
  2007-03-19 15:10 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Yau @ 2007-03-16 18:17 UTC (permalink / raw)
  To: bluez-users

Hi:

I have a pin helper script that does pin exchange in my Bluez stack.
The pin script detects incoming arguments and then hands out a pin 
accordingly.

I am working with a device that the manufacturer says has a friendly name 
that is 20+ characters long.  But incoming arguments, as I can see from the 
pin script, has only the bluetooth address of this remote device.  I am 
looking at the Bluez D-Bus API but I do not see anything appropriate that I 
can call during pin exchange to fetch information like the friendly name.  
Is there another way to retrieve additional info about this device?   This 
device is master and not discoverable so I have to wait for it to connect to 
my host.

Thanks for any pointer.

--V



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] friendly name in pin exchange
  2007-03-16 18:17 [Bluez-users] friendly name in pin exchange Vincent Yau
@ 2007-03-19 15:10 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-03-19 15:10 UTC (permalink / raw)
  To: BlueZ users

Hi Vincent,

> I have a pin helper script that does pin exchange in my Bluez stack.
> The pin script detects incoming arguments and then hands out a pin 
> accordingly.
> 
> I am working with a device that the manufacturer says has a friendly name 
> that is 20+ characters long.  But incoming arguments, as I can see from the 
> pin script, has only the bluetooth address of this remote device.  I am 
> looking at the Bluez D-Bus API but I do not see anything appropriate that I 
> can call during pin exchange to fetch information like the friendly name.  
> Is there another way to retrieve additional info about this device?   This 
> device is master and not discoverable so I have to wait for it to connect to 
> my host.

the D-Bus API is the way to go. However you might wanna look at
bluez-gnome and its bluetooth-applet application, because that is
handling the passkey requests and also the name resolving.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2007-03-19 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 18:17 [Bluez-users] friendly name in pin exchange Vincent Yau
2007-03-19 15:10 ` Marcel Holtmann

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