From: "Daniel Stoddart" <d.stoddart@cs.ucl.ac.uk>
To: "BlueZ Mailing List" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Service registering but not visible
Date: Sat, 17 Jul 2004 15:15:57 +0100 [thread overview]
Message-ID: <000701c46c08$958becd0$af2dbeac@oemcomputer> (raw)
In-Reply-To: 1090012501.9117.29.camel@pegasus
Hi Marcel,
I tried the commands you suggested with the following results:
root@darkstar:~# hcid
root@darkstar:~# /usr/sbin/sdpd
root@darkstar:~# hcitool dev
Devices:
hci0 00:0A:3A:50:2F:2D
root@darkstar:~# hcitool inq
Inquiring ...
00:0E:6D:11:E6:EB clock offset: 0x4c21 class: 0x500204
root@darkstar:~# sdptool add --channel=13 OPUSH
OBEX Object Push service registered
root@darkstar:~# sdptool browse local
Browsing FF:FF:FF:00:00:00 ...
Service Search failed: Protocol error
root@darkstar:~# hcidump -x
HCIDump - HCI packet analyzer ver 1.9
device: hci0 snap_len: 1028 filter: 0xffffffff
root@darkstar:~# hcidump -x
HCIDump - HCI packet analyzer ver 1.9
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
EB E6 11 6D 0E 00 04 02 50 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
EB E6 11 6D 0E 00 01
> HCI Event: Command Status (0x0f) plen 4
00 01 09 04
> HCI Event: Connect Complete (0x03) plen 11
00 29 00 EB E6 11 6D 0E 00 01 00
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
29 00 0E 00
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
EB E6 11 6D 0E 00 01
> HCI Event: Command Complete (0x0e) plen 6
01 0D 08 00 29 00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
29 00 18 CC
> ACL data: handle 0x0029 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0041
< ACL data: handle 0x0029 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0041 result 2 status 0
> HCI Event: Command Status (0x0f) plen 4
00 01 0F 04
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
00 29 00 18 CC
> HCI Event: Number of Completed Packets (0x13) plen 5
01 29 00 01 00
> HCI Event: Max Slots Change (0x1b) plen 3
29 00 05
> HCI Event: Disconn Complete (0x05) plen 4
00 29 00 13
The output from "sdptool browse local" seems to point to some kind of
configuration problem. Do i need to
register my local device address to the sdptool or the sdpd?
Thanks
Dan
----- Original Message -----
From: "Marcel Holtmann" <marcel@holtmann.org>
To: "Daniel Stoddart" <d.stoddart@cs.ucl.ac.uk>
Cc: "BlueZ Mailing List" <bluez-devel@lists.sourceforge.net>
Sent: Friday, July 16, 2004 10:15 PM
Subject: Re: [Bluez-devel] Service registering but not visible
> Hi Daniel,
>
> > When i add a service using the command
> >
> > root@darkstar:~# sdptool add --channel=13 OPUSH
> >
> > OBEX Object Push service registered
> >
> > And then using my Nokia 6600, search for available services no
> > services are shown.
>
> check with "sdptool browse local" if the service record is really
> present.
>
> Run "hcidump -x" as root to see for what services your phone is
> searching and try to set the correct class of device bits.
>
> 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
next prev parent reply other threads:[~2004-07-17 14:15 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 [this message]
2004-07-17 15:39 ` Marcel Holtmann
2004-07-17 23:55 ` Daniel Stoddart
2004-07-18 8:59 ` Marcel Holtmann
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='000701c46c08$958becd0$af2dbeac@oemcomputer' \
--to=d.stoddart@cs.ucl.ac.uk \
--cc=bluez-devel@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