* [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
* [Bluez-devel] rssi on inquiry
2005-04-27 1:59 [Bluez-devel] Re: Adding services in the Service Class ID list Arch Sayo
@ 2005-04-27 6:50 ` michael
2005-04-27 10:34 ` [Bluez-devel] Re: Adding services in the Service Class ID list Marcel Holtmann
1 sibling, 0 replies; 3+ messages in thread
From: michael @ 2005-04-27 6:50 UTC (permalink / raw)
To: bluez-devel
Hi,
I'm trying to read the rssi without a connection in order to determine
rough proximity. I'm sure it has been convered before, but I am unable
to find any code snippets (or example applications) that do this. I have
searched through the archives of this list and only found things which
mention this code snippet.
Could someone please point me in the right direction..?
Thank you!
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] Re: Adding services in the Service Class ID list
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 ` Marcel Holtmann
1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2005-04-27 10:34 UTC (permalink / raw)
To: bluez-devel
Hi Arch,
> 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?
looks good so far. Send the whole code so that I can test it on my
systems. Do you use the latest library and utils?
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.