Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] Re: Adding services in the Service Class ID list
@ 2005-04-27  1:59 Arch Sayo
  2005-04-27  6:50 ` [Bluez-devel] rssi on inquiry michael
  2005-04-27 10:34 ` [Bluez-devel] Re: Adding services in the Service Class ID list Marcel Holtmann
  0 siblings, 2 replies; 3+ messages in thread
From: Arch Sayo @ 2005-04-27  1:59 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]

Hi Marcel,

Thanks for the immediate response.
I appreciate your looking into the concern/issue
that I have.

Here is the part of code where I add the services
in the Service Class ID list.


==========================================
sdp_uuid16_create(&headsetaudiogateway_uuid,
HEADSET_AGW_SVCLASS_ID);
svclass_id[0] = sdp_list_append(0,
&headsetaudiogateway_uuid);
scseq = sdp_list_append(0, svclass_id[0]);
   
sdp_uuid16_create(&genericaudio_uuid,
GENERIC_AUDIO_SVCLASS_ID);
svclass_id[1] = sdp_list_append(0,
&genericaudio_uuid);
scseq = sdp_list_append(scseq, svclass_id[1]);
   
servclasses = sdp_list_append(0, scseq);
sdp_set_service_classes(&record, servclasses);
===========================================

is this the right way of adding the services in
the service class id list?

thanks for your valuable input.

Arch


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[-- Attachment #2: file.txt --]
[-- Type: text/plain, Size: 610 bytes --]

Hi Arch,

> I have been trying to add services in the Service Class ID list like
> as shown below:
>  
> Attribute Identifier : 0x1 - ServiceClassIDList
>   Data Sequence
>     UUID16 : 0x1112 - HeadsetAudioGateway
>     UUID16 : 0x1203 - GenericAudio
>  
> It seemed that the 2 services have been added successfully.
> However, when I use sdptool to browse for the services, only the last
> service is the one reflected in the service and not both.
>  
> Please advice as on how I can successfully add the 2 services in the
> service class ID list.

show us the source code you are using.

Regards

Marcel




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

end of thread, other threads:[~2005-04-27 10:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27  1:59 [Bluez-devel] Re: Adding services in the Service Class ID list Arch Sayo
2005-04-27  6:50 ` [Bluez-devel] rssi on inquiry michael
2005-04-27 10:34 ` [Bluez-devel] Re: Adding services in the Service Class ID list Marcel Holtmann

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