Re: [Bluez-devel] bluez-utils 2.7 default configuration

Marcel Holtmann
2004-05-20T09:42:34Z

Hi David,

> It's in the bluez-utils-cups RPM. I haven't tried it as I have no
> suitable hardware. We only have the client side implemented, don't we --
> I can't emulate it by using another Linux/BlueZ box as the 'printer'?

that is great. A "server side" is on my todo list, but I haven't written
any line of code so far.

> I note it doesn't actually try very hard to find printers :)

You have to give the right URI. For example for a printer with Bluetooth
address 00:90:02:63:e0:83 it is bluetooth://00900263E083/

> > > In fact, I suspect that the right answer for pand is to tie it into the
> > > initscripts and system-config-network, so you add an interface of type
> > > 'PAN slave' or 'PAN master' and the network scripts handle starting and
> > > stopping the daemon like they do ipppd, rather than doing it from a SysV
> > > init script. I haven't used dund so I'm less sure about that but it
> > > might also be the right approach there.
> >
> > I am not a Fedora Core user, so I can't answer this question, but in
> > general it is up to you to decide.
>
> That's not really distro-specific. Well, the precise details of the
> implementation might be -- but the idea that it's done in network
> configuration and started like pppd on 'ifup', rather than by init like
> a system daemon, isn't.

For pand you simply start it and let the IP assignment done by the
network hotplugging. For dund this is done by your pppd scripts. So no
IP configuration has to be done in the init scripts, but you have to
start the daemons somewhere. Otherwise you won't get the SDP entries and
so nobody can find your service.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.