Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Question to using sdptool
Date: Fri, 24 Jun 2005 17:46:12 +0200	[thread overview]
Message-ID: <1119627972.7129.10.camel@notepaq> (raw)
In-Reply-To: <1119621425.3878.216.camel@baroque.rococosoft.com>

Hi Steve,

> > I am trying to generate some testcases for testing the BT-solution in our
> > products. Therefore some small questions.
> > 
> > I am using two BT-dongles on one host.
> > At moment when I'm execute "sdptool add <service>" or "sdptool  -i hci1 add
> > <service>" both hcix gets the service.
> > Question:
> > Does provide bluez more then one sdp-daemon - especially to each local
> > BT-address one dedicated daemon?
> > Or is it possible to have two separated sdp-data bases - one for each local
> > address?
> 
> It doesn't really make sense to have one sdpd per device. Services
> aren't really bound to a device, rather the machine to which the device
> is attached.

this depends on it. You can bound a service to a specific and device and
in this case also the SDP records should bound to a specific address.
However I don't have really time to look into it at the moment.

> > If the option -i for using with sdptool is correct : when I execute
> > "sdptool -i hci1 browse" then bluez is doing on hci0 an inquiring and with
> > the results on hci1 the sdp-requests. Is this process as expected?
> 
> Hmmm. It seems there is no way to pass the interface to
> sdp_general_inquiry(). Perhaps it is best to add a new function,
> sdp_directed_general_inquiry()? Marcel what do you think?

If only sdptool uses these function, we can change it or fix sdptool to
use hci_inquiry and sdp_* explicitly.

> > One wish to the bluez developer:
> > The old link-key file (etc/bluetooth/link_key) contained also the time
> > (+date) of generating the corresponding key. In the new one
> > (/var/lib/bluetooth/.../linkkeys) the time (+date)is missing.
> > It was a helpful feature for testing. It is possible to implement this
> > again?

I left it out, because I don't saw any reason for that. However I have
plans for a "last seen" file.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2005-06-24 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-24 12:26 [Bluez-users] Question to using sdptool andreas.knuth
2005-06-24 13:57 ` Stephen Crane
2005-06-24 15:46   ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1119627972.7129.10.camel@notepaq \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox