linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Adding Additional Protocol Descriptor List
@ 2005-12-13  9:24 Arch Sayo
  2005-12-13 11:00 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Arch Sayo @ 2005-12-13  9:24 UTC (permalink / raw)
  To: bluez-users

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

Hi Marcel,
   
  Thank you with that information on adding the 1284ID attribute.
   
  Now, I am trying to add the Additional Protocol Descriptor List to my sdp record. The Additional Protocol Descriptor List is almost similar to the Protocol Descriptor List. The only difference is that while the Protocol Descriptor List is a sequence of a sequence of data (2 levels),  the Additional Protocol Descriptor List is a sequence of a sequence of a sequence of data (3 levels) .I tried doing this using the function sdp_set_access_protos() and just substituting the Attribute ID in the function from SDP_ATTR_PROTO_DESC_LIST to SDP_ATTR_ADD_PROTO_DESC_LIST. However, as you may already know, this will not solve it since the Protocol Descriptor List is only a sequence of a sequence.
   
  In this regard, I would like to ask how I will be able to add a sequence of a sequence of a sequence of data to my sdp record. Or in other words, how will I add the Additional Protocol Descriptor List to my sdp record.
   
  Thank you for your time and effort.
   
  Sincerely,
  Arch Sayo

			
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

[-- Attachment #2: Type: text/html, Size: 1517 bytes --]

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

* Re: [Bluez-users] Adding Additional Protocol Descriptor List
  2005-12-13  9:24 [Bluez-users] Adding Additional Protocol Descriptor List Arch Sayo
@ 2005-12-13 11:00 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-12-13 11:00 UTC (permalink / raw)
  To: bluez-users

Hi Arch,

> Thank you with that information on adding the 1284ID attribute.

you are welcome. I assume it is working perfect now.
 
> Now, I am trying to add the Additional Protocol Descriptor List to my
> sdp record. The Additional Protocol Descriptor List is almost similar
> to the Protocol Descriptor List. The only difference is that while the
> Protocol Descriptor List is a sequence of a sequence of data (2
> levels),  the Additional Protocol Descriptor List is a sequence of a
> sequence of a sequence of data (3 levels) .I tried doing this using
> the function sdp_set_access_protos() and just substituting the
> Attribute ID in the function from SDP_ATTR_PROTO_DESC_LIST to
> SDP_ATTR_ADD_PROTO_DESC_LIST. However, as you may already know, this
> will not solve it since the Protocol Descriptor List is only a
> sequence of a sequence.
>  
> In this regard, I would like to ask how I will be able to add a
> sequence of a sequence of a sequence of data to my sdp record. Or in
> other words, how will I add the Additional Protocol Descriptor List to
> my sdp record.

And again Collin already ran into the same problem, because you also
need them for HID. So I think we need a sdp_set_add_access_protos()
function for this job. Feel free to send me a patch.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-12-13 11:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13  9:24 [Bluez-users] Adding Additional Protocol Descriptor List Arch Sayo
2005-12-13 11:00 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).