public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] browsing non-public services?
@ 2004-02-24  8:50 Simon Vogl
  2004-02-24 12:07 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Vogl @ 2004-02-24  8:50 UTC (permalink / raw)
  To: bluez-devel

Hi,
can I retrieve service information on non-public services? My nokia phone=
s
show an SDP-entry for service class 0x5555 that the phones also inquire w=
hen
connecting, now I'd like to see what is registered there...

Cheers,
Simon



--=20
_______________________________________________________________________
Dr. Simon Vogl
Institut f=C3=BCr Pervasive Computing, Johannes Kepler Universit=C3=A4t L=
inz
Altenberger Stra=C3=9Fe 69, A-4040 Linz, Austria

Tel: +43 732 2468-8517, Fax: +43 732 2468-8426
mailto: vogl@soft.uni-linz.ac.at,  http://www.soft.uni-linz.ac.at/








-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
  2004-02-24  8:50 [Bluez-devel] browsing non-public services? Simon Vogl
@ 2004-02-24 12:07 ` Marcel Holtmann
  2004-02-24 12:25   ` Collin R. Mulliner
  2004-02-24 12:36   ` Simon Vogl
  0 siblings, 2 replies; 10+ messages in thread
From: Marcel Holtmann @ 2004-02-24 12:07 UTC (permalink / raw)
  To: Simon Vogl; +Cc: BlueZ Mailing List

Hi Simon,

> can I retrieve service information on non-public services? My nokia phones
> show an SDP-entry for service class 0x5555 that the phones also inquire when
> connecting, now I'd like to see what is registered there...

read the manpage or use "sdptool -h" ;)

	sdptool search --bdaddr <bdaddr> --tree 0x5555

Must be something vendor specific. Please show us the output.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
  2004-02-24 12:07 ` Marcel Holtmann
@ 2004-02-24 12:25   ` Collin R. Mulliner
  2004-02-24 12:36     ` Marcel Holtmann
  2004-02-24 12:36   ` Simon Vogl
  1 sibling, 1 reply; 10+ messages in thread
From: Collin R. Mulliner @ 2004-02-24 12:25 UTC (permalink / raw)
  To: bluez-devel

Hi,

> > can I retrieve service information on non-public services? My nokia
> > phones show an SDP-entry for service class 0x5555 that the phones
> > also inquire when connecting, now I'd like to see what is registered
> > there...

I bet that 0x5555 refers to RFCOMM channel 17,18 or both ;-)


... Collin

-- 
Collin R. Mulliner <collin@betaversion.net>
BATAVERSiON Systems [www.betaversion.net]
info/pgp: finger collin@betaversion.net
Don't ask me! I don't use windoze!


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
  2004-02-24 12:25   ` Collin R. Mulliner
@ 2004-02-24 12:36     ` Marcel Holtmann
  2004-02-24 12:42       ` Collin R. Mulliner
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Holtmann @ 2004-02-24 12:36 UTC (permalink / raw)
  To: Collin R. Mulliner; +Cc: BlueZ Mailing List

Hi Collin,

> > > can I retrieve service information on non-public services? My nokia
> > > phones show an SDP-entry for service class 0x5555 that the phones
> > > also inquire when connecting, now I'd like to see what is registered
> > > there...
> 
> I bet that 0x5555 refers to RFCOMM channel 17,18 or both ;-)

what is on RFCOMM channel 17 and 18? On channel 14 we have the Nokia PC
Suite FBUS protocol for Bluetooth.

My Nokia 6310 has a UUID128 that starts with 0x5555

	Sequence
	        Attribute 0x0000 - Service record handle
	                UINT32 0x00010008
	        Attribute 0x0001 - Service class ID list
	                Sequence
	                        UUID128 00005555-0000-1000-8000-0002ee000001
	        Attribute 0x0300
	                UINT16 0x005f

Maybe this is only checked to activate some Nokia<->Nokia special
features. For example remote PIN code or name change.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
  2004-02-24 12:07 ` Marcel Holtmann
  2004-02-24 12:25   ` Collin R. Mulliner
@ 2004-02-24 12:36   ` Simon Vogl
  2004-02-24 12:39     ` Marcel Holtmann
  1 sibling, 1 reply; 10+ messages in thread
From: Simon Vogl @ 2004-02-24 12:36 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List



Marcel Holtmann wrote:
> Hi Simon,
> 
> 
>>can I retrieve service information on non-public services? My nokia phones
>>show an SDP-entry for service class 0x5555 that the phones also inquire when
>>connecting, now I'd like to see what is registered there...
> 
> 
> read the manpage or use "sdptool -h" ;)
> 
> 	sdptool search --bdaddr <bdaddr> --tree 0x5555
> 
> Must be something vendor specific. Please show us the output.
> 

tried that already, but with no luck. From hcidump, I see that this is a 128bit
uuid - how can I specify this as an argument??
Cheers
Simon


> Regards
> 
> Marcel
> 


-- 
_______________________________________________________________________
Dr. Simon Vogl
Institut für Pervasive Computing, Johannes Kepler Universität Linz
Altenberger Straße 69, A-4040 Linz, Austria

Tel: +43 732 2468-8517, Fax: +43 732 2468-8426
mailto: vogl@soft.uni-linz.ac.at,  http://www.soft.uni-linz.ac.at/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
  2004-02-24 12:36   ` Simon Vogl
@ 2004-02-24 12:39     ` Marcel Holtmann
  0 siblings, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2004-02-24 12:39 UTC (permalink / raw)
  To: Simon Vogl; +Cc: BlueZ Mailing List

Hi Simon,

> tried that already, but with no luck. From hcidump, I see that this is a 128bit
> uuid - how can I specify this as an argument??

I think sdptool isn't capable of it. Write your own code or use sdptest
from libs2/test CVS repository.

	sdptest records <bdaddr>

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
  2004-02-24 12:36     ` Marcel Holtmann
@ 2004-02-24 12:42       ` Collin R. Mulliner
  2004-02-24 12:52         ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Collin R. Mulliner @ 2004-02-24 12:42 UTC (permalink / raw)
  To: bluez-devel

Hi Marcel,

the Nokia 6310 has a serial port running on RFCOMM 17 and/or 18 which
allows you to connect and fire AT commands, without having a pairing.

See:
http://www.betaversion.net/btdsd/db/Nokia6310i.txt
http://www.saftware.de/bluetooth/btxml.c


... Collin

-- 
Collin R. Mulliner <collin@betaversion.net>
BATAVERSiON Systems [www.betaversion.net]
info/pgp: finger collin@betaversion.net
Code written before 10:00 pm will be replaced by code written after
2:00am


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
  2004-02-24 12:42       ` Collin R. Mulliner
@ 2004-02-24 12:52         ` Marcel Holtmann
       [not found]           ` <20040224142400.212a912f@coredump>
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Holtmann @ 2004-02-24 12:52 UTC (permalink / raw)
  To: Collin R. Mulliner; +Cc: BlueZ Mailing List

Hi Collin,

> the Nokia 6310 has a serial port running on RFCOMM 17 and/or 18 which
> allows you to connect and fire AT commands, without having a pairing.

are you sure? Using attest with my Nokia 6310 on channel 17 or 18, I get
a connection refused message.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
       [not found]           ` <20040224142400.212a912f@coredump>
@ 2004-02-24 13:33             ` Marcel Holtmann
       [not found]               ` <20040224144209.3b34125d@coredump>
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Holtmann @ 2004-02-24 13:33 UTC (permalink / raw)
  To: Collin R. Mulliner; +Cc: BlueZ Mailing List

Hi Collin,

> yes I'm sure - a friend of me test this very well (he wrote btxml.c).
> There for I thought 0x5555 would be the "key" to these two channels.

then there is a difference between 6310 and 6310i, because the Nokia
6310 have no service on RFCOMM channel 17 and 18. Phonebook reading
without pairing goes through OBEX.

The btxml.c is much too complex for this and there is no need to go
through a TTY device for it. I can be done directly through a socket.
Maybe he should look at attest.c for an example.

I need the output of "sdptest records <bdaddr-6310i>" to see if this
model has more hidden SDP records.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] browsing non-public services?
       [not found]               ` <20040224144209.3b34125d@coredump>
@ 2004-02-24 13:44                 ` Marcel Holtmann
  0 siblings, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2004-02-24 13:44 UTC (permalink / raw)
  To: Collin R. Mulliner; +Cc: BlueZ Mailing List

Hi Collin,

> > I need the output of "sdptest records <bdaddr-6310i>" to see if this
> > model has more hidden SDP records.
> 
> sdptest, where is it? in the CVS?

you can found it under libs2/test/sdptest.c in CVS.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-02-24 13:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-24  8:50 [Bluez-devel] browsing non-public services? Simon Vogl
2004-02-24 12:07 ` Marcel Holtmann
2004-02-24 12:25   ` Collin R. Mulliner
2004-02-24 12:36     ` Marcel Holtmann
2004-02-24 12:42       ` Collin R. Mulliner
2004-02-24 12:52         ` Marcel Holtmann
     [not found]           ` <20040224142400.212a912f@coredump>
2004-02-24 13:33             ` Marcel Holtmann
     [not found]               ` <20040224144209.3b34125d@coredump>
2004-02-24 13:44                 ` Marcel Holtmann
2004-02-24 12:36   ` Simon Vogl
2004-02-24 12:39     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox