logo       

RE: bluetooth services and profiles: msg#00087

linux.bluez.devel

Subject: RE: bluetooth services and profiles

Thanks for the explanation on profiles. It helps quite a bit.

Do you know how we can supply those phone services with bluez?

For example, the web page http://mobile.linux.pt/p800/ listed the
following services for P800:

earth:~# sdptool browse 00:0A:D9:17:7F:51
Browsing 00:0A:D9:17:7F:51 ...
Service Name: Voice gateway
Service Description: Voice gateway
Service Provider: Sony Ericsson
Service RecHandle: 0x10000
Service Class ID List:
"Headset Audio Gateway" (0x1112)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 8
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Headset" (0x1108)
Version: 0x0100

Service Name: Dial-up Networking
Service Description: Dial-up Networking
Service Provider: Sony Ericsson
Service RecHandle: 0x10002
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100

Service Name: OBEX Object Push
Service RecHandle: 0x10003
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX Object Push" (0x1105)
Version: 0x0100

Service Name: Bluetooth Serial Port
Service Description: Bluetooth Serial Port
Service Provider: Symbian Ltd.
Service RecHandle: 0x10005
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100


Which part of bluetooth spec covers such service discovery? Can I
implement similar services on top of bluez stack? (Imagine the scenario
if I put Linux/bluez into a phone ...)

Any pointers are appreciated. Thanks in advance.

Jun




> -----Original Message-----
> From: Marcel Holtmann [mailto:marcel@xxxxxxxxxxxx]
> Sent: Tuesday, October 26, 2004 2:37 PM
> To: Jun Sun
> Cc: BlueZ Mailing List
> Subject: Re: [Bluez-devel] bluetooth services and profiles
>
> Hi Jun,
>
> > I saw a lot of web pages about setting up a linux box talking with a
> > Bluetooth phone. Typically you would discover a lot of services
offered
> > by the phone.
> >
> > I am wondering what happens if you hook linux box with a second
linux
> > box. In other words what kind of services will you find on the
Linux
> > box? What has to be done to support those similar services on
bluez?
> >
> > Are they related to the Bluetooth profiles? I have not seen much
about
> > Bluetooth profile support in bluez. Do they exist?
>
> a Bluetooth profile is like an application. If you wanna have support
> for a specific profile in BlueZ, you need to write that application.
> However for most common Bluetooth profiles these applications exists
and
> you only have to start them.
>
> If you think that you always need to follow a specific profile for
data
> exchange between two Bluetooth devices, then you are wrong. BlueZ
gives
> you the power to do everything you like with Bluetooth.
>
> > The reason I am asking this is because there are now phones powered
by
> > Linux. I think they support Bluetooth but I don't know if they are
> > using bluez. I like to get an understanding on how to provide those
> > Bluetooth phone services on Linux with bluez.
>
> I don't know either. Maybe yes, maybe no. But as mentioned above a
> profile is the same as an application.
>
> Regards
>
> Marcel
>
>




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise