From: Marcel Holtmann <marcel@holtmann.org>
To: franz keuner <franz_keuner@gmx.net>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Service Record Problem
Date: Thu, 18 Mar 2004 15:25:09 +0100 [thread overview]
Message-ID: <1079619908.3301.35.camel@pegasus> (raw)
In-Reply-To: <16619.1079606404@www34.gmx.net>
Hi Franz,
> thanks for your help with my last problem.
>
> now i have a problem with service registration. i register a service using
> the Java Bluetooth APIs. it creates a service record with an uuid of length
> 128. that seems to be predetermined.
>
> if i search for services on the device i can't find that specific service.
> but if i scan for SP services i receive the following message:
> ...
> Service Name: Service Name
> Service RecHandle: 0x1000a
> Service Class ID List:
> "Error: This is uuid128" (0xabcd0000-1000-8000-0080-5f9b34fb0000)
> "Serial Port" (0x1101)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 5
> Language Base Attr List:
> code_ISO639: 0x656e
> encoding: 0x6a
> base_offset: 0x100
> Profile Descriptor List:
> "Serial Port" (0x1101)
> ..
>
> if i use a pda (pocket pc) with bluetooth support and search for services i
> find the service without a problem.
>
> so my question is: what can i do to find that service using bluez and the
> "normal" sdptool search browse command?
the problem is not the UUID128, it is that your record is not in the
public browse group and so you have to search for the service. Look at
the --help information from sdptool.
sdptool search --bdaddr <bdaddr> SP
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2004-03-18 14:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-18 10:40 [Bluez-devel] Service Record Problem franz keuner
2004-03-18 14:25 ` 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=1079619908.3301.35.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=franz_keuner@gmx.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;
as well as URLs for NNTP newsgroup(s).