All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rupesh Gujare" <rupesh_gujare@rediffmail.com>
To: bluez-devel@lists.sourceforge.net
Cc: pewi@gw-instruments.de
Subject: Re: [Bluez-devel] Need Help In SDP Programming......
Date: 2 Nov 2006 12:28:56 -0000	[thread overview]
Message-ID: <20061102122856.28888.qmail@webmail9.rediffmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1314 bytes --]

  
Thanks Peter and Mingfan for your suggestions and code review. I will definately try to improve on it. 
  I am currently working on 2.6.15 kernel. and had not applied any patch.
 I will like to ask peter that which kernel you are using? Are you facing same problem after patching to latest kernel?
  Do let me know.
  Thanks and regards.
 Rupesh

>
>I think the sleep(..) call causes a reschedule and allows the sdpd to
>finish some internal cleanup or so after a close. I got some similar
>behaviour even when connecting to the local sdp data base.
>
>To get your code a little bit faster you should not use the hci_inquiry()
>call. This does not only do the inquiry but also does a name request which
>requires a baseband connection to the remote device. It is much more
>efficient to do the name request as a part of the sdp request if you make
>the sdp request anyway (only one baseband connection for each device).
>
>Further, because most BT chips today allow for inquirie to run in the
>background, you can try to start SDP requests once you receive the BT
>address for a device and not when the inquiry is finished. However, this
>would require some much more complicated code and direct HCI socket
>programming. You may have a look at hcid to get an idea.
>
>Ciao,
>
>Peter

[-- Attachment #1.2: Type: text/html, Size: 1836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2006-11-02 12:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02 12:28 Rupesh Gujare [this message]
2006-11-02 13:05 ` [Bluez-devel] Need Help In SDP Programming Peter Wippich
  -- strict thread matches above, loose matches on Subject: below --
2006-11-02 13:08 Rupesh Gujare
2006-11-02  4:39 Rupesh Gujare
2006-11-02  6:28 ` Mingfan.Lu
2006-11-02  9:58 ` Peter Wippich

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=20061102122856.28888.qmail@webmail9.rediffmail.com \
    --to=rupesh_gujare@rediffmail.com \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=pewi@gw-instruments.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.