2007-05-04 08:53:48

by Olivier Le Pogam

[permalink] [raw]
Subject: [Bluez-devel] sdpd and multiple bluetooth devices

Hello,

I'm sorry I think this is a very simple question ...

I have 2 devices hci0 and hci1 and I'd like to manage
services on both with sdptool.

Could you please tell me how I should configure
/etc/rc.d/init.d/bluetooth
so I have 2 SDP databases, one for each device ?
... for now I just have "daemon sdpd" in this file

Then can I use sdptool -i hciN ... ?

Thanks a lot,
Oli

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2007-05-04 09:18:57

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] sdpd and multiple bluetooth devices

Hi Olivier,

> I'm sorry I think this is a very simple question ...
>
> I have 2 devices hci0 and hci1 and I'd like to manage
> services on both with sdptool.
>
> Could you please tell me how I should configure
> /etc/rc.d/init.d/bluetooth
> so I have 2 SDP databases, one for each device ?
> ... for now I just have "daemon sdpd" in this file
>
> Then can I use sdptool -i hciN ... ?

I think that sdptool doesn't handle the case of two different SDP
databases. You have to use the Bluetooth library directly.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel