All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Daniel Stoddart <d.stoddart@cs.ucl.ac.uk>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Service registering but not visible
Date: Sun, 18 Jul 2004 10:59:12 +0200	[thread overview]
Message-ID: <1090141152.4558.52.camel@pegasus> (raw)
In-Reply-To: <000201c46c5a$126175d0$13e9baac@oemcomputer>

Hi Daniel,

> It does look like there is something wrong with the sdpd daemon but it does
> seem to be running and the sdptool can find services on my nokia 6600.

these are two different things.

> root      1237  0.1  0.5  2308 1316 pts/1    S    00:37   0:00 -bash
> root      1252  0.0  0.2  1448  560 ?        S    00:37   0:00 hcid:
> processing
> root      1257  0.0  0.2  1428  536 ?        S    00:37   0:00
> /usr/sbin/sdpd
> root      1258  0.0  0.4  3016 1068 pts/1    R    00:37   0:00 ps aux

You have two hcid running, which is never good. Make sure that only one
hcid and one sdp are running.

> root@darkstar:~# sdptool search 0x1101
> Class 0x1101
> Inquiring ...
> Searching for 0x1101 on 00:0E:6D:11:E6:EB ...
> Service Name: Bluetooth Serial Port
> Service Description: Bluetooth Serial Port
> Service Provider: Symbian Ltd.
> Service RecHandle: 0x10002
> Service Class ID List:
>   "Serial Port" (0x1101)
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
>     Channel: 2
> Language Base Attr List:
>   code_ISO639: 0x656e
>   encoding:    0x6a
>   base_offset: 0x100

The sdptool don't need the sdpd to find the records on remote device. We
talk here about local SDP records.

> I hope this helps to decipher the problem.

No this was not helpful. Check /proc/bluetooth/l2cap and take a look at
the syslog for error messages from the sdpd. Do this more than once,
because I think there will be changes within the usage.

> Also, I'm not too sure what a PSM is - could you explain?

Maybe you read the Bluetooth specification or look it up in an Internet
search engine ;)

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2004-07-18  8:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-16 20:25 [Bluez-devel] Service registering but not visible Daniel Stoddart
2004-07-16 21:15 ` Marcel Holtmann
2004-07-17 14:15   ` Daniel Stoddart
2004-07-17 15:39     ` Marcel Holtmann
2004-07-17 23:55       ` Daniel Stoddart
2004-07-18  8:59         ` Marcel Holtmann [this message]
2004-07-19 22:47           ` Daniel Stoddart

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=1090141152.4558.52.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=d.stoddart@cs.ucl.ac.uk \
    /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.