Linux bluetooth development
 help / color / mirror / Atom feed
From: Arch Sayo <a12chi@yahoo.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Re: Adding services in the Service Class ID list
Date: Tue, 26 Apr 2005 18:59:39 -0700 (PDT)	[thread overview]
Message-ID: <20050427015939.86545.qmail@web20921.mail.yahoo.com> (raw)

[-- 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




             reply	other threads:[~2005-04-27  1:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27  1:59 Arch Sayo [this message]
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

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=20050427015939.86545.qmail@web20921.mail.yahoo.com \
    --to=a12chi@yahoo.com \
    --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